diff options
| author | Ihor Solodrai <ihor.solodrai@linux.dev> | 2026-02-23 11:07:18 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-02-23 18:40:07 -0800 |
| commit | 6a087ac23f5b6619033ad08e60c355b00bb8ce51 (patch) | |
| tree | f7f29a8ff00d6dfd1bb35c8846b5b90162147704 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 63c49efc987afefc6b9bb7de083eb8748e0b1789 (diff) | |
selftests/bpf: Replace strcpy() calls with strscpy()
strcpy() does not perform bounds checking and is considered deprecated
[1]. Replace strcpy() calls with strscpy() defined in bpf_util.h.
[1] https://docs.kernel.org/process/deprecated.html#strcpy
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Link: https://lore.kernel.org/r/20260223190736.649171-3-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
