diff options
| author | Kees Cook <kees@kernel.org> | 2026-03-23 19:07:30 -0700 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-03-31 16:53:47 -0700 |
| commit | cf2f06f7152d5e38a87aa2e9b8b452714789f6ba (patch) | |
| tree | 58402668bdb292a8be0f98c761e52a34986c99a2 /arch/v850/kernel/git@git.tavy.me:linux.git | |
| parent | 00247cbf173a9e1e2304db8e3f9172d36366b255 (diff) | |
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 'arch/v850/kernel/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
