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 --pids-limit option, to prevent fork bomb in sandbox. #9

Merged
merged 7 commits into from
Jul 26, 2019

Conversation

laixintao
Copy link
Contributor

close #8

# Allow user process to fork
#'canfork': False,
# Limiting the maximum number of user processes in Linux is tricky.
# http://unix.stackexchange.com/questions/55319/are-limits-conf-values-applied-on-a-per-process-basis
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I delete old comments here.

@laixintao
Copy link
Contributor Author

laixintao commented Jul 18, 2019

@laixintao
Copy link
Contributor Author

ping @psviderski

Copy link
Contributor

@psviderski psviderski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your great work and sorry for the delay with the review. I've left a comment about naming and the default behaviour. Would love to hear your thoughts.

tests/test_sandboxes.py Outdated Show resolved Hide resolved
epicbox/config.py Outdated Show resolved Hide resolved
Copy link
Contributor

@psviderski psviderski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the updates, looks great to me 👍
It's good to be merged after fixing two minor typos.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
laixintao and others added 2 commits July 24, 2019 21:08
Co-Authored-By: Pavel Sviderski <pavel@canva.com>
Co-Authored-By: Pavel Sviderski <pavel@canva.com>
@psviderski psviderski merged commit d3a6db5 into StepicOrg:master Jul 26, 2019
@laixintao
Copy link
Contributor Author

Hi, @psviderski Can you bump a new version and update to pypi?

@psviderski
Copy link
Contributor

Sure, bumped version to 1.1.0 and published to PyPI.

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.

Add --pids-limit?
2 participants