PERFORCE change 107148 for review
Robert Watson
rwatson at FreeBSD.org
Tue Oct 3 01:29:56 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107148
Change 107148 by rwatson at rwatson_peppercorn on 2006/10/03 08:28:53
Make non-compiling and uncompilable code priv(9) compatible.
Affected files ...
.. //depot/projects/trustedbsd/priv6/src/sys/compat/svr4/svr4_stat.c#2 edit
Differences ...
==== //depot/projects/trustedbsd/priv6/src/sys/compat/svr4/svr4_stat.c#2 (text+ko) ====
@@ -470,14 +470,10 @@
break;
#if defined(WHY_DOES_AN_EMULATOR_WANT_TO_SET_HOSTNAMES)
case SVR4_SI_SET_HOSTNAME:
- if ((error = suser(td)) != 0)
- return error;
name = KERN_HOSTNAME;
return kern_sysctl(&name, 1, 0, 0, uap->buf, rlen, td);
case SVR4_SI_SET_SRPC_DOMAIN:
- if ((error = suser(td)) != 0)
- return error;
name = KERN_NISDOMAINNAME;
return kern_sysctl(&name, 1, 0, 0, uap->buf, rlen, td);
#else
More information about the trustedbsd-cvs
mailing list