freebsd-nq/sys/fs
Konstantin Belousov a257337698 Fix the race of dereferencing /proc/<pid>/file with execve(2) by caching
the value of p_textvp. This way, we always unlock the locked vnode.
While there, vhold() the vnode around the vn_lock().

Reported and tested by:	Guy Helmer (ghelmer palisadesys com)
Approved by:		des (procfs maintainer)
MFC after:		1 week
2007-02-07 10:30:49 +00:00
..
cd9660 The ISO9660 spec does allow files up to 4G. Change the i_size 2006-12-08 07:43:53 +00:00
coda coda_vptofh is never defined nor used. 2007-02-02 15:47:28 +00:00
deadfs Below is slightly edited description of the LOR by Tor Egge: 2007-01-22 11:25:22 +00:00
devfs Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
fdescfs Restore the ability to mount procfs and fdescfs filesystems via the 2006-05-15 19:42:10 +00:00
fifofs Add a_fdidx to comment prototype for fifo_open(). 2006-03-15 10:15:35 +00:00
hpfs Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
msdosfs Eliminate some dead code which was introduced in 1.23, yet was always 2007-02-06 03:30:58 +00:00
ntfs Fix an integer overflow and allow access to files larger than 4GB on 2006-11-20 19:28:36 +00:00
nullfs change vop_lock handling to allowing tracking of callers' file and line for 2006-11-13 05:51:22 +00:00
nwfs Drop crummy fattime to timespec conversion routines. 2006-10-24 11:43:41 +00:00
portalfs Use mount interlock to protect all changes to mnt_flag and mnt_kern_flag. 2006-09-26 04:12:49 +00:00
procfs Fix the race of dereferencing /proc/<pid>/file with execve(2) by caching 2007-02-07 10:30:49 +00:00
pseudofs Use the vnode interlock to close a race where pfs_vncache_alloc() could 2007-01-02 17:27:52 +00:00
smbfs Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
udf Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode. 2007-01-15 18:45:36 +00:00
umapfs Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00
unionfs Simplify code in union_hashins() and union_hashget() functions. These 2007-01-05 14:06:42 +00:00