diff options
| author | 2026-02-23 11:07:18 -0800 | |
|---|---|---|
| committer | 2026-02-23 18:40:07 -0800 | |
| commit | 6a087ac23f5b6619033ad08e60c355b00bb8ce51 (patch) | |
| tree | f7f29a8ff00d6dfd1bb35c8846b5b90162147704 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | selftests/bpf: Add simple strscpy() implementation (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 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
