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)
Thu, Dec 12, 7:50 AM
Unknown Object (File)
Thu, Nov 28, 7:46 AM
Unknown Object (File)
Tue, Nov 26, 2:46 PM
Unknown Object (File)
Nov 16 2024, 5:00 PM
Unknown Object (File)
Nov 13 2024, 5:39 AM
Unknown Object (File)
Nov 12 2024, 9:54 AM
Unknown Object (File)
Nov 12 2024, 6:04 AM
Unknown Object (File)
Nov 11 2024, 4:54 PM
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