openssh-7.3-mips-seccomp-n32.patch 634 B

12345678910111213141516171819202122
  1. https://bugs.gentoo.org/591392
  2. https://bugzilla.mindrot.org/show_bug.cgi?id=2590
  3. 7.3 added seccomp support to MIPS, but failed to handled the N32
  4. case. This patch is temporary until upstream fixes.
  5. --- openssh-7.3p1/configure.ac
  6. +++ openssh-7.3p1/configure.ac
  7. @@ -816,10 +816,10 @@ main() { if (NSVersionOfRunTimeLibrary("
  8. seccomp_audit_arch=AUDIT_ARCH_MIPSEL
  9. ;;
  10. mips64-*)
  11. - seccomp_audit_arch=AUDIT_ARCH_MIPS64
  12. + seccomp_audit_arch=AUDIT_ARCH_MIPS64N32
  13. ;;
  14. mips64el-*)
  15. - seccomp_audit_arch=AUDIT_ARCH_MIPSEL64
  16. + seccomp_audit_arch=AUDIT_ARCH_MIPSEL64N32
  17. ;;
  18. esac
  19. if test "x$seccomp_audit_arch" != "x" ; then