mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
Reported by: Kevin Miller <mas@0x194.net>
Reviewed by: olce, imp, kib, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D47879
(cherry picked from commit 205659c43d87bd42c4a0819fde8f81e8ebba068e)
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| cd9660_bmap.c | ||
| cd9660_iconv.c | ||
| cd9660_lookup.c | ||
| cd9660_mount.h | ||
| cd9660_node.c | ||
| cd9660_node.h | ||
| cd9660_rrip.c | ||
| cd9660_rrip.h | ||
| cd9660_util.c | ||
| cd9660_vfsops.c | ||
| cd9660_vnops.c | ||
| iso.h | ||
| iso_rrip.h | ||
| TODO | ||
| TODO.hibler | ||