Files
linux/drivers/misc/lkdtm
Kees Cook cf2f06f715 lkdtm/fortify: Drop unneeded FORTIFY_STR_OBJECT test
The str* family of fortified functions all use member-sized limits
for a while now, so the FORTIFY_STR_OBJECT test is redundant to
FORTIFY_STR_MEMBER. While here, replace the strncpy() use with strscpy(),
as strncpy() is being removed.

Link: https://patch.msgid.link/20260324020726.work.624-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
2026-03-31 16:53:47 -07:00
..
2025-08-18 14:23:09 +02:00
2020-12-09 15:51:14 +01:00
2022-09-26 10:13:14 -07:00