Paul Moore
2014-08-22 05:32:46 UTC
This is Marcin's latest patch, reworked a bit for correctness. I still
want to go back over this patch and check a few style/formatting items,
but at least on my x86_64 system it passes all of the regression tests.
Can you aarch64 guys give this a test and see if it works for you?
-Paul
---
Marcin Juszkiewicz (1):
arch: Add AArch64 support
include/seccomp.h.in | 21 +-
src/Makefile.am | 1
src/arch-aarch64-syscalls.c | 495 +++++++++++++++++++++++++++++++++++++
src/arch-aarch64.c | 34 +++
src/arch-aarch64.h | 42 +++
src/arch-arm-syscalls.c | 1
src/arch-mips-syscalls.c | 1
src/arch-mips64-syscalls.c | 1
src/arch-mips64n32-syscalls.c | 1
src/arch-syscall-check.c | 13 +
src/arch-syscall-dump.c | 4
src/arch-syscall-validate | 48 ++++
src/arch-x32-syscalls.c | 1
src/arch-x86-syscalls.c | 1
src/arch-x86_64-syscalls.c | 1
src/arch.c | 20 +
src/gen_pfc.c | 2
src/python/libseccomp.pxd | 1
src/python/seccomp.pyx | 4
tests/16-sim-arch_basic.c | 3
tests/16-sim-arch_basic.py | 1
tests/23-sim-arch_all_le_basic.c | 3
tests/23-sim-arch_all_le_basic.py | 1
tests/regression | 4
tools/scmp_arch_detect.c | 3
tools/scmp_bpf_disasm.c | 2
tools/scmp_bpf_sim.c | 7 +
tools/util.c | 2
tools/util.h | 6
29 files changed, 719 insertions(+), 5 deletions(-)
create mode 100644 src/arch-aarch64-syscalls.c
create mode 100644 src/arch-aarch64.c
create mode 100644 src/arch-aarch64.h
want to go back over this patch and check a few style/formatting items,
but at least on my x86_64 system it passes all of the regression tests.
Can you aarch64 guys give this a test and see if it works for you?
-Paul
---
Marcin Juszkiewicz (1):
arch: Add AArch64 support
include/seccomp.h.in | 21 +-
src/Makefile.am | 1
src/arch-aarch64-syscalls.c | 495 +++++++++++++++++++++++++++++++++++++
src/arch-aarch64.c | 34 +++
src/arch-aarch64.h | 42 +++
src/arch-arm-syscalls.c | 1
src/arch-mips-syscalls.c | 1
src/arch-mips64-syscalls.c | 1
src/arch-mips64n32-syscalls.c | 1
src/arch-syscall-check.c | 13 +
src/arch-syscall-dump.c | 4
src/arch-syscall-validate | 48 ++++
src/arch-x32-syscalls.c | 1
src/arch-x86-syscalls.c | 1
src/arch-x86_64-syscalls.c | 1
src/arch.c | 20 +
src/gen_pfc.c | 2
src/python/libseccomp.pxd | 1
src/python/seccomp.pyx | 4
tests/16-sim-arch_basic.c | 3
tests/16-sim-arch_basic.py | 1
tests/23-sim-arch_all_le_basic.c | 3
tests/23-sim-arch_all_le_basic.py | 1
tests/regression | 4
tools/scmp_arch_detect.c | 3
tools/scmp_bpf_disasm.c | 2
tools/scmp_bpf_sim.c | 7 +
tools/util.c | 2
tools/util.h | 6
29 files changed, 719 insertions(+), 5 deletions(-)
create mode 100644 src/arch-aarch64-syscalls.c
create mode 100644 src/arch-aarch64.c
create mode 100644 src/arch-aarch64.h