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)
Sat, Nov 16, 5:00 PM
Unknown Object (File)
Wed, Nov 13, 5:39 AM
Unknown Object (File)
Tue, Nov 12, 9:54 AM
Unknown Object (File)
Tue, Nov 12, 6:04 AM
Unknown Object (File)
Mon, Nov 11, 4:54 PM
Unknown Object (File)
Mon, Nov 11, 10:24 AM
Unknown Object (File)
Mon, Nov 11, 10:14 AM
Unknown Object (File)
Mon, Nov 11, 9:47 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