aboutsummaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-17 13:51:09 +0000
committerOmar Polo <op@omarpolo.com>2021-01-17 13:51:09 +0000
commit65fba1d570390381f99396a547094f8b33f26ebf (patch)
tree51f71955b6db82c6739a33bc375df053d2c3b005 /sandbox.c
parent771d8f281baa6f15913d705365e00c3128feac8b (diff)
[seccomp] allow also poll
on the latest fedora we glibc uses poll. On the other linux distro I tried (void), musl is probably providing poll as a ppoll wrapper.
Diffstat (limited to 'sandbox.c')
-rw-r--r--sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox.c b/sandbox.c
index 5d5fcaf..8674873 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -135,6 +135,7 @@ sandbox()
/* these are used to serve the files. note how we
* allow openat but not open. */
+ SC_ALLOW(poll),
SC_ALLOW(ppoll),
SC_ALLOW(accept),
SC_ALLOW(fcntl),