mirror of https://github.com/omar-polo/gmid.git
[seccomp] epoll_wait(2) isn't available on every arch
This commit is contained in:
parent
aa37287565
commit
4c857c0afc
|
@ -150,7 +150,10 @@ sandbox()
|
|||
|
||||
/* these are used to serve the files. note how we
|
||||
* allow openat but not open. */
|
||||
#ifdef __NR_epoll_wait
|
||||
/* epoll_wait(2) isn't present on aarch64, at least */
|
||||
SC_ALLOW(epoll_wait),
|
||||
#endif
|
||||
SC_ALLOW(epoll_pwait),
|
||||
SC_ALLOW(epoll_ctl),
|
||||
SC_ALLOW(accept4),
|
||||
|
|
Loading…
Reference in New Issue