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)
Wed, Jan 29, 3:52 AM
Unknown Object (File)
Wed, Jan 8, 6:04 PM
Unknown Object (File)
Dec 29 2024, 11:11 AM
Unknown Object (File)
Oct 3 2024, 9:36 PM
Unknown Object (File)
Sep 30 2024, 11:06 AM
Unknown Object (File)
Sep 24 2024, 1:08 AM
Unknown Object (File)
Sep 23 2024, 8:05 PM
Unknown Object (File)
Sep 22 2024, 1:02 PM
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