mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 06:52:34 -04:00
lkdtm: Update tests for memcpy() run-time warnings
Clarify the LKDTM FORTIFY tests, and add tests for the mem*() family of functions, now that run-time checking is distinct. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Shuah Khan <shuah@kernel.org> Cc: linux-kselftest@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
@@ -75,7 +75,9 @@ USERCOPY_KERNEL
|
||||
STACKLEAK_ERASING OK: the rest of the thread stack is properly erased
|
||||
CFI_FORWARD_PROTO
|
||||
CFI_BACKWARD call trace:|ok: control flow unchanged
|
||||
FORTIFIED_STRSCPY
|
||||
FORTIFIED_OBJECT
|
||||
FORTIFIED_SUBOBJECT
|
||||
FORTIFY_STRSCPY detected buffer overflow
|
||||
FORTIFY_STR_OBJECT detected buffer overflow
|
||||
FORTIFY_STR_MEMBER detected buffer overflow
|
||||
FORTIFY_MEM_OBJECT detected buffer overflow
|
||||
FORTIFY_MEM_MEMBER detected field-spanning write
|
||||
PPC_SLB_MULTIHIT Recovered
|
||||
|
||||
Reference in New Issue
Block a user