diff options
Diffstat (limited to 'security/sandbox/linux')
-rw-r--r-- | security/sandbox/linux/SandboxFilterUtil.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/security/sandbox/linux/SandboxFilterUtil.h b/security/sandbox/linux/SandboxFilterUtil.h index 6e9180bb95..3e07948c5a 100644 --- a/security/sandbox/linux/SandboxFilterUtil.h +++ b/security/sandbox/linux/SandboxFilterUtil.h @@ -218,9 +218,12 @@ class SandboxPolicyBase : public sandbox::bpf_dsl::Policy { #ifdef __NR_epoll_wait # define CASES_FOR_epoll_wait \ case __NR_epoll_wait: \ - case __NR_epoll_pwait + case __NR_epoll_pwait: \ + case __NR_epoll_pwait2 #else -# define CASES_FOR_epoll_wait case __NR_epoll_pwait +# define CASES_FOR_epoll_wait \ + case __NR_epoll_pwait: \ + case __NR_epoll_pwait2 #endif #ifdef __NR_pipe |