On 6/12/24 12:59, Kees Cook wrote:
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]>
---
...
+kunit_test_suites(&usercopy_test_suite);
+MODULE_AUTHOR("Kees Cook <[email protected]>");
MODULE_LICENSE("GPL");
Can you add the missing MODULE_DESCRIPTION() to remove the W=1 warning?
The fix to the current file is part of:
https://lore.kernel.org/all/[email protected]/