diff options
author | Kees Cook <[email protected]> | 2024-06-12 12:59:19 -0700 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-06-14 19:31:39 -0600 |
commit | cf6219ee889fb304cf8192c707ad280d93baafc7 (patch) | |
tree | c758fca93159cbaca6e16929a147559ffe2b7bb7 /lib/memory-notifier-error-inject.c | |
parent | 51104c19d8570eb23208e08eac0e9ae09ced1c15 (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