aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/d_path.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2020-08-25 19:21:22 +0000
committerAlexei Starovoitov <[email protected]>2020-08-25 22:41:15 +0000
commit762f85156835258c85a32bf81b283300b6c6bd17 (patch)
treef5476f2772a5bdc444a60e283b49789a841da55a /tools/testing/selftests/bpf/prog_tests/d_path.c
parentbpf: Update .BTF_ids section in btf.rst with sets info (diff)
downloadkernel-762f85156835258c85a32bf81b283300b6c6bd17.tar.gz
kernel-762f85156835258c85a32bf81b283300b6c6bd17.zip
selftests/bpf: Add verifier test for d_path helper
Adding verifier test for attaching tracing program and calling d_path helper from within and testing that it's allowed for dentry_open function and denied for 'd_path' function with appropriate error. Signed-off-by: Jiri Olsa <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/d_path.c')
0 files changed, 0 insertions, 0 deletions