freebsd-nq/sys/compat/freebsd32
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
..
freebsd32_ioctl.c Add freebsd32 compat shims for ioctl(2) 2008-09-22 16:24:36 +00:00
freebsd32_ioctl.h Add freebsd32 compat shims for ioctl(2) 2008-09-22 16:24:36 +00:00
freebsd32_ipc.h Add freebsd32 compat wrappers for msgctl() and _semctl() using 2007-12-06 23:35:29 +00:00
freebsd32_misc.c Split the copyout of *base at the end of getdirentries() out leaving the 2008-10-22 21:55:48 +00:00
freebsd32_proto.h Regen. 2008-11-03 10:39:35 +00:00
freebsd32_signal.h Oops, add the missing file. 2006-10-05 01:58:08 +00:00
freebsd32_syscall.h Regen. 2008-11-03 10:39:35 +00:00
freebsd32_syscalls.c Regen. 2008-11-03 10:39:35 +00:00
freebsd32_sysent.c Regen. 2008-11-03 10:39:35 +00:00
freebsd32_util.h Add support for installing 32-bit system calls from kernel modules. This 2008-09-25 20:50:21 +00:00
freebsd32.h Move several data structure definitions out of freebsd32_misc.c and into 2007-12-06 23:11:27 +00:00
Makefile Add a 'clean' target. 2005-10-23 23:58:23 +00:00
syscalls.conf - Remove unused sysvec variables from various syscalls.conf. 2006-08-15 17:25:55 +00:00
syscalls.master Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00