summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2026-03-24 05:07:30 +0300
committerKees Cook <kees@kernel.org>2026-04-01 02:53:47 +0300
commitcf2f06f7152d5e38a87aa2e9b8b452714789f6ba (patch)
tree58402668bdb292a8be0f98c761e52a34986c99a2 /scripts
parent00247cbf173a9e1e2304db8e3f9172d36366b255 (diff)
downloadlinux-cf2f06f7152d5e38a87aa2e9b8b452714789f6ba.tar.xz
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions