Skip to content

Alter privilege check for getfhat#264

Open
anodos325 wants to merge 1 commit intotruenas/13.1-stablefrom
getfhat-changes-13.1
Open

Alter privilege check for getfhat#264
anodos325 wants to merge 1 commit intotruenas/13.1-stablefrom
getfhat-changes-13.1

Conversation

@anodos325
Copy link
Copy Markdown
Contributor

  • allow converting fd into fhandle_t via AT_EMPTY_PATH
  • allow sysctl allowing unprivileged inode generation access to also allow getfhat.

These changes allow smbd process to convert an open fd into opaque file handle that is in process of being plumbed into our our Samba server to use as fast-path for looking up / opening files (helps in workloads that are constantly opening / closing files).

* allow converting fd into fhandle_t via AT_EMPTY_PATH
* allow sysctl allowing unprivileged inode generation access to also
  allow getfhat.

These changes allow smbd process to convert an open fd into opaque file
handle that is in process of being plumbed into our our Samba server to
use as fast-path for looking up / opening files (helps in workloads
that are constantly opening / closing files).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants