]> 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)
commit366bdb603d111f30e2efe86a09c2361a1ce66871
treeffef0b3e3a4a903ff44b124b3e75d743228bd624
parent98ce0de0e123de92fd5949cadcdec1430b9bf6ff
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: a39806ac4bf27ab1 ("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