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)
Nov 20 2025, 5:44 PM
Unknown Object (File)
Nov 20 2025, 5:44 PM
Unknown Object (File)
Nov 20 2025, 5:42 PM
Unknown Object (File)
Nov 20 2025, 5:30 PM
Unknown Object (File)
Nov 18 2025, 7:07 PM
Unknown Object (File)
Nov 17 2025, 8:00 AM
Unknown Object (File)
Nov 11 2025, 12:48 AM
Unknown Object (File)
Oct 30 2025, 3:41 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 Not Applicable
Unit
Tests Not Applicable