Home
last modified time | relevance | path

Searched hist:"75 dcef8d3609d0b1d3497d6ed4809096513e0b83" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/bpf/
H A Dtest_run.cdiff 75dcef8d3609d0b1d3497d6ed4809096513e0b83 Mon Apr 10 03:59:08 CDT 2023 Feng Zhou <zhoufeng.zf@bytedance.com> 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