]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
selftests/seccomp: Add powerpc support
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Jul 2015 10:21:11 +0000 (20:21 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 30 Jul 2015 04:35:36 +0000 (14:35 +1000)
commit5d83c2b37d435b88452bc88a2a47672346efb2b4
tree5497b141f10cbc0977d3cbef5ea8f4a2e9fd4faa
parentc385d0db30f3c0bf687a080c38e8088c342116a3
selftests/seccomp: Add powerpc support

Wire up the syscall number and regs so the tests work on powerpc.

With the powerpc kernel support just merged, all tests pass on ppc64,
ppc64 (compat), ppc64le, ppc, ppc64e and ppc64e (compat).

Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/seccomp/seccomp_bpf.c