[PATCH bpf-next v2 0/2] bpf: add bpf_strcat,bpf_strncat kfunc
From: Rong Tao
Date: Tue Jul 14 2026 - 21:28:23 EST
Add string concatenation kfuncs.
Rong Tao (2):
bpf: add bpf_strcat,bpf_strncat kfunc
selftests/bpf: Test bpf_strcat,bpf_strncat kfuncs
kernel/bpf/helpers.c | 92 +++++++++++++++++++
.../selftests/bpf/prog_tests/string_kfuncs.c | 2 +
.../bpf/progs/string_kfuncs_failure1.c | 13 +++
.../bpf/progs/string_kfuncs_failure2.c | 2 +
.../bpf/progs/string_kfuncs_success.c | 3 +
5 files changed, 112 insertions(+)
---
v2: This patchset (resolve some bot suggestion issues)
bot: https://lore.kernel.org/lkml/cad393253d7633ca397ec2a235596e2b45a52b595945253fc0451ce0446840ad@xxxxxxxxxxxxxxx/
v1: https://lore.kernel.org/lkml/tencent_59689407B1C3204B08362BEEF244A5FE5505@xxxxxx/
--
2.55.0