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 support for memfd (on Linux) for storing scripts #5

Open
cipriancraciun opened this issue Apr 19, 2020 · 0 comments
Open

Add support for memfd (on Linux) for storing scripts #5

cipriancraciun opened this issue Apr 19, 2020 · 0 comments
Assignees

Comments

@cipriancraciun
Copy link
Member

At the moment scripts are passed to the interpreter as a /dev/fd/{N} path, with the descriptor being a pipe if the script is less than 1MiB, or a temporary file if it is larger.

On Linux there is a third alternative (perhaps better than both) by using a memfd, as per:

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

No branches or pull requests

1 participant