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

Support codejail without apparmour #130

Open
silviot opened this issue Jun 1, 2020 · 0 comments
Open

Support codejail without apparmour #130

silviot opened this issue Jun 1, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@silviot
Copy link
Contributor

silviot commented Jun 1, 2020

Currently codejail requires apparmour to make sure the jailed python interpreter has no access to its surroundings.

We should instead provide a wrapper to the current python interpreter that limits its capabilities.

Stripping environment variables, disallowing networking and running as an unprivileged user can go a long way.

capsh is probably a good fit for the wrapper.

@chiruzzimarco chiruzzimarco added enhancement New feature or request help wanted Extra attention is needed labels Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants