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)
commit4c222f31fb1db4d590503a181a6268ced9252379
treeffef0b3e3a4a903ff44b124b3e75d743228bd624
parentf5098e34dd4c774c3040e417960f1637e5daade8
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: 0bb605c2c7f2b4b3 ("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