alistair23-linux/tools/testing/selftests/seccomp
Kees Cook 256d0afb11 selftests/seccomp: build and pass on arm64
Changing arm64 syscalls is done via a specific register set, more like s390
than like arm (specific ptrace call) and x86 (part of general registers).
Since (restarting) poll doesn't exist on arm64, switch to using nanosleep
for testing restart_syscall. And since it looks like the syscall ABI is
inconsistent on arm-compat, so we must work around it (and document it) in
the test.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2015-10-15 20:06:27 -06:00
..
.gitignore selftests: add seccomp suite 2015-06-17 17:12:32 -06:00
Makefile selftests: add seccomp suite 2015-06-17 17:12:32 -06:00
seccomp_bpf.c selftests/seccomp: build and pass on arm64 2015-10-15 20:06:27 -06:00
test_harness.h selftests/seccomp: add support for s390 2015-09-14 16:41:37 -06:00