]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/seccomp: sh: Fix register names
authorKees Cook <keescook@chromium.org>
Tue, 17 Nov 2020 19:54:43 +0000 (11:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 12:39:05 +0000 (13:39 +0100)
commit3df0786b823c6e2c5efa38110f7874a08c7b72c0
tree5710caf3211cbf688f9446ae093b9d8e61037b15
parenta15ac9df36265d4a23475487e51de7bbc832865c
selftests/seccomp: sh: Fix register names

[ Upstream commit 4c222f31fb1db4d590503a181a6268ced9252379 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/seccomp/seccomp_bpf.c