opnsense-src/sys/fs
Rick Macklem e4ac2362cc tarfs: Fix the size of struct tarfs_fid and add a static assert
File system specific *fid structures are copied into the generic
struct fid defined in sys/mount.h.
As such, they cannot be larger than struct fid.

This patch packs the structure and checks via a __Static_assert().

Approved by:	so
Security:	FreeBSD-SA-25:02.fs
Reviewed by:	markj
MFC after:	2 weeks

(cherry picked from commit 4db1b113b15158c7d134df83e7a7201cf46d459b)
(cherry picked from commit 155987e201)
2025-01-30 07:25:25 +01:00
..
autofs sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
cd9660 cd9660: Make sure that struct ifid fits in generic filehandle structure 2025-01-30 07:25:22 +01:00
cuse kern: Make fileops and filterops tables const where possible 2024-12-16 16:15:42 +01:00
deadfs sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
devfs kern: Make fileops and filterops tables const where possible 2024-12-16 16:15:42 +01:00
ext2fs ext2fs: Fix the size of struct ufid and add a static assert 2025-01-30 07:25:24 +01:00
fdescfs Fix MNT_IGNORE for devfs, fdescfs and nullfs 2024-04-22 15:48:15 +02:00
fifofs sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
fuse kern: Make fileops and filterops tables const where possible 2024-12-16 16:15:42 +01:00
mntfs sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
msdosfs msdosfs: return ENOENT if looking up invalid name for OPEN or DELETE 2024-09-01 03:53:36 +03:00
nfs nfscl: fix uninitialized memory in nfsv4_loadattr 2024-10-10 13:08:12 -06:00
nfsclient nfs: trivial typo fix 2024-10-29 16:33:33 -04:00
nfsserver nfsd: Fix handling of credentials with cr_ngroups == 0 2024-10-23 18:06:26 -07:00
nullfs nullfs: Show correct exported flag. 2024-04-22 15:48:15 +02:00
p9fs p9fs: Use UNLINKAT instead of REMOVE to implement removals 2025-01-10 10:30:34 +01:00
procfs procfs: ensure that RLIMIT_IDENT is properly updated when a limit is added 2024-10-05 10:08:53 +03:00
pseudofs pseudofs: fix off by one in hash iteration in pfs_purge 2023-11-24 17:22:15 +00:00
smbfs Add vnode_pager_clean_{a,}sync(9) 2024-01-18 02:51:33 +02:00
tarfs tarfs: Fix the size of struct tarfs_fid and add a static assert 2025-01-30 07:25:25 +01:00
tmpfs tmpfs: allow recurse as that does happen when using unionfs 2024-12-11 11:10:50 +01:00
udf udf: Stop checking for failures from malloc(M_WAITOK) 2024-09-30 12:44:15 +08:00
unionfs unionfs_lookup(): fix wild accesses to vnode private data 2024-04-27 12:42:36 -05:00