[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.
This commit is contained in:
Omar Polo 2021-01-17 13:51:09 +00:00
parent 771d8f281b
commit 65fba1d570
1 changed files with 1 additions and 0 deletions

View File

@ -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),