Date: Mon, 4 Sep 2006 10:26:17 +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: <200609041026.k84AQHoK055820@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609041026.k84AQHoK055820>
