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]
Message-ID: <a6d7771f-0817-599b-cf9e-aad6c6a142a8@iogearbox.net>
Date:   Fri, 15 Jun 2018 03:15:53 +0200
From:   Daniel Borkmann <daniel@...earbox.net>
To:     Jakub Kicinski <jakub.kicinski@...ronome.com>,
        alexei.starovoitov@...il.com
Cc:     netdev@...r.kernel.org, oss-drivers@...ronome.com
Subject: Re: [PATCH bpf 0/2] bpf: fix the load time reporting and make offload
 test more resilient

On 06/14/2018 08:06 PM, Jakub Kicinski wrote:
> Hi!
> 
> This small series allows test_offload.py selftest to run on modern
> distributions which may create BPF programs for cgroups at boot,
> like Ubuntu 18.04.  We still expect the program list to not be
> altered by any other agent while the test is running, but no longer
> depend on there being no BPF programs at all at the start.
> 
> Fixing the test revealed a small problem with bpftool, which doesn't
> report the program load time very accurately.  Because nanoseconds
> were not taken into account reported load time would fluctuate by
> 1 second.  First patch of the series takes care of fixing that.
> 
> Jakub Kicinski (2):
>   tools: bpftool: improve accuracy of load time
>   selftests/bpf: test offloads even with BPF programs present
> 
>  tools/bpf/bpftool/prog.c                    |  4 +++-
>  tools/testing/selftests/bpf/test_offload.py | 12 ++++++++++--
>  2 files changed, 13 insertions(+), 3 deletions(-)
> 

Applied to bpf, thanks Jakub!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ