lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 31 Dec 2017 17:01:24 +0100
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Jakub Kicinski <jakub.kicinski@...ronome.com>,
        netdev@...r.kernel.org, alexei.starovoitov@...il.com
Cc:     oss-drivers@...ronome.com
Subject: Re: [PATCH bpf-next v3 0/9] bpf: offload: report device back to user
 space (take 2)

On 12/28/2017 03:39 AM, Jakub Kicinski wrote:
> Hi!
> 
> This series is a redo of reporting offload device information to
> user space after the first attempt did not take into account name
> spaces.  As requested by Kirill offloads are now protected by an
> r/w sem.  This allows us to remove the workqueue and free the
> offload state fully when device is removed (suggested by Alexei).
> 
> Net namespace is reported with a device/inode pair.
> 
> The accompanying bpftool support is placed in common code because
> maps will have very similar info.  Note that the UAPI information
> can't be nicely encapsulated into a struct, because in case we
> need to grow the device information the new fields will have to
> be added at the end of struct bpf_prog_info, we can't grow
> structures in the middle of bpf_prog_info.
> 
> v3:
>  - use dev_get_by_index();
>  - redo ns code (new patch 6).
> v2:
>  - rework the locking in patch 1 (use RCU instead of locking
>    dependencies);
>  - grab RTNL for a short time in patch 6;
>  - minor update to the test in patch 8.

Series applied to bpf-next, thanks Jakub!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ