eBPF-based security platform
builtin: drop the last comments that say what
Daniel Borkmann19d0e3af666d
diff --git a/builtin-attest.c b/builtin-attest.cindex c9b0a548..f3c9543d 100644--- a/builtin-attest.c+++ b/builtin-attest.c@@ -230,7 +230,6 @@ static int cert_digest(const char *path, uint8_t out[32])return got == st.st_size ? 0 : -EIO;}-/* One "--event=<kind>:<name>=<hex>" after boot, folded in order. */static int apply_event(const char *spec, uint8_t chain[32]){char name[SHIRUDO_UPATCH_NAME_MAX + 1];@@ -262,7 +261,6 @@ static int apply_event(const char *spec, uint8_t chain[32])return -EINVAL;shirudo_chain_tree_event(seq, digest, event);} else if (kind_len == 6 && !strncmp(spec, "revoke", 6)) {- /* <name> is the fingerprint, <hex> the certificate digest. */shirudo_chain_key_event("shirudo-key-revoke", digest, event);} else {return -EINVAL;diff --git a/builtin-build.c b/builtin-build.cindex 192193fd..e4467921 100644--- a/builtin-build.c+++ b/builtin-build.c@@ -85,7 +85,6 @@ bool shirudo_build_available(void)return use_path ? on_path(helper) : access(helper, X_OK) == 0;}-/* Returns only on failure, with the exit status to report. */int shirudo_build_exec(const char *label, char **argv){bool use_path;diff --git a/builtin-init.c b/builtin-init.cindex bc2e514f..0529dfd5 100644--- a/builtin-init.c+++ b/builtin-init.c@@ -125,7 +125,6 @@ static int keyring_asymmetric_count(key_serial_t ring)static bool bpf_keyring_mode;-/* The certificates init enrolled this boot; the init event covers them. */static struct shirudo_trusted_set enrolled;static bool initrd_mode;diff --git a/builtin-upatch.c b/builtin-upatch.cindex 0fdbb249..2d79e3a1 100644--- a/builtin-upatch.c+++ b/builtin-upatch.c@@ -3465,7 +3465,6 @@ static void age_from_ts(const char *ts, char *out, size_t cap)shirudo_format_duration((long)(time(NULL) - timegm(&tm)), out, cap);}-/* Text render of one map; cap=0 means "lift the truncation". */static void render_one_map_text(const char *upatch, const char *map,uint32_t cap){