[PATCH 2/9] bpf: Add d_path whitelist

Jiri Olsa
2020-05-06T13:30:09Z

Adding whitelist for d_path helper under:
kernel/bpf/helpers-whitelist/d_path

Currently it's just list of test functions, which will
be replaced by list promised by Brendan ;-)

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
kernel/bpf/helpers-whitelist/d_path | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 kernel/bpf/helpers-whitelist/d_path

diff --git a/kernel/bpf/helpers-whitelist/d_path b/kernel/bpf/helpers-whitelist/d_path
new file mode 100644
index 000000000000..e5adf2a9e1cb
--- /dev/null
+++ b/kernel/bpf/helpers-whitelist/d_path
@@ -0,0 +1,8 @@
+do_truncate
+vfs_fallocate
+finish_open
+vfs_open
+generic_file_open
+filp_close
+dentry_open
+vfs_getattr
--
2.25.4