summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIhor Solodrai <ihor.solodrai@linux.dev>2026-02-23 11:07:19 -0800
committerAlexei Starovoitov <ast@kernel.org>2026-02-24 08:19:33 -0800
commit43277d8f57b490550d33f6f4cb73c28ec6024696 (patch)
treea12cd23bbb729723b1f4bd15821c1a4cacadc18c /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent6a087ac23f5b6619033ad08e60c355b00bb8ce51 (diff)
selftests/bpf: Replace strncpy() with strscpy()
strncpy() does not guarantee NULL-termination and is considered deprecated [1]. Replace strncpy() calls with strscpy(). [1] https://docs.kernel.org/process/deprecated.html#strncpy-on-nul-terminated-strings Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Link: https://lore.kernel.org/r/20260223190736.649171-4-ihor.solodrai@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions