Date: Sun, 9 Nov 2008 10:45:13 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/amd64/sys Makefile.inc src/lib/libc/arm/sys Makefile.inc src/lib/libc/i386/sys Makefile.inc src/lib/libc/ia64/sys Makefile.inc src/lib/libc/mips/sys Makefile.inc src/lib/libc/powerpc/sys Makefile.inc ... Message-ID: <200811091048.mA9Ami3v047457@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ed 2008-11-09 10:45:13 UTC FreeBSD src repository Modified files: lib/libc/amd64/sys Makefile.inc lib/libc/arm/sys Makefile.inc lib/libc/i386/sys Makefile.inc lib/libc/ia64/sys Makefile.inc lib/libc/mips/sys Makefile.inc lib/libc/powerpc/sys Makefile.inc lib/libc/sparc64/sys Makefile.inc sys/amd64/linux32 syscalls.master sys/compat/freebsd32 syscalls.master sys/compat/linux linux_misc.c sys/i386/linux syscalls.master sys/kern kern_xxx.c syscalls.master sys/sys priv.h Log: SVN rev 184789 on 2008-11-09 10:45:13Z by ed 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 Revision Changes Path 1.31 +1 -2 src/lib/libc/amd64/sys/Makefile.inc 1.4 +1 -2 src/lib/libc/arm/sys/Makefile.inc 1.33 +1 -2 src/lib/libc/i386/sys/Makefile.inc 1.10 +1 -2 src/lib/libc/ia64/sys/Makefile.inc 1.4 +2 -3 src/lib/libc/mips/sys/Makefile.inc 1.4 +1 -2 src/lib/libc/powerpc/sys/Makefile.inc 1.12 +1 -2 src/lib/libc/sparc64/sys/Makefile.inc 1.35 +1 -1 src/sys/amd64/linux32/syscalls.master 1.111 +3 -5 src/sys/compat/freebsd32/syscalls.master 1.230 +26 -2 src/sys/compat/linux/linux_misc.c 1.94 +1 -1 src/sys/i386/linux/syscalls.master 1.54 +28 -39 src/sys/kern/kern_xxx.c 1.249 +3 -3 src/sys/kern/syscalls.master 1.23 +0 -1 src/sys/sys/priv.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811091048.mA9Ami3v047457>