summaryrefslogtreecommitdiffstats
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 c1fe1f3e..ef9d6fa2 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -168,6 +168,9 @@ static const struct sock_filter preauth_insns[] = {
#ifdef __NR_poll
SC_ALLOW(poll),
#endif
+#ifdef __NR_pselect6
+ SC_ALLOW(pselect6),
+#endif
#ifdef __NR_read
SC_ALLOW(read),
#endif