freebsd-skq/lib/libc/amd64/sys
ed 9d3703b842 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
..
amd64_get_fsbase.c
amd64_get_gsbase.c
amd64_set_fsbase.c
amd64_set_gsbase.c
brk.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
cerror.S
exect.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
getcontext.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
Makefile.inc Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
pipe.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
ptrace.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
reboot.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
sbrk.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
setlogin.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00
sigreturn.S
vfork.S We've been lax about matching END() macros in asm code for some time. This 2008-11-02 01:10:54 +00:00