freebsd-dev/sbin/fsck_ffs
Kirk McKusick 6a71277c30 Fix a bug in fsck_ffs(8) triggered by corrupted filesystems.
When loading the root directory ensure that it is a directory
and has a size greater than the minimum directory size. If an
invalid root directory is found, fall back to full fsck.

Reported-by:  Robert Morris
PR:           271414
MFC-after:    1 week
Sponsored-by: The FreeBSD Foundation
2023-05-29 14:58:20 -07:00
..
dir.c Cleanups to fsck_ffs(8). 2023-05-29 14:55:54 -07:00
ea.c spdx: The BSD-3-Clause-FreeBSD identifier never was, drop -FreeBSD 2023-05-12 10:44:04 -06:00
fsck_ffs.8 Correct the location of the first backup superblock in fsck_ffs.8. 2019-08-07 16:56:00 +00:00
fsck.h Fix a bug in fsck_ffs(8) triggered by corrupted filesystems. 2023-05-27 17:12:30 -07:00
fsutil.c Fix a bug in fsck_ffs(8) triggered by corrupted filesystems. 2023-05-27 17:12:30 -07:00
gjournal.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
globs.c Add the ability to adjust directory depths to background fsck_ffs(8). 2023-05-25 19:27:04 -07:00
inode.c Cleanups to fsck_ffs(8). 2023-05-29 14:55:54 -07:00
main.c When running fsck_ffs(8) in background ensure that a superblock has been read. 2023-05-25 18:59:16 -07:00
Makefile pkgbase: Put ufs related tools and lib in their own package 2022-10-26 19:46:34 +02:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
pass1.c Fix a bug in fsck_ffs(8) triggered by corrupted filesystems. 2023-05-27 17:12:30 -07:00
pass1b.c Flush and close getnextino cache when done using it in Pass 1b. 2022-09-03 14:15:50 -07:00
pass2.c Fix a bug in fsck_ffs(8) triggered by corrupted filesystems. 2023-05-27 16:07:09 -07:00
pass3.c Do not try to adjust a directory depth when its reconnection is declined. 2023-05-26 22:55:11 -07:00
pass4.c Rewrite the disk I/O management system in fsck_ffs(8). Other than 2021-01-07 15:03:15 -08:00
pass5.c Fix size differences between architectures of the UFS/FFS CGSIZE macro value. 2023-05-15 12:57:15 -07:00
setup.c When running fsck_ffs(8) in background ensure that a superblock has been read. 2023-05-25 18:59:16 -07:00
suj.c Fix a bug in fsck_ffs(8) triggered by corrupted filesystems. 2023-05-29 14:58:20 -07:00
utilities.c Remove unused includes. 2019-12-22 05:44:29 +00:00