diff options
author | Eduard Zingerman <[email protected]> | 2024-08-22 01:41:12 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-08-22 08:35:21 -0700 |
commit | 8c2e043daadad021fc501ac64cce131f48c3ca46 (patch) | |
tree | 12248bcf91ee0c83c6f25e055a42a85acfac3323 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f406026fefa745ff9a3153507cc3b9a87371d954 (diff) |
selftests/bpf: check if bpf_fastcall is recognized for kfuncs
Use kfunc_bpf_cast_to_kern_ctx() and kfunc_bpf_rdonly_cast() to verify
that bpf_fastcall pattern is recognized for kfunc calls.
Acked-by: Yonghong Song <[email protected]>
Signed-off-by: Eduard Zingerman <[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