Re: [PATCH][bpf] don't bother with getname/kern_path - use user_path_at

From: Daniel Borkmann
Date: Tue Jan 21 2020 - 18:32:57 EST


On 1/21/20 12:28 AM, Al Viro wrote:
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@xxxxxxxxxxxxxxxxxx>

Looks good, applied, thanks!