From: Martin KaFai Lau Subject: [PATCH bpf-next 0/2] Remove bpf_dump_raw_ok() check for func_info and line_info Date: Wed, 12 Dec 2018 10:18:20 -0800 Message-ID: <20181212181820.779776-1-kafai@fb.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Alexei Starovoitov , Daniel Borkmann , To: Return-path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:43590 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727748AbeLLSS7 (ORCPT ); Wed, 12 Dec 2018 13:18:59 -0500 Received: from pps.filterd (m0044012.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBCIGhfV032297 for ; Wed, 12 Dec 2018 10:18:58 -0800 Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2pb4e50rk3-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Wed, 12 Dec 2018 10:18:58 -0800 Sender: netdev-owner@vger.kernel.org List-ID: 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