freebsd-dev/lib/libc/powerpc
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 Fix some ifdef logic in the libc syncicache() bit that I somehow missed in the 2008-09-24 01:06:11 +00:00
softfloat Add support files for compiling with soft-float. This has been 2008-04-27 18:34:34 +00:00
sys Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
_fpmath.h Define LDBL_NBIT to be a mask indicating the position of the integer 2005-03-07 04:55:22 +00:00
arith.h Add a comment describing why it's important for the values in this 2003-05-08 13:50:44 +00:00
gd_qnan.h The distinction between quiet and signaling NaN formats is 2007-01-03 05:00:03 +00:00
Makefile.inc Add each directory's symbol map file to SYM_MAPS. 2006-03-13 01:15:01 +00:00
Symbol.map Fix build from errors exposed with recent version_gen.awk commit. 2007-10-18 07:23:31 +00:00
SYS.h