Date: Tue, 27 Jun 2006 11:28:50 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_fork.c Message-ID: <200606271128.k5RBSoXS023858@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606271128.k5RBSoXS023858>
