eBPF-based security platform
docs: stop naming kernel lockdown as something the deployment provides
Daniel Borkmann8d5809f25fbe
diff --git a/Documentation/concepts/background/boot.rst b/Documentation/concepts/background/boot.rstindex fcdb8c80..c90efbda 100644--- a/Documentation/concepts/background/boot.rst+++ b/Documentation/concepts/background/boot.rst@@ -233,9 +233,11 @@ shirudo does not build or sign the UKI.The boot chain gives shirudo an authenticated starting point. SecureBoot ensures the initrd and command line are the signed ones, and theroot hash in the initrd's settings then authenticates the runtime-image, see :doc:`dm-verity`. shirudo itself checks neither the Secure-Boot state nor kernel lockdown. It relies on the deployment to enable-Secure Boot, and a verifier can check PCR 7 in the evidence.+image, see :doc:`dm-verity`. shirudo itself does not check the Secure+Boot state. It relies on the deployment to enable Secure Boot, and a+verifier can check PCR 7 in the evidence. Kernel lockdown it does not+need: from ``init`` on, its own programs refuse what lockdown in+integrity mode refuses, see :doc:`/operate/plan/hardening`.Figure 1 shows where shirudo's run falls among these measurements.``shirudo-initrd.service`` orders itself after the units that measurediff --git a/Documentation/contribute/testing/test-coverage.rst b/Documentation/contribute/testing/test-coverage.rstindex b1987fc0..a1331ca0 100644--- a/Documentation/contribute/testing/test-coverage.rst+++ b/Documentation/contribute/testing/test-coverage.rst@@ -1196,8 +1196,9 @@ Most of these attacks are open threats in- Making ``init`` read another boot ID, or miss this boot's initrecord by other means than the unlabeled state directory ``t6115``covers, so that it binds the register again.-- A target without kernel lockdown. The test kernel enables no- lockdown.+- A target whose kernel runs the lockdown LSM, in integrity or in+ confidentiality mode. The test kernel enables no lockdown, so+ ``t6154`` covers what ``bpf2`` refuses on its own.- A failure of ``shirudo-initrd.service`` that lets the boot continuewithout enforcement, and a first ``init`` outside the initrd.- Another LSM denying the read of a seal label. The test kernel runsdiff --git a/Documentation/operate/plan/system-requirements.rst b/Documentation/operate/plan/system-requirements.rstindex 7eebda3c..d44ff4c2 100644--- a/Documentation/operate/plan/system-requirements.rst+++ b/Documentation/operate/plan/system-requirements.rst@@ -203,9 +203,10 @@ these options and additional ones that the tests use.- ``/run/shirudo`` carries the same label.:doc:`/operate/plan/hardening` lists the options the trust model assumes-beyond this table, lockdown, module signatures, ``CONFIG_COMPAT`` and-others, and why the dm-verity root-hash check accepting keys of the-kernel's other keyrings does not let them sign a config.+beyond this table, module signatures, ``CONFIG_COMPAT`` and others, why+kernel lockdown is not among them, and why the dm-verity root-hash check+accepting keys of the kernel's other keyrings does not let them sign a+config.Kernel command line~~~~~~~~~~~~~~~~~~~diff --git a/Documentation/security/security-model.rst b/Documentation/security/security-model.rstindex 4889b44d..ba7fdc15 100644--- a/Documentation/security/security-model.rst+++ b/Documentation/security/security-model.rst@@ -107,7 +107,7 @@ The properties above hold only on a deployment that provides theshirudo checks only some of these. The pre-flight of ``shirudo init``checks that the BPF LSM is active and that the kernel has thesigned-loader ABI. The target checks a config's signature against the-runtime image's keys itself. It does not check lockdown, the kernel+runtime image's keys itself. It does not check the kernelconfiguration or the boot chain (U10).What you must dodiff --git a/Documentation/start/faq.rst b/Documentation/start/faq.rstindex ac73b7bd..eaa869af 100644--- a/Documentation/start/faq.rst+++ b/Documentation/start/faq.rst@@ -36,9 +36,10 @@ Can root turn shirudo off?Not without the signing key: root cannot load unsigned BPF, detach theenforcement or change shirudo's state. Root with a way into the kernel-itself, such as a kernel exploit or a kernel without lockdown, goes-around every check made in that kernel. :doc:`/security/security-model`-lists what shirudo protects and where it stops, and+itself, such as a kernel exploit or a kernel built without module+signatures (``CONFIG_MODULE_SIG``), which loads any module, goes around+every check made in that kernel. :doc:`/security/security-model` lists+what shirudo protects and where it stops, and:doc:`/operate/plan/hardening` lists the kernel settings it relies on.Does a target need a TPM?