freebsd-skq/sys/amd64
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 In keeping with style(9)'s recommendations on macros, use a ';' 2008-03-16 10:58:09 +00:00
amd64 Revert r184136. Instead, push the check for crashdumpmap overflow into the 2008-10-31 10:11:35 +00:00
compile
conf - Add driver for Attansic L2 FastEthernet controller found on 2008-10-03 10:31:31 +00:00
ia32 - When executing FreeBSD/amd64 binaries from FreeBSD/i386 or Linux/i386 2008-09-02 17:52:11 +00:00
include Simplify AMD64_CPU_MODEL() and AMD64_CPU_FAMILY() macros as the base family 2008-10-22 17:36:52 +00:00
isa Now that all platforms use genclock, shuffle things around slightly 2008-04-22 19:38:30 +00:00
linux32 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
Makefile