freebsd-skq/lib/libc/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
..
gen Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
stdlib Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
string Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00
sys Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
_fpmath.h Add an alternative view of the bits in an 80-bit long double (64+16 2008-01-17 16:39:07 +00:00
arith.h
gd_qnan.h Arrange so that the NaN returned by strtod("nan", NULL) is the same as 2007-12-16 21:15:09 +00:00
Makefile.inc In scanf, round according to the current rounding mode. 2007-12-03 07:17:33 +00:00
Symbol.map Since nan() is supposed to work the same as strtod("nan(...)", NULL), 2007-12-18 23:46:32 +00:00
SYS.h Add missing END() macros, as per rev 184547 for amd64. The lack of these 2008-11-02 01:28:47 +00:00