From 65fba1d570390381f99396a547094f8b33f26ebf Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sun, 17 Jan 2021 13:51:09 +0000 Subject: [PATCH] [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. --- sandbox.c | 1 + 1 file changed, 1 insertion(+) 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),