Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alter privilege check for getfhat #264

Open
wants to merge 1 commit into
base: truenas/13.1-stable
Choose a base branch
from

Conversation

anodos325
Copy link
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
2 participants