aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-06-12 12:59:19 -0700
committerShuah Khan <[email protected]>2024-06-14 19:31:39 -0600
commitcf6219ee889fb304cf8192c707ad280d93baafc7 (patch)
treec758fca93159cbaca6e16929a147559ffe2b7bb7 /lib/memory-notifier-error-inject.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 <[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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions