diff options
author | Jan Willeke <willeke@linux.vnet.ibm.com> | 2015-06-01 14:22:08 +0200 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-07-13 10:27:59 -0400 |
commit | 02030ce9920181bc1058990ecaefaa754de9ad3a (patch) | |
tree | fb9362e75c484acb8b38b355e3005df9aae1fa20 /tools/util.c | |
parent | b104193d48d479b7e342c292ddcae0133575f68a (diff) | |
download | libseccomp-02030ce9920181bc1058990ecaefaa754de9ad3a.tar.gz |
arch: add support for s390x
This patch adds support for S390x (64-bit) architecture.
Signed-off-by: Jan Willeke <willeke@linux.vnet.ibm.com>
[PM: rewrote the subject line, style fixes]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tools/util.c')
-rw-r--r-- | tools/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/util.c b/tools/util.c index 9b58bbb..edafbd9 100644 --- a/tools/util.c +++ b/tools/util.c @@ -62,6 +62,8 @@ #elif __MIPSEL__ #define ARCH_NATIVE AUDIT_ARCH_MIPSEL64N32 #endif /* _MIPS_SIM_NABI32 */ +#elif __s390x__ +#define ARCH_NATIVE AUDIT_ARCH_S390X #else #error the simulator code needs to know about your machine type #endif |