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

Add convinience methods to get path to memfd on the filesystem #69

Open
AlexanderSchuetz97 opened this issue Jul 2, 2024 · 0 comments

Comments

@AlexanderSchuetz97
Copy link

AlexanderSchuetz97 commented Jul 2, 2024

Hello,

I require the path of the Memfd on disk for my use case.
I.e. a fn that returns "/proc/pid_here/fd/fd_number_here"

In my opinion a utility function to get this path would not be out of place in the Memfd struct.
Since its not much effort I have a submitted a PR to do just that.

See #68

Sincerely
Alexander Schütz

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