diff options
author | Jan Willeke <willeke@linux.vnet.ibm.com> | 2015-06-01 14:22:09 +0200 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-07-13 10:28:53 -0400 |
commit | acc895703daf72d6c9a83db2b7a0f8ff73b37ad5 (patch) | |
tree | 569970abcf7bc126c69d41543b59a2db569fcace /tools/scmp_bpf_sim.c | |
parent | 02030ce9920181bc1058990ecaefaa754de9ad3a (diff) | |
download | libseccomp-acc895703daf72d6c9a83db2b7a0f8ff73b37ad5.tar.gz |
arch: add support for s390
This patch adds support for S390 (32-bit) architecture.
Signed-off-by: Jan Willeke <willeke@linux.vnet.ibm.com>
[PM: rewrote the subject line, style fixes, s390x/s390 typo bugfixes]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tools/scmp_bpf_sim.c')
-rw-r--r-- | tools/scmp_bpf_sim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/scmp_bpf_sim.c b/tools/scmp_bpf_sim.c index b32c880..c4334b1 100644 --- a/tools/scmp_bpf_sim.c +++ b/tools/scmp_bpf_sim.c @@ -249,6 +249,8 @@ int main(int argc, char *argv[]) arch = AUDIT_ARCH_MIPS64N32; else if (strcmp(optarg, "mipsel64n32") == 0) arch = AUDIT_ARCH_MIPSEL64N32; + else if (strcmp(optarg, "s390") == 0) + arch = AUDIT_ARCH_S390; else if (strcmp(optarg, "s390x") == 0) arch = AUDIT_ARCH_S390X; else |