diff options
| author | Kees Cook <kees@kernel.org> | 2026-03-24 05:07:30 +0300 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-04-01 02:53:47 +0300 |
| commit | cf2f06f7152d5e38a87aa2e9b8b452714789f6ba (patch) | |
| tree | 58402668bdb292a8be0f98c761e52a34986c99a2 /include/linux | |
| parent | 00247cbf173a9e1e2304db8e3f9172d36366b255 (diff) | |
| download | linux-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 'include/linux')
0 files changed, 0 insertions, 0 deletions
