diff options
author | Omar Polo <op@omarpolo.com> | 2021-02-10 18:02:08 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-02-10 18:02:08 +0000 |
commit | 4c857c0afcb7d76cb03323ba7d0dfef60b27589f (patch) | |
tree | b9a585ce33c46093fcc1066866fac8d4c692e0eb /sandbox.c | |
parent | aa37287565c6eb7ac3da814b334ab61a5b567a22 (diff) |
[seccomp] epoll_wait(2) isn't available on every arch
Diffstat (limited to 'sandbox.c')
-rw-r--r-- | sandbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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), |