Date: Sat, 16 Jun 2007 23:41:43 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_descrip.c kern_fork.c kern_priv.c src/sys/sys priv.h Message-ID: <200706162341.l5GNfhdf038919@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2007-06-16 23:41:43 UTC FreeBSD src repository Modified files: sys/kern kern_descrip.c kern_fork.c kern_priv.c sys/sys priv.h Log: Rather than passing SUSER_RUID into priv_check_cred() to specify when a privilege is checked against the real uid rather than the effective uid, instead decide which uid to use in priv_check_cred() based on the privilege passed in. We use the real uid for PRIV_MAXFILES, PRIV_MAXPROC, and PRIV_PROC_LIMIT. Remove the definition of SUSER_RUID; there are now no flags defined for priv_check_cred(). Obtained from: TrustedBSD Project Revision Changes Path 1.311 +1 -1 src/sys/kern/kern_descrip.c 1.280 +3 -4 src/sys/kern/kern_fork.c 1.3 +18 -7 src/sys/kern/kern_priv.c 1.14 +4 -10 src/sys/sys/priv.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706162341.l5GNfhdf038919>