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, Oct 30, 3:41 AM
Unknown Object (File)
Mon, Oct 27, 7:29 AM
Unknown Object (File)
Mon, Oct 27, 4:05 AM
Unknown Object (File)
Sun, Oct 26, 8:53 PM
Unknown Object (File)
Sat, Oct 25, 6:19 AM
Unknown Object (File)
Tue, Oct 21, 1:44 AM
Unknown Object (File)
Sun, Oct 19, 10:30 AM
Unknown Object (File)
Fri, Oct 17, 4:51 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