cvs commit: src/sys/kern kern_descrip.c kern_fork.c kern_priv.c
src/sys/sys priv.h
Robert Watson
rwatson at FreeBSD.org
Sat Jun 16 23:41:44 UTC 2007
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
More information about the cvs-src
mailing list