Thread (11 messages) 11 messages, 4 authors, 2017-12-04

Re: netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'

flat view

From: Al Viro <viro@ZenIV.linux.org.uk>
Date: 2017-12-01 04:54:50
Also in: lkml

On Fri, Dec 01, 2017 at 03:48:59AM +0000, Al Viro wrote:
Something similar to get_prog_path_type() above might make for a usable
primitive, IMO...
Incidentally, bpf_obj_get_user()/bpf_obj_do_get() should just use
user_path(), rather than wanking with getname()+kern_path(pname->name)+putname().
Note that kern_path() will do getname_kernel() to get struct pathname...

Would cause problems for tracepoints in there, though.  And that, BTW,
is precisely why I don't want tracepoints in core VFS, TYVM - makes
restructuring the code harder...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help