summaryrefslogtreecommitdiff
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-06-25 09:51:39 +1000
committerDamien Miller <djm@mindrot.org>2015-06-25 09:51:39 +1000
commitbc20205c91c9920361d12b15d253d4997dba494a (patch)
tree01530f35e0bcc35d5e1b2fc3cc0abd136d8aa94c /sandbox-seccomp-filter.c
parent9d27fb73b4a4e5e99cb880af790d5b1ce44f720a (diff)
add missing pselect6
patch from Jakub Jelen
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index c1fe1f3e9..ef9d6fa26 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -168,6 +168,9 @@ static const struct sock_filter preauth_insns[] = {
168#ifdef __NR_poll 168#ifdef __NR_poll
169 SC_ALLOW(poll), 169 SC_ALLOW(poll),
170#endif 170#endif
171#ifdef __NR_pselect6
172 SC_ALLOW(pselect6),
173#endif
171#ifdef __NR_read 174#ifdef __NR_read
172 SC_ALLOW(read), 175 SC_ALLOW(read),
173#endif 176#endif