Skip to content

Remove bpf_dump_raw_ok() check for func_info and line_info

Martin KaFai Lau netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2bpf: Remove bpf_dump_raw_ok() check for func_info and line_infokernel/bpf/syscall.c+12 -200 replies
2/2bpf: Remove !func_info and !line_info check from test_btf and bpftooltools/bpf/bpftool/prog.c tools/lib/bpf/bpf_prog_linfo.c tools/testing/selftests/bpf/test_btf.c+1 -190 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchYonghong Song
SeriesA-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/2] Remove bpf_dump_raw_ok() check for func_info and line_info

This patch set removes the bpf_dump_raw_ok() guard for the func_info and line_info during bpf_prog_get_info_by_fd().

Please see individual patch for details.

Martin KaFai Lau (2):
bpf: Remove bpf_dump_raw_ok() check for func_info and line_info
bpf: Remove !func_info and !line_info check from test_btf and bpftool

 kernel/bpf/syscall.c                   | 32 ++++++++++----------------
 tools/bpf/bpftool/prog.c               |  7 ------
 tools/lib/bpf/bpf_prog_linfo.c         |  6 +----
 tools/testing/selftests/bpf/test_btf.c |  7 ------
 4 files changed, 13 insertions(+), 39 deletions(-)
Signature · 1 line
2.17.1