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

Do we really need nacl_bootstrap_helper-armhf just to set an env var? #1336

Open
slipher opened this issue Oct 3, 2024 · 2 comments
Open

Comments

@slipher
Copy link
Member

slipher commented Oct 3, 2024

The only thing nacl_helper_bootstrap-armhf.cpp does is to set an environment variable and change the working directory. These actions should be doable in the posix_spawn call that starts the VM. The environment variables can be specified as a function argument. The directory change can be added to the file actions with posix_spawn_file_actions_addchdir.

@illwieckz
Copy link
Member

Any other implementation that does the same thing may work, indeed. The nice thing with that external tool is that it's testable from outside dæmon, directly from the command line.

@slipher
Copy link
Member Author

slipher commented Oct 3, 2024

I guess the command tool version could just be a shell script then.

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

No branches or pull requests

2 participants