aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-06-12 19:59:19 +0000
committerShuah Khan <[email protected]>2024-06-15 01:31:39 +0000
commitcf6219ee889fb304cf8192c707ad280d93baafc7 (patch)
treec758fca93159cbaca6e16929a147559ffe2b7bb7 /rust/helpers.c
parentkunit: test: Add vm_mmap() allocation resource manager (diff)
downloadkernel-cf6219ee889fb304cf8192c707ad280d93baafc7.tar.gz
kernel-cf6219ee889fb304cf8192c707ad280d93baafc7.zip
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 <[email protected]> Signed-off-by: Vitor Massaru Iha <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Ivan Orlov <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions