aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2024-06-12 12:59:19 -0700
committerShuah Khan <skhan@linuxfoundation.org>2024-06-14 19:31:39 -0600
commitcf6219ee889fb304cf8192c707ad280d93baafc7 (patch)
treec758fca93159cbaca6e16929a147559ffe2b7bb7 /tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
parent51104c19d8570eb23208e08eac0e9ae09ced1c15 (diff)
usercopy: Convert test_user_copy to KUnit test
Convert the runtime tests of hardened usercopy to standard KUnit tests. Additionally disable usercopy_test_invalid() for systems with separate address spaces (or no MMU) since it's not sensible to test for address confusion there (e.g. m68k). Co-developed-by: Vitor Massaru Iha <vitor@massaru.org> Signed-off-by: Vitor Massaru Iha <vitor@massaru.org> Link: https://lore.kernel.org/r/20200721174654.72132-1-vitor@massaru.org Tested-by: Ivan Orlov <ivan.orlov0322@gmail.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Kees Cook <kees@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c')
0 files changed, 0 insertions, 0 deletions