535d341
diff -up openssh/configure.ac.seccomp openssh/configure.ac
535d341
diff -up openssh/sandbox-seccomp-filter.c.seccomp openssh/sandbox-seccomp-filter.c
535d341
--- openssh/sandbox-seccomp-filter.c.seccomp	2015-06-24 11:45:44.001581471 +0200
535d341
+++ openssh/sandbox-seccomp-filter.c	2015-06-24 11:51:54.032635297 +0200
535d341
@@ -165,6 +165,9 @@ static const struct sock_filter preauth_
Marcin Juszkiewicz 6656486
 #ifdef __NR__newselect
Marcin Juszkiewicz 6656486
 	SC_ALLOW(_newselect),
Marcin Juszkiewicz 6656486
 #endif
68fa4fb
+#ifdef __NR_pselect6 /* AArch64 */
bc083eb
+	SC_ALLOW(pselect6),
bc083eb
+#endif
535d341
 #ifdef __NR_poll
535d341
 	SC_ALLOW(poll),
252221e
 #endif
58ba504
diff --git a/configure.ac b/configure.ac
58ba504
index 24378a7..0bed910 100644
58ba504
--- a/configure.ac
58ba504
+++ b/configure.ac
f6a096c
@@ -811,6 +811,18 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
58ba504
 	aarch64*-*)
58ba504
 		seccomp_audit_arch=AUDIT_ARCH_AARCH64
58ba504
 		;;
a4d9cd5
+	s390x-*)
a4d9cd5
+		seccomp_audit_arch=AUDIT_ARCH_S390X
a4d9cd5
+		;;
a4d9cd5
+	s390-*)
a4d9cd5
+		seccomp_audit_arch=AUDIT_ARCH_S390
a4d9cd5
+		;;
f6a096c
+	powerpc64-*)
f6a096c
+		seccomp_audit_arch=AUDIT_ARCH_PPC64
f6a096c
+		;;
f6a096c
+	powerpc64le-*)
f6a096c
+		seccomp_audit_arch=AUDIT_ARCH_PPC64LE
f6a096c
+		;;
58ba504
 	esac
58ba504
 	if test "x$seccomp_audit_arch" != "x" ; then
58ba504
 		AC_MSG_RESULT(["$seccomp_audit_arch"])
58ba504