diff options
author | Bogdan Purcareata <bogdan.purcareata@freescale.com> | 2015-02-11 13:23:25 +0000 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2015-02-17 10:16:27 -0500 |
commit | c1a168dfb53defb637754de9d6837b8fcf3b0213 (patch) | |
tree | 3fe57d1e320b30ccacbe05fde42da3aeba999d3b /src/arch-syscall-dump.c | |
parent | 83e58d25b0785a957db1d8b4c46034ef386b46ed (diff) | |
download | libseccomp-c1a168dfb53defb637754de9d6837b8fcf3b0213.tar.gz |
arch: add a ppc syscall table
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
[PM: slight reordering of ppc/ppc64 in header files and makefiles]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src/arch-syscall-dump.c')
-rw-r--r-- | src/arch-syscall-dump.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch-syscall-dump.c b/src/arch-syscall-dump.c index 985a250..62992e7 100644 --- a/src/arch-syscall-dump.c +++ b/src/arch-syscall-dump.c @@ -39,6 +39,7 @@ #include "arch-mips64n32.h" #include "arch-aarch64.h" #include "arch-ppc64.h" +#include "arch-ppc.h" /** * Print the usage information to stderr and exit @@ -116,6 +117,9 @@ int main(int argc, char *argv[]) case SCMP_ARCH_PPC64: sys_name = ppc64_syscall_iterate_name(iter); break; + case SCMP_ARCH_PPC: + sys_name = ppc_syscall_iterate_name(iter); + break; default: /* invalid arch */ |