From c06fe506bc75430c318665c88f6a9a4ff73a9e08 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Fri, 17 Jun 2016 13:26:54 +0200 Subject: [PATCH] seccomp filter for MIPS (#1195065) --- openssh-6.9p1-seccomp-secondary.patch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/openssh-6.9p1-seccomp-secondary.patch b/openssh-6.9p1-seccomp-secondary.patch index f5eef34..c2da5cb 100644 --- a/openssh-6.9p1-seccomp-secondary.patch +++ b/openssh-6.9p1-seccomp-secondary.patch @@ -16,7 +16,7 @@ diff --git a/configure.ac b/configure.ac index 24378a7..0bed910 100644 --- a/configure.ac +++ b/configure.ac -@@ -811,6 +811,18 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) +@@ -811,6 +811,30 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) aarch64*-*) seccomp_audit_arch=AUDIT_ARCH_AARCH64 ;; @@ -31,6 +31,18 @@ index 24378a7..0bed910 100644 + ;; + powerpc64le-*) + seccomp_audit_arch=AUDIT_ARCH_PPC64LE ++ ;; ++ mips-*) ++ seccomp_audit_arch=AUDIT_ARCH_MIPS ++ ;; ++ mipsel-*) ++ seccomp_audit_arch=AUDIT_ARCH_MIPSEL ++ ;; ++ mips64-*) ++ seccomp_audit_arch=AUDIT_ARCH_MIPS64 ++ ;; ++ mips64el-*) ++ seccomp_audit_arch=AUDIT_ARCH_MIPSEL64 + ;; esac if test "x$seccomp_audit_arch" != "x" ; then