freebsd-nq/sys/i386
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
..
acpica Remove unit2minor() use from kernel code. 2008-09-26 14:19:52 +00:00
bios Replace all calls to minor() with dev2unit(). 2008-09-27 08:51:18 +00:00
compile
conf Move the CAM passthrough code into a true module so that it doesn't have to be 2008-11-03 00:53:54 +00:00
cpufreq Do not use PowerNow! if FID or VID is missing. 2008-10-21 00:52:20 +00:00
i386 MFp4: 2008-11-02 18:48:54 +00:00
ibcs2 Change the static struct sysentvec and struct Elf_Brandinfo initializers 2008-09-24 10:14:37 +00:00
include Fix general issues with IPI support 2008-10-24 07:58:38 +00:00
isa style(9) nit: remove unnecessary {} pair. 2008-10-28 04:32:41 +00:00
linux Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
pci Add a 'hw.pci.mcfg' tunable. It can be set to 0 to disable memory-mapped 2008-09-11 21:42:11 +00:00
svr4 Since version 4.3, gcc changed its behaviour concerning the i386/amd64 2008-03-13 10:54:38 +00:00
xbox In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
xen only call hardclock on cpu0 2008-10-25 20:42:10 +00:00
Makefile Update entries for building tags. 2007-05-13 18:21:54 +00:00