cvs commit: src/sys/kern kern_fork.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Jun 27 11:29:01 UTC 2006
pjd 2006-06-27 11:28:50 UTC
FreeBSD src repository
Modified files:
sys/kern kern_fork.c
Log:
- Use suser_cred(9) instead of checking cr_ruid directly.
- For privileged processes safe two mutex operations.
We may want to consider if this is good idea to use SUSER_ALLOWJAIL here,
but for now I didn't wanted to change the original behaviour.
Reviewed by: rwatson
Revision Changes Path
1.259 +10 -7 src/sys/kern/kern_fork.c
More information about the cvs-src
mailing list