diff options
author | Andrii Nakryiko <[email protected]> | 2024-08-08 16:22:30 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-08-21 10:37:52 -0700 |
commit | b0cd726f9a8279b33faa5b4b0011df14f331fb33 (patch) | |
tree | a9b245d25a12cf4eedacd62ca1afe12167119567 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | baebe9aaba1e59e34cd1fe6455bb4c3029ad3bc1 (diff) |
selftests/bpf: test passing iterator to a kfunc
Define BPF iterator "getter" kfunc, which accepts iterator pointer as
one of the arguments. Make sure that argument passed doesn't have to be
the very first argument (unlike new-next-destroy combo).
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions