]> Gentwo Git Trees - linux/.git/commit
tracing: probes: Replace strcpy() with memcpy() in __trace_probe_log_err()
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 25 Sep 2025 00:56:49 +0000 (09:56 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Fri, 31 Oct 2025 16:10:29 +0000 (01:10 +0900)
commitcbe1e1241a4d5d7cfc8dbef0fc47ca2d21c28cb2
tree41da49ae0fb936a16256068610c77992b0f486b1
parentceb5d8d367d6d37a220023df443d8b67c2f4d1cd
tracing: probes: Replace strcpy() with memcpy() in __trace_probe_log_err()

strcpy() is deprecated; use memcpy() instead.

Link: https://lore.kernel.org/all/20250820214717.778243-3-thorsten.blum@linux.dev/
Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_probe.c