lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251225091352.3048-1-niuwl1@chinatelecom.cn>
Date: Thu, 25 Dec 2025 17:13:52 +0800
From: WanLi Niu <niuwl1@...natelecom.cn>
To: Quentin Monnet <qmo@...nel.org>
Cc: Alexei Starovoitov <ast@...nel.org>,
	Daniel Borkmann <daniel@...earbox.net>,
	Andrii Nakryiko <andrii@...nel.org>,
	Martin KaFai Lau <martin.lau@...ux.dev>,
	Eduard Zingerman <eddyz87@...il.com>,
	Song Liu <song@...nel.org>,
	Yonghong Song <yonghong.song@...ux.dev>,
	John Fastabend <john.fastabend@...il.com>,
	KP Singh <kpsingh@...nel.org>,
	Stanislav Fomichev <sdf@...ichev.me>,
	Hao Luo <haoluo@...gle.com>,
	Jiri Olsa <jolsa@...nel.org>,
	WanLi Niu <niuwl1@...natelecom.cn>,
	hlleng <a909204013@...il.com>,
	bpf@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH bpf-next] bpftool: add missing --sign option to help output

Signed-off-by: WanLi Niu <niuwl1@...natelecom.cn>
Co-developed-by: hlleng <a909204013@...il.com>
Signed-off-by: hlleng <a909204013@...il.com

---
 tools/bpf/bpftool/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/bpf/bpftool/main.c b/tools/bpf/bpftool/main.c
index a829a6a49037..3b4987a2f1bb 100644
--- a/tools/bpf/bpftool/main.c
+++ b/tools/bpf/bpftool/main.c
@@ -66,6 +66,7 @@ static int do_help(int argc, char **argv)
 		"\n"
 		"       OBJECT := { prog | map | link | cgroup | perf | net | feature | btf | gen | struct_ops | iter | token }\n"
 		"       " HELP_SPEC_OPTIONS " |\n"
+		"                    { {-S|--sign {-k|--private_key_path} {-i|--cert_path} } |\n"
 		"                    {-V|--version} }\n"
 		"",
 		bin_name, bin_name, bin_name);
@@ -452,6 +453,8 @@ int main(int argc, char **argv)
 		{ "debug",	no_argument,	NULL,	'd' },
 		{ "use-loader",	no_argument,	NULL,	'L' },
 		{ "sign",	no_argument,	NULL,	'S' },
+		{ "private_key_path",	required_argument,	NULL,	'k' },
+		{ "cert_path",	required_argument,	NULL,	'i' },
 		{ "base-btf",	required_argument, NULL, 'B' },
 		{ 0 }
 	};
-- 
2.39.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ