diff options
| author | Jiri Olsa <[email protected]> | 2020-08-25 19:21:22 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-08-25 22:41:15 +0000 |
| commit | 762f85156835258c85a32bf81b283300b6c6bd17 (patch) | |
| tree | f5476f2772a5bdc444a60e283b49789a841da55a /tools/testing/selftests/bpf/prog_tests/d_path.c | |
| parent | bpf: Update .BTF_ids section in btf.rst with sets info (diff) | |
| download | kernel-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
