aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-03-20 09:24:44 +0000
committerOmar Polo <op@omarpolo.com>2021-03-20 09:24:44 +0000
commite3d81f49cc4084f6af16a497cf56d15d79d1c1b8 (patch)
tree4048301510c6d85e9a3887185d7a6b635eb43730
parentd632468df510578999cf3e34f422728e879d7286 (diff)
[seccomp] allow prlimit64
it's needed by getdtablesize, at least on glibc
-rw-r--r--sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox.c b/sandbox.c
index 509d6bb..1a0dc9a 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -182,6 +182,7 @@ sandbox_server_process(void)
/* for imsg */
SC_ALLOW(sendmsg),
+ SC_ALLOW(prlimit64),
/* needed for signal handling */
SC_ALLOW(rt_sigreturn),