Page MenuHomeFreeBSD

Set ISOPEN in namei flags when opening executable interpreters.
ClosedPublic

Authored by jhb on Aug 1 2019, 7:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 12:15 PM
Unknown Object (File)
Sun, May 3, 6:49 PM
Unknown Object (File)
Mon, Apr 27, 7:35 AM
Unknown Object (File)
Apr 21 2026, 1:48 PM
Unknown Object (File)
Apr 17 2026, 6:18 AM
Unknown Object (File)
Apr 13 2026, 4:18 PM
Unknown Object (File)
Apr 10 2026, 4:12 PM
Unknown Object (File)
Apr 9 2026, 5:23 AM
Subscribers

Details

Summary

These vnodes are explicitly opened via VOP_OPEN via
exec_check_permissions identical to the main exectuable image.
Setting ISOPEN allows filesystems to perform suitable checks in
VOP_LOOKUP (e.g. close-to-open consistency in the NFS client).

Test Plan
  • only compile tested

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25630
Build 24223: arc lint + arc unit