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

Added block_process_spawn option to AutograderSandbox.run_command(). #46

Merged
merged 1 commit into from May 7, 2020

Conversation

james-perretta
Copy link
Contributor

@james-perretta james-perretta commented May 7, 2020

When True, sets an nproc limit of 0 for the command.

Note that an nproc limit of 0 does NOT have the problem of processes in multiple containers with the same UID counting towards the same limit. Since the limit is 0, no process spawning is allowed to begin with.

Related to #41

…When True, sets an nproc limit of 0 for the command.
@james-perretta james-perretta merged commit e04405c into develop May 7, 2020
@james-perretta james-perretta deleted the no_fork_option branch May 7, 2020 15:06
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

Successfully merging this pull request may close these issues.

None yet

1 participant