aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2024-02-02 03:18:14 -0800
committerKees Cook <[email protected]>2024-02-20 20:47:31 -0800
commitf478898e0aa74a759fcf629a3ee8b040467b8533 (patch)
treea4ce041e524eb2eb11a998b3ba09eec0bf3ec69d /net/lapb/lapb_timer.c
parent557f8c582a9ba8abe6aa0fd734b6f342af106b26 (diff)
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 <[email protected]> Cc: Andrew Morton <[email protected]> Cc: <[email protected]> Reviewed-by: Justin Stitt <[email protected]> Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions