mirror of https://github.com/omar-polo/gmid.git
[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:
parent
771d8f281b
commit
65fba1d570
|
@ -135,6 +135,7 @@ sandbox()
|
||||||
|
|
||||||
/* these are used to serve the files. note how we
|
/* these are used to serve the files. note how we
|
||||||
* allow openat but not open. */
|
* allow openat but not open. */
|
||||||
|
SC_ALLOW(poll),
|
||||||
SC_ALLOW(ppoll),
|
SC_ALLOW(ppoll),
|
||||||
SC_ALLOW(accept),
|
SC_ALLOW(accept),
|
||||||
SC_ALLOW(fcntl),
|
SC_ALLOW(fcntl),
|
||||||
|
|
Loading…
Reference in New Issue