Date: Tue, 3 Oct 2006 08:29:09 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 107148 for review Message-ID: <200610030829.k938T9TZ033175@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107148 Change 107148 by rwatson@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610030829.k938T9TZ033175>