whitelist more architectures for seccomp-bpf

bz#2590 - testing and patch from Jakub Jelen
This commit is contained in:
Damien Miller 2016-07-08 13:59:13 +10:00
parent 18813a32b6
commit b9c50614eb
1 changed files with 24 additions and 0 deletions

View File

@ -796,6 +796,30 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
aarch64*-*)
seccomp_audit_arch=AUDIT_ARCH_AARCH64
;;
s390x-*)
seccomp_audit_arch=AUDIT_ARCH_S390X
;;
s390-*)
seccomp_audit_arch=AUDIT_ARCH_S390
;;
powerpc64-*)
seccomp_audit_arch=AUDIT_ARCH_PPC64
;;
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
AC_MSG_RESULT(["$seccomp_audit_arch"])