diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-03-10 22:32:41 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2018-03-10 22:32:41 +0300 |
commit | 5ce1bbe7d1016464d20c4c7749a752b0ce089663 (patch) | |
tree | 078f9fc4f2ad6ed5df56829843ba61726c0a430d /net-misc/openssh/files/openssh-7.3-mips-seccomp-n32.patch | |
parent | 9421d2f948084be45a7ce74a4cb40a2062b1eb06 (diff) |
openssh-scm
Diffstat (limited to 'net-misc/openssh/files/openssh-7.3-mips-seccomp-n32.patch')
-rw-r--r-- | net-misc/openssh/files/openssh-7.3-mips-seccomp-n32.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-7.3-mips-seccomp-n32.patch b/net-misc/openssh/files/openssh-7.3-mips-seccomp-n32.patch new file mode 100644 index 0000000..7eaadaf --- /dev/null +++ b/net-misc/openssh/files/openssh-7.3-mips-seccomp-n32.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/591392 +https://bugzilla.mindrot.org/show_bug.cgi?id=2590 + +7.3 added seccomp support to MIPS, but failed to handled the N32 +case. This patch is temporary until upstream fixes. + +--- openssh-7.3p1/configure.ac ++++ openssh-7.3p1/configure.ac +@@ -816,10 +816,10 @@ main() { if (NSVersionOfRunTimeLibrary(" + seccomp_audit_arch=AUDIT_ARCH_MIPSEL + ;; + mips64-*) +- seccomp_audit_arch=AUDIT_ARCH_MIPS64 ++ seccomp_audit_arch=AUDIT_ARCH_MIPS64N32 + ;; + mips64el-*) +- seccomp_audit_arch=AUDIT_ARCH_MIPSEL64 ++ seccomp_audit_arch=AUDIT_ARCH_MIPSEL64N32 + ;; + esac + if test "x$seccomp_audit_arch" != "x" ; then |