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(-) -- 2.17.1