Message ID | 20181212181820.779776-1-kafai@fb.com |
---|---|
Headers | show |
Series | Remove bpf_dump_raw_ok() check for func_info and line_info | expand |
On 12/12/18 10:18 AM, Martin KaFai Lau wrote: > 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(-) > Thanks for the fix! For the whole series, Acked-by: Yonghong Song <yhs@fb.com>
On 12/12/2018 07:18 PM, Martin KaFai Lau wrote: > 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(-) > Applied, thanks!