summaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup-fc-appid.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2024-02-02 12:18:14 +0100
committerKees Cook <keescook@chromium.org>2024-02-21 05:47:31 +0100
commitf478898e0aa74a759fcf629a3ee8b040467b8533 (patch)
treea4ce041e524eb2eb11a998b3ba09eec0bf3ec69d /block/blk-cgroup-fc-appid.c
parentubsan: Reintroduce signed overflow sanitizer (diff)
downloadlinux-f478898e0aa74a759fcf629a3ee8b040467b8533.tar.xz
linux-f478898e0aa74a759fcf629a3ee8b040467b8533.zip
string: Redefine strscpy_pad() as a macro
In preparation for making strscpy_pad()'s 3rd argument optional, redefine it as a macro. This also has the benefit of allowing greater FORITFY introspection, as it couldn't see into the strscpy() nor the memset() within strscpy_pad(). Cc: Andy Shevchenko <andy@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: <linux-hardening@vger.kernel.org> Reviewed-by: Justin Stitt <justinstitt@google.com> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'block/blk-cgroup-fc-appid.c')
0 files changed, 0 insertions, 0 deletions