]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/seccomp: sh: Fix register names
authorKees Cook <keescook@chromium.org>
Tue, 17 Nov 2020 19:54:43 +0000 (11:54 -0800)
committerKees Cook <keescook@chromium.org>
Fri, 20 Nov 2020 19:03:08 +0000 (11:03 -0800)
commita998942daba1c3dab7689d2f4f47794914d70706
treeffef0b3e3a4a903ff44b124b3e75d743228bd624
parent87e54b766182d2446b2e25b24b787cd024847483
selftests/seccomp: sh: Fix register names

It looks like the seccomp selftests was never actually built for sh.
This fixes it, though I don't have an environment to do a runtime test
of it yet.

Fixes: 65c15c2ab5b82baf ("sh: Add SECCOMP_FILTER")
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/lkml/a36d7b48-6598-1642-e403-0c77a86f416d@physik.fu-berlin.de
Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/seccomp/seccomp_bpf.c