pjd 2006-09-04 10:26:17 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/kern kern_fork.c
Log:
MFC: sys/kern/kern_fork.c 1.259
- 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.252.2.4 +10 -7 src/sys/kern/kern_fork.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"