Skip to content

eBPF-based security platform

shirudo-build: harden the process that holds the signing key

Daniel Borkmann2a1629544aae
diff --git a/tools/shirudo-build/shirudo-build.c b/tools/shirudo-build/shirudo-build.c
index ec8bf615..a1901a81 100644
--- a/tools/shirudo-build/shirudo-build.c
+++ b/tools/shirudo-build/shirudo-build.c
@@ -237,6 +237,7 @@ int main(int argc, char **argv)
shirudo_harden_stdio();
shirudo_log_init();
+ shirudo_harden_self();
if (argc >= 2 && strcmp(argv[1], "bpm") == 0)
return shirudo_build_bpm(argc - 1, argv + 1);