HardenedBSD/sys/fs
John Baldwin 314cb27995 mbuf: Don't force all M_EXTPG mbufs to be read-only
Some M_EXTPG mbufs are read-only (e.g. those backing sendfile
requests), but others are not.  Add a flags argument to
mb_alloc_ext_pgs that can be used to set M_RDONLY when needed rather
than setting it unconditionally.  Update mb_unmapped_to_ext to
preserve M_RDONLY from the unmapped mbuf.

Reviewed by:	gallatin
Differential Revision:	https://reviews.freebsd.org/D46783
2024-10-31 16:32:31 -04:00
..
autofs
cd9660
cuse
deadfs
devfs
ext2fs
fdescfs
fifofs
fuse
mntfs
msdosfs
nfs nfscl: fix uninitialized memory in nfsv4_loadattr 2024-09-08 17:28:33 -06:00
nfsclient mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
nfsserver nfsd: Fix handling of credentials with cr_ngroups == 0 2024-10-21 15:48:39 -07:00
nullfs
p9fs p9fs: Fix whitespace in request tag handling functions 2024-10-25 17:50:37 +00:00
procfs procfs: ensure that RLIMIT_IDENT is properly updated when a limit is added 2024-09-21 00:08:51 +03:00
pseudofs
smbfs
tarfs
tmpfs tmpfs_vnops: move swap work to swap_pager 2024-10-24 14:24:49 -05:00
udf
unionfs vfs: Add IGNOREWHITEOUT flag and adopt it in UFS/unionfs 2024-09-08 18:34:14 -05:00