freebsd-dev/sys/compat
Konstantin Belousov 1565bf54af Lock the vnode around the call to VOP_GETATTR. Move the locked code
and vn_fullpath (that call malloc(..., M_WAITOK)) from under the
vm object lock, since sleep is not allowed while holding the mutex.

Being there, wrap VOP_GETATTR call with conditional Giant aquire.
Currently this is (almost) noop because pseudofs is Giant-locked.

Tested by:	kris
Approved by:	pjd (mentor)
MFC after:	2 weeks
2006-08-08 12:29:26 +00:00
..
freebsd32 Regen for MPSAFE flag removal. 2006-07-28 19:08:37 +00:00
ia32 Remove kern.elf32.can_exec_dyn sysctl. Instead extend Brandinfo structure 2005-12-26 21:23:57 +00:00
linprocfs Lock the vnode around the call to VOP_GETATTR. Move the locked code 2006-08-08 12:29:26 +00:00
linsysfs Remove the dependency on procfs since it isn't used. 2006-05-11 15:27:58 +00:00
linux - Pass the MPSAFE flag to namei() in linux_uselib() and handle conditional 2006-07-21 20:22:13 +00:00
ndis Move conditional preprocessing out of the SYSCTL_ADD_STRING macro 2006-06-22 13:11:36 +00:00
netbsd Start each of the license/copyright comments with /*- 2005-01-05 22:34:37 +00:00
pecoff remove dead code 2005-02-22 01:26:48 +00:00
svr4 With socket code no longer in svr4_stream.c, MAC includes are no longer 2006-08-05 22:04:21 +00:00