cvs commit: src/sys/kern kern_exec.c
John Baldwin
jhb at FreeBSD.org
Wed Jun 13 19:41:48 UTC 2007
jhb 2007-06-13 19:41:48 UTC
FreeBSD src repository
Modified files:
sys/kern kern_exec.c
Log:
Conditionally acquire Giant when dropping a reference on the ktrace vnode
during execve() when turning off tracing due to executing a setuid binary
as non-root. Previously this could fail to acquire Giant and fail an
assertion if the ktrace file was on a non-MPSAFE filesystem and the
executable was on an MPSAFE filesystem.
MFC after: 3 days
Reported by: kris
Revision Changes Path
1.306 +6 -1 src/sys/kern/kern_exec.c
More information about the cvs-src
mailing list