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:20 -0800
committerAlexei Starovoitov <ast@kernel.org>2026-02-24 08:19:48 -0800
commit3ed0bc2d4994c718fb5476b45d4aafec42a1d040 (patch)
treee4b3db5252e65e37f98e04c6c017544690f16879 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent43277d8f57b490550d33f6f4cb73c28ec6024696 (diff)
selftests/bpf: Use strscpy in bpftool_helpers.c
Replace strncpy() calls in bpftool_helpers.c with strscpy(). Pass the destination buffer size to detect_bpftool_path() instead of hardcoding BPFTOOL_PATH_MAX_LEN. Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev> Link: https://lore.kernel.org/r/20260223190736.649171-5-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