lkml.org 
[lkml]   [2017]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'
    On Fri, Dec 01, 2017 at 09:47:00PM +0100, Daniel Borkmann wrote:

    > > Might want to replace security_path_mknod() with something saner, while we are
    > > at it.
    > >
    > > Objections?
    >
    > No, thanks for looking into this, and sorry for this fugly hack! :( Not
    > that this doesn't make it any better, but I think back then I took it
    > over from mqueue implementation ... should have known better and looking
    > into making this generic instead, sigh. The above looks good to me, so
    > no objections from my side and thanks for working on it!
    >
    > > PS: mqueue.c would also benefit from such primitive - do_create() there would
    > > simply pass attr as callback's argument into vfs_mkobj(), with callback being
    > > the guts of mqueue_create()...

    OK... See vfs.git#untested.mkobj; it really needs testing, though - mq_open(2)
    passes LTP tests, but that's not saying much, and BPF side is completely
    untested.

    \
     
     \ /
      Last update: 2017-12-02 19:49    [W:3.609 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site