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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 9 May 2020 17:27:31 -0700
From:   Alexei Starovoitov <>
To:     Yonghong Song <>
Cc:     Andrii Nakryiko <>,,
        Martin KaFai Lau <>,,
        Alexei Starovoitov <>,
        Daniel Borkmann <>,
Subject: Re: [PATCH bpf-next v4 00/21] bpf: implement bpf iterator for kernel

On Sat, May 09, 2020 at 10:58:59AM -0700, Yonghong Song wrote:
> Changelog:
>   v3 -> v4:
>     - in bpf_seq_read(), if start() failed with an error, return that
>       error to user space (Andrii)
>     - in bpf_seq_printf(), if reading kernel memory failed for
>       %s and %p{i,I}{4,6}, set buffer to empty string or address 0.
>       Documented this behavior in uapi header (Andrii)
>     - fix a few error handling issues for bpftool (Andrii)
>     - A few other minor fixes and cosmetic changes.

Looks great overall. Applied.
But few follow ups are necessary.

The main gotcha is that new tests need llvm with the fix
I think it was applied to llvm 10 branch already,
but please add selftests/bpf/README.rst and mention
that above llvm commit is necessary to successfully pass the tests.
Also mention the verifier error that folks will see when llvm is buggy.

Few other nits I noticed in relevant patches.

Powered by blists - more mailing lists