On Wed, Jul 22, 2020 at 2:14 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > 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 <jolsa@xxxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andriin@xxxxxx> > tools/testing/selftests/bpf/test_verifier.c | 19 +++++++++- > tools/testing/selftests/bpf/verifier/d_path.c | 37 +++++++++++++++++++ > 2 files changed, 55 insertions(+), 1 deletion(-) > create mode 100644 tools/testing/selftests/bpf/verifier/d_path.c > [...]