ioi / isolate

Sandbox for securely executing untrusted programs
Other
1.05k stars 157 forks source link

Add customizable open files limit #101

Closed quantumsheep closed 2 years ago

quantumsheep commented 3 years ago

In order to fix cases like https://github.com/ioi/isolate/pull/97#issuecomment-820368812.

This PR adds a new argument --open-files/-n which takes an integer value corresponding to the maximum allowed number of open files.

gollux commented 2 years ago

Thanks. I modified your patch slightly and merged it.

quantumsheep commented 2 years ago

Nice! FYI you can use Co-authored-by in git commits to specify multiple authors for a single commit.