diff options
author | Paul Moore <pmoore@redhat.com> | 2015-08-28 15:38:34 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-08-28 15:38:34 -0400 |
commit | fc886cbe8128e8544f5d197dfd0971403ee203b5 (patch) | |
tree | 71e20e3c8acac4b67da61842bef34e23f972ebe9 /src/arch-syscall-dump.c | |
parent | 6e26af4f027f6d6d3c8045f3b2c57b2255e911e3 (diff) | |
parent | a06972c8f7a287b83d3d5237f83b17ec2ab2047e (diff) | |
download | libseccomp-fc886cbe8128e8544f5d197dfd0971403ee203b5.tar.gz |
Merge branch 'working-s390' into master
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-syscall-dump.c')
-rw-r--r-- | src/arch-syscall-dump.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/arch-syscall-dump.c b/src/arch-syscall-dump.c index 62992e7..4534aec 100644 --- a/src/arch-syscall-dump.c +++ b/src/arch-syscall-dump.c @@ -38,8 +38,10 @@ #include "arch-mips64.h" #include "arch-mips64n32.h" #include "arch-aarch64.h" -#include "arch-ppc64.h" #include "arch-ppc.h" +#include "arch-ppc64.h" +#include "arch-s390.h" +#include "arch-s390x.h" /** * Print the usage information to stderr and exit @@ -114,13 +116,19 @@ int main(int argc, char *argv[]) case SCMP_ARCH_MIPSEL64N32: sys_name = mips64n32_syscall_iterate_name(iter); break; + case SCMP_ARCH_PPC: + sys_name = ppc_syscall_iterate_name(iter); + break; case SCMP_ARCH_PPC64: + case SCMP_ARCH_PPC64LE: sys_name = ppc64_syscall_iterate_name(iter); break; - case SCMP_ARCH_PPC: - sys_name = ppc_syscall_iterate_name(iter); + case SCMP_ARCH_S390: + sys_name = s390_syscall_iterate_name(iter); + break; + case SCMP_ARCH_S390X: + sys_name = s390x_syscall_iterate_name(iter); break; - default: /* invalid arch */ exit_usage(argv[0]); |