summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2015-10-06 12:30:25 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-10-15 20:06:27 -0600
commit256d0afb11d6e878e8c793e4a6e3bbfb81f9aae8 (patch)
tree654f0501341f10f055017ba2c5a9e8c162966b94 /scripts
parent1f78dda2cf5e4eeb00aee2a01c9515e2e704b4c0 (diff)
downloadtalos-obmc-linux-256d0afb11d6e878e8c793e4a6e3bbfb81f9aae8.tar.gz
talos-obmc-linux-256d0afb11d6e878e8c793e4a6e3bbfb81f9aae8.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud