freebsd-dev/sys/ufs/ffs
Kirk McKusick dcdba3460d Updates to UFS/FFS superblock integrity checks when reading a superblock.
Further updates based on ways Peter Holm found to corrupt UFS
superblocks in ways that could cause kernel hangs or crashes.

No legitimate superblocks should fail as a result of these changes.

Reported by:  Peter Holm
Tested by:    Peter Holm
Sponsored by: The FreeBSD Foundation
2022-10-03 05:53:10 -07:00
..
ffs_alloc.c Explicitly initialize rather than reading newly allocated UFS inodes. 2022-08-13 13:51:25 -07:00
ffs_balloc.c ffs: lock buffers after snaplk with LK_NOWITNESS 2022-02-01 06:54:50 +02:00
ffs_extern.h Explicitly initialize rather than reading newly allocated UFS inodes. 2022-08-13 13:51:25 -07:00
ffs_inode.c Another fix to build from 064e6b4. 2022-07-13 21:05:05 -07:00
ffs_rawread.c vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
ffs_snapshot.c Fix an incorrectly placed parenthesis. 2022-09-29 01:45:41 -07:00
ffs_softdep.c AST: rework 2022-08-02 21:11:09 +03:00
ffs_subr.c Updates to UFS/FFS superblock integrity checks when reading a superblock. 2022-10-03 05:53:10 -07:00
ffs_suspend.c ffs: remove unused thread argument from ffs_reload() 2021-09-04 12:25:10 -08:00
ffs_tables.c
ffs_vfsops.c When taking a snapshot on a UFS/FFS filesystem, it must be mounted. 2022-09-27 08:58:10 -07:00
ffs_vnops.c FFS: truncate write if it would exceed the fs max file size or RLIMIT_FSIZE 2022-09-24 19:41:57 +03:00
fs.h Move the ability to search for alternate UFS superblocks from fsck_ffs(8) 2022-08-13 12:43:40 -07:00
softdep.h Clean up orphaned indirdep dependency structures after disk failure. 2021-07-29 16:31:16 -07:00