eBPF-based security platform
treewide: stop pointing messages at files under Documentation/
Daniel Borkmanna692aec0a932
diff --git a/builtin-config.c b/builtin-config.cindex ad723747..e89ea8c5 100644--- a/builtin-config.c+++ b/builtin-config.c@@ -97,11 +97,10 @@ int cmd_config(int argc, const char **argv)printf("# TCTI override for the TPM library connection. Empty (default)\n""# means the kernel resource manager at `device:/dev/tpmrm0`.\n""# Set to `swtpm:host=<addr>,port=<port>` for a software TPM\n"- "# emulator (dev/CI without real hardware); see\n"- "# Documentation/getting-started.rst \"TPM in development\"\n"- "# for a worked recipe. Pre-flight skips the /dev/tpmrm0 check\n"- "# when this is set. The SHIRUDO_TPM_TCTI env var overrides\n"- "# this in turn.\n");+ "# emulator (dev/CI without real hardware); testing/swtpm.sh\n"+ "# in the source tree starts one. Pre-flight skips the\n"+ "# /dev/tpmrm0 check when this is set. The SHIRUDO_TPM_TCTI\n"+ "# env var overrides this in turn.\n");if (cfg.tpm_tcti[0]) {const char *env = image_mode ? NULL :getenv("SHIRUDO_TPM_TCTI");diff --git a/builtin-init.c b/builtin-init.cindex 1917a0fc..2f988aee 100644--- a/builtin-init.c+++ b/builtin-init.c@@ -135,11 +135,7 @@ static int init_bpf_keyring(key_serial_t ring,pr_err("bpf keyring: add %s: %s", set->certs[i].path,strerror(-key));if (key == -ENOENT || key == -ENOPKG)- pr_err("kernel cannot verify this cert's "- "public-key algorithm (ML-DSA needs "- "CONFIG_CRYPTO_MLDSA=y and "- "CONFIG_CRYPTO_SHA512=y; see "- "Documentation/requirements.rst)");+ pr_err("kernel cannot verify this cert's public-key algorithm (ML-DSA needs CONFIG_CRYPTO_MLDSA=y and CONFIG_CRYPTO_SHA512=y)");return key;}if (i > 0) {diff --git a/shirudo.c b/shirudo.cindex ba75b9a7..2166a6f8 100644--- a/shirudo.c+++ b/shirudo.c@@ -98,7 +98,6 @@ static int cmd_help(int argc, const char **argv)"target commands (run locally on the target):");print_group(GROUP_LOCAL, "local commands (operator or target):");print_group(GROUP_GENERAL, "other:");- fprintf(stderr, "See Documentation/ for the design.\n");return 0;}diff --git a/util/preflight.c b/util/preflight.cindex 06c33675..bbc4256f 100644--- a/util/preflight.c+++ b/util/preflight.c@@ -286,10 +286,7 @@ static void check_cert_kernel_algo(struct shirudo_preflight_result *r)continue;if (rc == ENOENT || rc == ENOPKG)fail(r, c,- "kernel cannot verify the public-key algorithm of "- "%s (ML-DSA certs need CONFIG_CRYPTO_MLDSA=y and "- "CONFIG_CRYPTO_SHA512=y; see "- "Documentation/requirements.rst)",+ "kernel cannot verify the public-key algorithm of %s (ML-DSA certs need CONFIG_CRYPTO_MLDSA=y and CONFIG_CRYPTO_SHA512=y)",set.certs[i].path);elsefail(r, c, "kernel rejected %s: %s "