freebsd-nq/sys/fs
Jason A. Harmening 9e891d43f5 unionfs: implement VOP_SET_TEXT/VOP_UNSET_TEXT
The implementation simply passes the text ref to the appropriate
underlying vnode.  Without this, the default [un]set_text
implementation will only manage the text ref on the unionfs vnode,
causing it to be out of sync with the underlying filesystems and
potentially allowing corruption of executable file contents.
On INVARIANTS kernels, it also readily produces a panic on process
termination because the VM object representing the executable mapping
is backed by the underlying vnode, not the unionfs vnode.

PR:	251342
Reviewed by:	kib
Differential Revision: https://reviews.freebsd.org/D33611
2022-01-02 19:52:58 -08:00
..
autofs vfs: remove cn_thread 2021-10-11 13:21:47 +00:00
cd9660 Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
cuse
deadfs
devfs vfs: add vop_stdadd_writecount_nomsync 2021-11-26 12:06:08 +00:00
ext2fs Improve extents verification logic 2021-12-30 09:14:45 +03:00
fdescfs fdescfs: plug a set-but-not-unused var 2021-11-24 21:25:24 +00:00
fifofs fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
fuse fusefs: implement VOP_ALLOCATE 2021-12-31 21:05:28 -07:00
mntfs mntfs: lock mntfs pseudo devfs vnode properly 2021-11-13 01:00:41 +02:00
msdosfs mountmsdosfs(): some style 2022-01-02 22:25:07 +02:00
nfs nfscommon: Return NFSERR_ATTRNOTSUPP for AUDIT/ALARM ACEs 2021-12-27 08:03:41 -08:00
nfsclient nfscommon: Add arguments for support of the dacl attribute 2021-12-26 16:43:46 -08:00
nfsserver nfscommon: Add arguments for support of the dacl attribute 2021-12-26 16:43:46 -08:00
nullfs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
procfs procfs_doprocfile(): simplify 2021-11-04 06:13:47 +02:00
pseudofs pseudofs: Destroy vncache hashtbl on pseudofs module unload. 2021-12-09 21:41:08 +00:00
smbfs Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
tmpfs Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
udf Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
unionfs unionfs: implement VOP_SET_TEXT/VOP_UNSET_TEXT 2022-01-02 19:52:58 -08:00