opnsense-src/sys/fs
Jessica Clarke 3cded05922 tmpfs: Fix OOB write when setting vfs.tmpfs.memory_percent
tmpfs_mem_percent is an int not a long, so on a 64-bit system this
writes 4 bytes past the end of the variable. The read above is correct,
so this was likely a copy paste error from sysctl_mem_reserved.

Found by:	CHERI
Fixes:		636592343c ("tmpfs: increase memory reserve to a percent of available memory + swap")
2024-08-15 20:33:22 +01:00
..
autofs Reduce reliance on sys/sysproto.h pollution 2024-04-15 21:35:40 +01:00
cd9660 cd9660: Add support for mask,dirmask,uid,gid options 2024-01-12 14:51:31 -08:00
cuse sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
deadfs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
devfs devfs_allocv(): style 2024-05-12 04:13:00 +03:00
ext2fs ext4_ext_tree_init: correct memset initialization 2024-06-25 10:41:11 -07:00
fdescfs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fifofs sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fuse fusefs: fix two bugs regarding _PC_MIN_HOLE_SIZE 2024-06-24 10:02:02 -06:00
mntfs sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msdosfs msdosfs: fix cluster limit when mounting FAT-16 file systems 2024-08-09 19:26:27 +02:00
nfs nfsd: Fix nfsrv_cleanclient so that it can be called with a mutex 2024-06-21 15:08:48 -07:00
nfsclient nfscl: Scan readdir reply filenames for invalid characters 2024-07-21 15:56:16 -07:00
nfsserver nfsd: Make modifying vfs.nfsd.enable_locallocks safe 2024-06-23 15:47:22 -07:00
nullfs nullfs: Use an a_gen field to cast to vop_generic_args 2024-07-26 11:14:32 +00:00
p9fs p9fs: remove duplicated code 2024-07-12 21:40:09 -06:00
procfs proc: Remove kernel stack swapping support, part 6 2024-07-29 01:43:18 +00:00
pseudofs pseudofs: fix off by one in hash iteration in pfs_purge 2023-11-20 05:57:25 +00:00
smbfs Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
tarfs tarfs(5): Grammar fix for a source code comment 2024-04-20 11:21:54 +02:00
tmpfs tmpfs: Fix OOB write when setting vfs.tmpfs.memory_percent 2024-08-15 20:33:22 +01:00
udf udf: uma_zcreate() does not fail 2024-04-24 08:45:59 -04:00
unionfs unionfs: fix LINT build 2024-07-12 22:41:17 -05:00