Skip to content

eBPF-based security platform

Documentation: write shirudo and upatches in lower case on the policy pages

Daniel Borkmanncad37f7d881c
diff --git a/Documentation/contribute/testing/test-coverage.rst b/Documentation/contribute/testing/test-coverage.rst
index 8ccc2e03..6b518498 100644
--- a/Documentation/contribute/testing/test-coverage.rst
+++ b/Documentation/contribute/testing/test-coverage.rst
@@ -603,7 +603,7 @@ Coverage by area
``t7103``, ``t9105``. Fuzz: ``tree``, ``tree-state``,
``kconfig``. Unit: ``kernel_build_id``, ``kernel_release``
* - Policy labels
- - Upatch labels and Beefile serialization: ``t3109``, ``t7006``.
+ - upatch labels and Beefile serialization: ``t3109``, ``t7006``.
Unauthorized policy-xattr changes: ``t6111``. Task and socket
inheritance: ``t6141``, ``t6142``
* - Telemetry
diff --git a/Documentation/internals/signed-loader.rst b/Documentation/internals/signed-loader.rst
index 3b382df5..ba72232f 100644
--- a/Documentation/internals/signed-loader.rst
+++ b/Documentation/internals/signed-loader.rst
@@ -117,7 +117,7 @@ loader inside the kernel, which ``lsm/bpf`` sees with ``kernel`` true.
- ``BPF_PROG_TEST_RUN`` of the loader
- ``lsm/bpf``, runtime authority (``ProgRun``). The loader then
runs in the kernel. When the signed ``SHPL`` section is present,
- Shirudo opens its pinned ``policy_map`` and
+ shirudo opens its pinned ``policy_map`` and
``socket_policy_map`` and supplies both FDs at their signed
descriptor indices. The generated loader reuses them; it neither
creates nor pins private copies.
diff --git a/Documentation/reference/formats/upatch-format.rst b/Documentation/reference/formats/upatch-format.rst
index 4fb2322c..a6f49f92 100644
--- a/Documentation/reference/formats/upatch-format.rst
+++ b/Documentation/reference/formats/upatch-format.rst
@@ -590,8 +590,8 @@ fixed-size entries. ``policy_map_idx`` and ``socket_policy_map_idx`` are
the zero-based indices of the shared maps in the loader's map descriptor
array. The builder accepts this section only when the BPF object declares
compatible maps named ``policy_map`` and ``socket_policy_map``. At load
-time, Shirudo supplies the pinned task and socket storage maps at those
-descriptors; the loader does not create or pin private copies. Upatches
+time, shirudo supplies the pinned task and socket storage maps at those
+descriptors; the loader does not create or pin private copies. upatches
without ``SHPL`` use their normal maps.
.. list-table::
diff --git a/Documentation/security/threat-model.rst b/Documentation/security/threat-model.rst
index 2084b86c..5a311209 100644
--- a/Documentation/security/threat-model.rst
+++ b/Documentation/security/threat-model.rst
@@ -678,7 +678,7 @@ declarations, and the target supplies both pinned map FDs to the
generated loader. The upatch's signed BPF programs can inspect task and
socket policy values at any supported LSM hook. Authors are expected to
read these values; the verifier does not prevent signed programs from
-changing them. Upatches without ``SHPL`` receive no binding to these
+changing them. upatches without ``SHPL`` receive no binding to these
maps.
The seal keeps a mark in inode storage on every labeled directory it
diff --git a/Documentation/upatches/publish/beefile.rst b/Documentation/upatches/publish/beefile.rst
index 8c0aff36..e97e2412 100644
--- a/Documentation/upatches/publish/beefile.rst
+++ b/Documentation/upatches/publish/beefile.rst
@@ -209,7 +209,7 @@ has fails. Entries that share a name must name the same input.
A policy table declares a named bit and the absolute paths whose
``security.bpf.shirudo.policy`` xattrs this upatch labels. The builder
embeds the entries in the signed ``SHPL`` section. Its presence opts the
-upatch into Shirudo's shared task ``policy_map`` and socket
+upatch into shirudo's shared task ``policy_map`` and socket
``socket_policy_map``. The generated loader reuses both pinned maps
rather than creating private copies. The BPF source must declare the map
ABI, normally by including ``shirudo_policy_map.h`` after ``vmlinux.h``
@@ -229,7 +229,7 @@ non-executable files.
For an upatch with at least one policy table, include
``shirudo_policy_map.h`` in its BPF source so it declares both shared maps
-with the required ABI. The header is installed beside the Shirudo BPF
+with the required ABI. The header is installed beside the shirudo BPF
headers. The signed ``SHPL`` section opts the upatch into these bindings;
declaring the maps without policy tables leaves them as ordinary
upatch-owned maps. Signed BPF programs can write the maps, so enforcement