aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2024-10-31 12:01:39 +0000
committerSteven Rostedt (Google) <[email protected]>2024-11-01 18:37:31 +0000
commit242b32d8073ed16868ff0f9381732e9782dea63b (patch)
treec586705e882be3b8e6e9ceedf9b99bcbd5b4415c /net/unix/af_unix.c
parenttracing: Add might_fault() check in __DECLARE_TRACE_SYSCALL (diff)
downloadkernel-242b32d8073ed16868ff0f9381732e9782dea63b.tar.gz
kernel-242b32d8073ed16868ff0f9381732e9782dea63b.zip
tracing: Replace strncpy() with strscpy() when copying comm
Replace the depreciated[1] strncpy() calls with strscpy() when copying comm. Link: https://github.com/KSPP/linux/issues/90 [1] Cc: <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Jinjie Ruan <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions