diff options
author | 2023-04-10 16:59:08 +0800 | |
---|---|---|
committer | 2023-04-11 20:29:49 +0200 | |
commit | 75dcef8d3609d0b1d3497d6ed4809096513e0b83 (patch) | |
tree | 426292d8f50eb626ae13c785460c78bd5d2b2d51 /kernel/bpf/helpers.c | |
parent | bpf/btf: Fix is_int_ptr() (diff) | |
download | linux-rng-75dcef8d3609d0b1d3497d6ed4809096513e0b83.tar.xz linux-rng-75dcef8d3609d0b1d3497d6ed4809096513e0b83.zip |
selftests/bpf: Add test to access u32 ptr argument in tracing program
Adding verifier test for accessing u32 pointer argument in
tracing programs.
The test program loads 1nd argument of bpf_fentry_test9 function
which is u32 pointer and checks that verifier allows that.
Co-developed-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Signed-off-by: Feng Zhou <zhoufeng.zf@bytedance.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20230410085908.98493-3-zhoufeng.zf@bytedance.com
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions