forked from rpms/openssh
pselect6 is already in upstream seccomp filter
This commit is contained in:
parent
186bf3858e
commit
f22e5dcaeb
@ -1,17 +1,3 @@
|
|||||||
diff -up openssh/configure.ac.seccomp openssh/configure.ac
|
|
||||||
diff -up openssh/sandbox-seccomp-filter.c.seccomp openssh/sandbox-seccomp-filter.c
|
|
||||||
--- openssh/sandbox-seccomp-filter.c.seccomp 2015-06-24 11:45:44.001581471 +0200
|
|
||||||
+++ openssh/sandbox-seccomp-filter.c 2015-06-24 11:51:54.032635297 +0200
|
|
||||||
@@ -165,6 +165,9 @@ static const struct sock_filter preauth_
|
|
||||||
#ifdef __NR__newselect
|
|
||||||
SC_ALLOW(_newselect),
|
|
||||||
#endif
|
|
||||||
+#ifdef __NR_pselect6 /* AArch64 */
|
|
||||||
+ SC_ALLOW(pselect6),
|
|
||||||
+#endif
|
|
||||||
#ifdef __NR_poll
|
|
||||||
SC_ALLOW(poll),
|
|
||||||
#endif
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
diff --git a/configure.ac b/configure.ac
|
||||||
index 24378a7..0bed910 100644
|
index 24378a7..0bed910 100644
|
||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
|
Loading…
Reference in New Issue
Block a user