Page MenuHomeFreeBSD

Add more accurate directory entries check
ClosedPublic

Authored by fsu on Dec 10 2021, 5:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 12, 4:03 PM
Unknown Object (File)
Thu, May 2, 1:57 PM
Unknown Object (File)
Sun, Apr 28, 3:03 AM
Unknown Object (File)
Apr 26 2024, 1:01 PM
Unknown Object (File)
Apr 26 2024, 9:11 AM
Unknown Object (File)
Jan 16 2024, 11:43 AM
Unknown Object (File)
Dec 20 2023, 6:36 AM
Unknown Object (File)
Dec 18 2023, 10:59 AM
Subscribers

Details

Summary

Rename ext2_dirbadentry() to ext2_check_direntry(). Add directory entry inode value check, and call ext2_check_direntry() in all cases. The dirchk sysctl is removed.

This PR should close next BZ issues:
259024 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259024)
259041 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259041)

Test Plan

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable