cvs commit: src/sys/kern kern_jail.c
Christian S.J. Peron
csjp at FreeBSD.org
Tue Sep 27 17:30:57 PDT 2005
csjp 2005-09-28 00:30:56 UTC
FreeBSD src repository
Modified files:
sys/kern kern_jail.c
Log:
Push Giant down in jails. Pass the MPSAFE flag to NDINIT, and keep track
of whether or not Giant was picked up by the filesystem. Add VFS_LOCK_GIANT
macros around vrele as it's possible that this can call in the VOP_INACTIVE
filesystem specific code. Also while we are here, remove the Giant assertion.
from the sysctl handler, we do not actually require Giant here so we
shouldn't assert it. Doing so will just complicate things when Giant is removed
from the sysctl framework.
Revision Changes Path
1.51 +15 -16 src/sys/kern/kern_jail.c
More information about the cvs-src
mailing list