Re: [PATCH bpf-next v4 00/21] bpf: implement bpf iterator for kernel data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
https://reviews.llvm.org/D78466.
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.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux