aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/verifier/d_path.c
AgeCommit message (Collapse)AuthorFilesLines
2020-08-25selftests/bpf: Add verifier test for d_path helperJiri Olsa1-0/+37
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]