Add O_RESOLVE_NO_SYMLINKS to OS for 13.1-stable
Description
Problem/Justification
None
Impact
None
relates to
Activity
Show:

Bug Clerk December 30, 2024 at 9:55 PM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.

Andrew Walker January 9, 2024 at 5:15 PM
Not to be Fixed
Pinned fields
Click on the next to a field label to start pinning.
Created January 9, 2024 at 5:15 PM
Updated December 30, 2024 at 9:55 PM
Resolved December 30, 2024 at 9:55 PM
This is required for Samba 4.17 and higher. Internally samba uses the openat2 flag RESOLVE_NO_SYMLINKS as an optimization to create a fast-path for opening files that helps mitigate some of Samba 4.13+ metadata performance regression due to symlink safety checks. This commit adds an open flag equivalent to MNT_NOSYMLFOLLOW mount flag.