Use setrlimit to prevent creating new files and spawning processes in sandboxes
modified src/event.c
@@ -33,6 +33,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -227,6 +228,7 @@ event_sandboxed_call(pkg_sandbox_cb func, int fd, void *ud)
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -273,6 +275,13 @@ event_sandboxed_call(pkg_sandbox_cb func, int fd, void *ud)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|