diff options
author | 2020-01-20 23:28:58 +0000 | |
---|---|---|
committer | 2020-01-21 23:46:21 +0100 | |
commit | b87121dd3fa0a4d2636c0ad02a3b3fc5161fa26b (patch) | |
tree | 415cc073ffe6ea21ca3d25fc3c541115af8e6888 /include/net | |
parent | Merge branch 'libbpf-include-path' (diff) | |
download | linux-b87121dd3fa0a4d2636c0ad02a3b3fc5161fa26b.tar.gz linux-b87121dd3fa0a4d2636c0ad02a3b3fc5161fa26b.tar.bz2 linux-b87121dd3fa0a4d2636c0ad02a3b3fc5161fa26b.zip |
bpf: don't bother with getname/kern_path - use user_path_at
kernel/bpf/inode.c misuses kern_path...() - it's much simpler (and
more efficient, on top of that) to use user_path...() counterparts
rather than bothering with doing getname() manually.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200120232858.GF8904@ZenIV.linux.org.uk
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions