diff options
Diffstat (limited to 'tools/scmp_bpf_sim.c')
-rw-r--r-- | tools/scmp_bpf_sim.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/scmp_bpf_sim.c b/tools/scmp_bpf_sim.c index 6b70105..ddd216c 100644 --- a/tools/scmp_bpf_sim.c +++ b/tools/scmp_bpf_sim.c @@ -265,12 +265,16 @@ int main(int argc, char *argv[]) arch = AUDIT_ARCH_MIPS64N32; else if (strcmp(optarg, "mipsel64n32") == 0) arch = AUDIT_ARCH_MIPSEL64N32; + else if (strcmp(optarg, "ppc") == 0) + arch = AUDIT_ARCH_PPC; else if (strcmp(optarg, "ppc64") == 0) arch = AUDIT_ARCH_PPC64; else if (strcmp(optarg, "ppc64le") == 0) arch = AUDIT_ARCH_PPC64LE; - else if (strcmp(optarg, "ppc") == 0) - arch = AUDIT_ARCH_PPC; + else if (strcmp(optarg, "s390") == 0) + arch = AUDIT_ARCH_S390; + else if (strcmp(optarg, "s390x") == 0) + arch = AUDIT_ARCH_S390X; else exit_fault(EINVAL); break; |