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

could we add access to fuse_get_context() ? #2

Open
btsimonh opened this issue Jan 25, 2024 · 0 comments
Open

could we add access to fuse_get_context() ? #2

btsimonh opened this issue Jan 25, 2024 · 0 comments

Comments

@btsimonh
Copy link

I was thinking about a decrypting filesystem for storing secrets; but would like to only provide file information to certain users & processes.
However, I can't see how to get user & process info.
Looking at the code, we retrieve the information every time we're called, through get_thread_locals();
However, the user info etc. is discarded. Maybe we could put it into fuse_thread_locals_t, fill out the values, and then pass it with the calls somehow?
My NAPI is not strong enough to see an easy way...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant