freebsd-skq/lib/libc/i386/sys
Ed Schouten a1b5a8955e Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4.
Looking at our source code history, it seems the uname(),
getdomainname() and setdomainname() system calls got deprecated
somewhere after FreeBSD 1.1, but they have never been phased out
properly. Because we don't have a COMPAT_FREEBSD1, just use
COMPAT_FREEBSD4.

Also fix the Linuxolator to build without the setdomainname() routine by
just making it call userland_sysctl on kern.domainname. Also replace the
setdomainname()'s implementation to use this approach, because we're
duplicating code with sysctl_domainname().

I wasn't able to keep these three routines working in our
COMPAT_FREEBSD32, because that would require yet another keyword for
syscalls.master (COMPAT4+NOPROTO). Because this routine is probably
unused already, this won't be a problem in practice. If it turns out to
be a problem, we'll just restore this functionality.

Reviewed by:	rdivacky, kib
2008-11-09 10:45:13 +00:00
..
brk.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
cerror.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
exect.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
getcontext.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
i386_clr_watch.c
i386_get_fsbase.c
i386_get_gsbase.c
i386_get_ioperm.2
i386_get_ioperm.c
i386_get_ldt.2 Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
i386_get_ldt.c
i386_set_fsbase.c
i386_set_gsbase.c
i386_set_ioperm.c
i386_set_ldt.c
i386_set_watch.3 Markup fixes. 2006-09-17 21:27:35 +00:00
i386_set_watch.c
i386_vm86.2
i386_vm86.c
Makefile.inc Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
Ovfork.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
pipe.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
ptrace.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
reboot.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
sbrk.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
setlogin.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
sigreturn.S Per Regents of the University of Calfornia letter, remove advertising 2007-01-09 00:28:16 +00:00
syscall.S Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00