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:   Mon, 17 Dec 2018 13:45:37 -0800
From:   Alexei Starovoitov <alexei.starovoitov@...il.com>
To:     Quentin Monnet <quentin.monnet@...ronome.com>
Cc:     Daniel Borkmann <daniel@...earbox.net>, ast@...nel.org, yhs@...com,
        kafai@...com, netdev@...r.kernel.org
Subject: Re: [PATCH bpf-next] bpf: remove useless version check for prog load

On Mon, Dec 17, 2018 at 09:39:47AM +0000, Quentin Monnet wrote:
> 2018-12-16 00:49 UTC+0100 ~ Daniel Borkmann <daniel@...earbox.net>
> > Existing libraries and tracing frameworks work around this kernel
> > version check by automatically deriving the kernel version from
> > uname(3) or similar such that the user does not need to do it
> > manually; these workarounds also make the version check useless
> > at the same time.
> > 
> > Moreover, most other BPF tracing types enabling bpf_probe_read()-like
> > functionality have /not/ adapted this check, and in general these
> > days it is well understood anyway that all the tracing programs are
> > not stable with regards to future kernels as kernel internal data
> > structures are subject to change from release to release.
> > 
> > Back at last netconf we discussed [0] and agreed to remove this
> > check from bpf_prog_load() and instead document it here in the uapi
> > header that there is no such guarantee for stable API for these
> > programs.
> > 
> >    [0] http://vger.kernel.org/netconf2018_files/DanielBorkmann_netconf2018.pdf
> > 
> > Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
> > Acked-by: Alexei Starovoitov <ast@...nel.org>
> 
> For what it's worth,
> 
> Acked-by: Quentin Monnet <quentin.monnet@...ronome.com>

Applied, Thanks

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ