freebsd-skq/sys/fs
Konstantin Belousov 877d24ac8a Fix the mis-handling of the VV_TEXT on the nullfs vnodes.
If you have a binary on a filesystem which is also mounted over by
nullfs, you could execute the binary from the lower filesystem, or
from the nullfs mount. When executed from lower filesystem, the lower
vnode gets VV_TEXT flag set, and the file cannot be modified while the
binary is active. But, if executed as the nullfs alias, only the
nullfs vnode gets VV_TEXT set, and you still can open the lower vnode
for write.

Add a set of VOPs for the VV_TEXT query, set and clear operations,
which are correctly bypassed to lower vnode.

Tested by:	pho (previous version)
MFC after:	2 weeks
2012-09-28 11:25:02 +00:00
..
cd9660
coda Fix the mis-handling of the VV_TEXT on the nullfs vnodes. 2012-09-28 11:25:02 +00:00
deadfs The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, 2012-09-13 13:05:45 +00:00
devfs Prefer __containerof() above member2struct(). 2012-09-15 19:28:54 +00:00
ext2fs Fix up kernel sources to be ready for a 64-bit ino_t. 2012-09-27 23:30:49 +00:00
fdescfs
fifofs
hpfs Fix up kernel sources to be ready for a 64-bit ino_t. 2012-09-27 23:30:49 +00:00
msdosfs
nandfs Prevent nump NULL pointer dereference in bmap_getlbns() 2012-09-11 09:38:32 +00:00
nfs Modify the NFSv4 client so that it can handle owner 2012-09-20 02:49:25 +00:00
nfsclient Modify the NFSv4 client so that it can handle owner 2012-09-20 02:49:25 +00:00
nfsserver Fix the mis-handling of the VV_TEXT on the nullfs vnodes. 2012-09-28 11:25:02 +00:00
ntfs Fix up kernel sources to be ready for a 64-bit ino_t. 2012-09-27 23:30:49 +00:00
nullfs Allow shared lookups for nullfs mounts, if lower filesystem supports 2012-09-09 19:20:23 +00:00
nwfs
portalfs
procfs
pseudofs
smbfs
tmpfs Fix up kernel sources to be ready for a 64-bit ino_t. 2012-09-27 23:30:49 +00:00
udf
unionfs