eBPF-based security platform
docs: use "a upatch" instead "an upatch"
Mahe Tardycd93eadf9d6e
diff --git a/.agents/skills/bpf-coccinelle/SKILL.md b/.agents/skills/bpf-coccinelle/SKILL.mdindex b111345d..3d7f9ab2 100644--- a/.agents/skills/bpf-coccinelle/SKILL.md+++ b/.agents/skills/bpf-coccinelle/SKILL.md@@ -1,6 +1,6 @@---name: bpf-coccinelle-description: Check upatch BPF code with shirudo's Coccinelle rules for concurrency hazards, run them on one file or package outside the tree, read a match, and add a rule for a pattern worth refusing for good. Use while writing or reviewing an upatch's BPF C, when check-coccinelle.sh reports a bpf_ rule, or when a hazard keeps coming back and should get a rule.+description: Check upatch BPF code with shirudo's Coccinelle rules for concurrency hazards, run them on one file or package outside the tree, read a match, and add a rule for a pattern worth refusing for good. Use while writing or reviewing a upatch's BPF C, when check-coccinelle.sh reports a bpf_ rule, or when a hazard keeps coming back and should get a rule.---# Coccinelle for upatch BPF code@@ -29,7 +29,7 @@ On the tree, from the checkout root, by rule name:bpf_cas_unchecked bpf_publish bpf_user_double_fetch bpf_map_use_after_delete```-On a file the tree does not track, such as an upatch under development,+On a file the tree does not track, such as a upatch under development,run spatch from the checkout root, where the `#spatch` line of each rulefinds `testing/coccinelle/bpf.macros`:diff --git a/.agents/skills/bpf-concurrency/SKILL.md b/.agents/skills/bpf-concurrency/SKILL.mdindex 71dac27e..788ff6d7 100644--- a/.agents/skills/bpf-concurrency/SKILL.md+++ b/.agents/skills/bpf-concurrency/SKILL.md@@ -1,6 +1,6 @@---name: bpf-concurrency-description: Write or review BPF code in a shirudo upatch whose runs share state, across CPUs at once or interleaved on one. Covers shared map values, per-CPU scratch, inserting and deleting entries, compare-and-swap, publishing records, double buffers, user memory, and the runs the kernel skips. Use when an upatch program updates state other runs read, when a lock, atomic, acquire or release is involved, or to check such code with the Coccinelle rules and blitmus.+description: Write or review BPF code in a shirudo upatch whose runs share state, across CPUs at once or interleaved on one. Covers shared map values, per-CPU scratch, inserting and deleting entries, compare-and-swap, publishing records, double buffers, user memory, and the runs the kernel skips. Use when a upatch program updates state other runs read, when a lock, atomic, acquire or release is involved, or to check such code with the Coccinelle rules and blitmus.---# Concurrent BPF code in upatchesdiff --git a/.agents/skills/coding/SKILL.md b/.agents/skills/coding/SKILL.mdindex dca6e051..43f3d405 100644--- a/.agents/skills/coding/SKILL.md+++ b/.agents/skills/coding/SKILL.md@@ -314,7 +314,7 @@ already, or should. The basics:|---|---|| Parse a number | `parse_u64()`, `parse_s64()`, `parse_x64()`, `digits()` (`<shirudo/string.h>`) || Copy or format a string | `strscpy()`, `strsprintf()`, `vstrsprintf()`, and check `-E2BIG` |-| An upatch's pin directory or a pin in it | `upatch_pin_path()` (`util/paths.h`) |+| A upatch's pin directory or a pin in it | `upatch_pin_path()` (`util/paths.h`) || A string's prefix, or a span that must be one literal | `str_has_prefix()` to test a prefix, `str_skip_prefix()` to step past it, `span_equals()` for a span of known length (`<shirudo/string.h>`); never `strncmp()` with a length counted by hand || A file name's extension | `name_has_suffix()` (`<shirudo/string.h>`), `upatch_select()` for a scandir of upatches || Text from outside on a terminal | `text_sanitize()`; UTF-8 with `utf8_width()` |diff --git a/.agents/skills/upatch/SKILL.md b/.agents/skills/upatch/SKILL.mdindex 85ce43b9..542c7412 100644--- a/.agents/skills/upatch/SKILL.md+++ b/.agents/skills/upatch/SKILL.md@@ -1,6 +1,6 @@---name: upatch-description: Write, build, sign, inspect and package a shirudo upatch. Covers the BPF C program written for the target kernels' preemption model and at a low cost on machines large and small, `shirudo build` for a .upatch and its unload directive, the Beefile and `shirudo bpm build` for a .bee package, `bpm info` to inspect one, `bpm push` and `bpm tree append` to publish, `bpm tree show` to read a publication back, and loading it on a test target. Use when asked to create, change or ship an upatch or a bpm package, or to reproduce a failed upatch build or load.+description: Write, build, sign, inspect and package a shirudo upatch. Covers the BPF C program written for the target kernels' preemption model and at a low cost on machines large and small, `shirudo build` for a .upatch and its unload directive, the Beefile and `shirudo bpm build` for a .bee package, `bpm info` to inspect one, `bpm push` and `bpm tree append` to publish, `bpm tree show` to read a publication back, and loading it on a test target. Use when asked to create, change or ship a upatch or a bpm package, or to reproduce a failed upatch build or load.---# Upatch@@ -56,7 +56,7 @@ it before writing code that shares state:## Keep its cost low-An upatch runs on every event of its hooks, on servers with hundreds of+A upatch runs on every event of its hooks, on servers with hundreds ofCPUs and on embedded devices with little memory, and shirudo boundsneither how often its programs run nor how large its maps are(`Documentation/operate/plan/overhead.rst`). Make each run cheap:diff --git a/Documentation/concepts/background/bpf-signing.rst b/Documentation/concepts/background/bpf-signing.rstindex 9bd01e21..6ae6e41e 100644--- a/Documentation/concepts/background/bpf-signing.rst+++ b/Documentation/concepts/background/bpf-signing.rst@@ -89,7 +89,7 @@ Because the maps folded into the signature are the ones the programbinds, from a single resolution of ``fd_array``, nothing can swap theverified bytes for others after the check. Figure 1 of:doc:`/internals/signed-loader` places these checks among the calls of-an upatch load.+a upatch load.Verdict-------diff --git a/Documentation/concepts/background/bpf.rst b/Documentation/concepts/background/bpf.rstindex a16107e3..ea31a4fb 100644--- a/Documentation/concepts/background/bpf.rst+++ b/Documentation/concepts/background/bpf.rst@@ -133,7 +133,7 @@ attaches each program to its hook and pins every link underthese pins are what keep enforcement attached after init exits. See:doc:`/internals/enforcement` and :doc:`/internals/seal`.-An upatch carries a signed loader that gen_loader produced on the+A upatch carries a signed loader that gen_loader produced on theoperator host. ``shirudo upatch load`` loads the loader with itssignature, runs it with ``BPF_PROG_TEST_RUN``, attaches the payloadprograms the loader created and pins their links under@@ -151,8 +151,8 @@ Limits------The verifier bounds what a program can do to the kernel, not what it-decides. An upatch that passes the verifier can still break a workload by+decides. A upatch that passes the verifier can still break a workload bydenying the wrong operation. shirudo signs and measures upatches so thatan operator knows which programs run; it does not judge whether they are-correct. See :doc:`/upatches/test/testing` for testing an upatch before it+correct. See :doc:`/upatches/test/testing` for testing a upatch before itships.diff --git a/Documentation/concepts/background/co-re-btf.rst b/Documentation/concepts/background/co-re-btf.rstindex 5de055a2..9bd8fe3e 100644--- a/Documentation/concepts/background/co-re-btf.rst+++ b/Documentation/concepts/background/co-re-btf.rst@@ -138,7 +138,7 @@ kernel with BPF signing.What a mismatch looks like---------------------------An upatch that touches a field the target kernel lacks fails when the+A upatch that touches a field the target kernel lacks fails when theloader loads the payload. ``shirudo upatch load`` reports category``verifier_rejected`` in phase ``payload_load`` and includes the loader'slog, where the verifier's message for the payload appears. See@@ -156,5 +156,5 @@ LimitsCO-RE matches types and fields by name and layout, not by meaning. Afield that keeps its name but changes what it holds relocates withoutcomplaint, and a renamed field fails to relocate even if its meaning is-unchanged. An upatch built for one kernel release still needs testing on+unchanged. A upatch built for one kernel release still needs testing onevery kernel it ships to; see :doc:`/upatches/test/testing`.diff --git a/Documentation/concepts/comparisons.rst b/Documentation/concepts/comparisons.rstindex cfce4904..91f3792f 100644--- a/Documentation/concepts/comparisons.rst+++ b/Documentation/concepts/comparisons.rst@@ -34,7 +34,7 @@ signature enforcement and lockdown. The livepatch subsystem does notmeasure the patches it applies into the TPM, though IMA can measuremodule loads.-shirudo complements live patching. An upatch cannot replace a function+shirudo complements live patching. A upatch cannot replace a functionbody. It can refuse a call before the function runs, at an LSM hook, a``security_*`` function, a system call entry or a function marked forerror injection, and it can observe or filter@@ -42,7 +42,7 @@ error injection, and it can observe or filterevery program, CO-RE lets one artifact load on more than one kernelbuild, and each load and unload is measured. A target can run both:shirudo does not gate module loading (:doc:`/operate/plan/interoperability`).-Used together, an upatch blocks a vulnerable path until a live patch or a+Used together, a upatch blocks a vulnerable path until a live patch or afixed kernel is in place, and a signed unload directive removes it then.IMA and IPEdiff --git a/Documentation/concepts/glossary.rst b/Documentation/concepts/glossary.rstindex f630e7da..83751f29 100644--- a/Documentation/concepts/glossary.rst+++ b/Documentation/concepts/glossary.rst@@ -25,7 +25,7 @@ it.arenaA BPF map of type ``BPF_MAP_TYPE_ARENA``, a memory region from which- BPF programs allocate records directly. An upatch that accumulates+ BPF programs allocate records directly. A upatch that accumulatesrecords keeps them in one arena, which its serializer reads as oneconsistent snapshot and can reset between exports.:src:`upatches/kernel-obs/obs_table.h` is the template for a@@ -110,7 +110,7 @@ it.See :doc:`/internals/config-images`.decoder- A Lua function shipped inside an upatch that turns a snapshot of one+ A Lua function shipped inside a upatch that turns a snapshot of onemap into OTLP log records or metrics. The program declares it witha ``struct decoder_manifest`` in ``.rodata``,``shirudo-build`` embeds the source in the signed ``DCDB`` section,@@ -192,7 +192,7 @@ it.account. See :doc:`/operate/run/telemetry`.load artifact- A ``.upatch`` file that installs an upatch: a header with the name+ A ``.upatch`` file that installs a upatch: a header with the nameand the payload digest, the signed loader's instructions, theloader's data with the signed sections, and a CMS signature over theinstructions followed by the data. ``shirudo build`` writes it, and@@ -344,7 +344,7 @@ it.:doc:`/internals/seal`.selector- The condition on an upatch tree operation: lists of architectures,+ The condition on a upatch tree operation: lists of architectures,kernel release prefixes, kernel build IDs, kernel configurationvalues and node labels. ``shirudo bpm tree sync`` evaluates it onthe target and applies only matching operations, and a@@ -352,7 +352,7 @@ it.:doc:`/upatches/publish/publishing`.serializer- A ``SEC("syscall")`` program in an upatch, named+ A ``SEC("syscall")`` program in a upatch, named``shirudo_serialize__<map>``, that renders one map into theupatch's ``shirudo_ser`` output map in chunks of 4096 bytes.``shirudo upatch map`` runs it with ``BPF_PROG_TEST_RUN``, which@@ -386,7 +386,7 @@ it.signed loaderA BPF program of type ``BPF_PROG_TYPE_SYSCALL``, generated by- libbpf's ``gen_loader``, that creates an upatch's maps and loads its+ libbpf's ``gen_loader``, that creates a upatch's maps and loads itsprograms from inside the kernel. The operator signs its instructionsfollowed by its data, and the kernel checks that signature at``BPF_PROG_LOAD`` against the ``.bpf`` keyring. After ``init``, it@@ -425,7 +425,7 @@ it.instead of the task's path or user. See :doc:`/internals/seal`.tree publication- One generation of an upatch tree: a JSON document with the tree ID,+ One generation of a upatch tree: a JSON document with the tree ID,the generation number, the digest of the manifest it replaces andthe ordered operations, published with a detached CMS signatureunder a tag of the tree repository, ``stable`` by default. ``shirudodiff --git a/Documentation/concepts/measurement-register.rst b/Documentation/concepts/measurement-register.rstindex e8b13348..4d12068b 100644--- a/Documentation/concepts/measurement-register.rst+++ b/Documentation/concepts/measurement-register.rst@@ -241,7 +241,7 @@ state that shirudo's commands established since boot.What attestation does not prove~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-- It does not show that an upatch is correct, only which upatches were+- It does not show that a upatch is correct, only which upatches wereloaded.- It covers what shirudo measured. A compromised kernel, or code runningin a task with runtime authority, can change BPF state or extend thediff --git a/Documentation/concepts/upatches-and-packages.rst b/Documentation/concepts/upatches-and-packages.rstindex 7567a2d6..c1af4162 100644--- a/Documentation/concepts/upatches-and-packages.rst+++ b/Documentation/concepts/upatches-and-packages.rst@@ -20,7 +20,7 @@ at the end summarize them.upatches---------An upatch is one BPF object, built and signed as a unit: one or more+A upatch is one BPF object, built and signed as a unit: one or moreprograms, their maps, and the metadata that says where each programattaches. The target loads, pins, archives and measures it as a whole.@@ -35,7 +35,7 @@ and the events in the measurement register.Load artifacts~~~~~~~~~~~~~~-A load artifact is the ``.upatch`` file that installs an upatch. It holds+A load artifact is the ``.upatch`` file that installs a upatch. It holdsa fixed header, the instructions of a signed loader, the loader's data,and a CMS signature over the instructions followed by the data. The datacarries what the loader installs: the payload programs and the map@@ -118,7 +118,7 @@ A package groups upatches that belong together into one versioned file.Its definition is a Beefile, a file in a subset of TOML in the packagedirectory. The Beefile names the package and lists its upatch sources,optional generators for read-only data, extra files to ship and, per-upatch, the selector it gets when published to an upatch tree.+upatch, the selector it gets when published to a upatch tree.:doc:`/reference/formats/beefile` describes every key.``shirudo bpm build`` builds and signs every upatch the Beefile lists,@@ -252,7 +252,7 @@ checks it, and what the measurement register records.Limits-------A signature proves who built an upatch and that it was not tampered with.+A signature proves who built a upatch and that it was not tampered with.It says nothing about whether the upatch is correct. The kernel's verifierchecks memory safety, and the rest is the author's responsibility.diff --git a/Documentation/contribute/testing/proof-coverage.rst b/Documentation/contribute/testing/proof-coverage.rstindex a658633d..975a4004 100644--- a/Documentation/contribute/testing/proof-coverage.rst+++ b/Documentation/contribute/testing/proof-coverage.rst@@ -365,7 +365,7 @@ or shorter, and "lengths 0 to 6" every input of each of those lengths.``tree_operation_validate()`` takes, ids up to 8 bytes; theemitter, the directory or the write failing. ``util/json.c`` is astub that passes keys and values- - Takes exactly a whole record of schema 1 with a positive seq, an+ - Takes exactly a whole record of schema 1 with a positive seq, aupatch name and a sha256 digest; writes schema 1 and theoperation's seq, id and digest once, which reads back as theoperation's@@ -466,7 +466,7 @@ or shorter, and "lengths 0 to 6" every input of each of those lengths.* - ``bpm-beefile-tables``- ``build_parse_spec()``, ``build_add_target()``- One table header after every count of its kind up to the limit;- ``[upatches.tree]`` and the sub-tables without an upatch; four+ ``[upatches.tree]`` and the sub-tables without a upatch; fourfixed targets- ``[[files]]``, ``[[upatches]]``, ``[[upatches.rodata]]`` and``[[upatches.policy]]`` are counted below 128, 128, 16 and 64 anddiff --git a/Documentation/contribute/testing/test-coverage.rst b/Documentation/contribute/testing/test-coverage.rstindex 996c2984..b2d991c0 100644--- a/Documentation/contribute/testing/test-coverage.rst+++ b/Documentation/contribute/testing/test-coverage.rst@@ -761,7 +761,7 @@ signed config image.* - ``t9109-pipeline``- The whole keepalive pipeline on a fresh edge node and node B, runby ``host.sh`` on the host: ``bpm build`` and ``bpm tree append``- of an upatch with ``fixes``, tree sync on both nodes, quoted+ of a upatch with ``fixes``, tree sync on both nodes, quotedkeepalives through the backend's collector and checker, its treeingest and sbom-scan jobs, node B enrolled from its vTPMbuilder's names and the edge node left untrusted,@@ -880,7 +880,7 @@ the functional tests run.* - ``tpm-wire``- TPM structures in evidence* - ``tree``- - An upatch tree publication+ - A upatch tree publication* - ``tree-state``- The tree's ``state.json``, eventlog and outcome lines* - ``upatch``diff --git a/Documentation/figures/background-oci-digests.tex b/Documentation/figures/background-oci-digests.texindex 6db936db..dcc0e690 100644--- a/Documentation/figures/background-oci-digests.tex+++ b/Documentation/figures/background-oci-digests.tex@@ -3,7 +3,7 @@%% Which registry object names which by digest, from the tag a target% resolves to the .upatch the kernel verifies, for a package installed-% from an index, a direct install by tag and an upatch tree+% from an index, a direct install by tag and a upatch tree% (concepts/background/oci.rst).\documentclass[tikz,dvisvgm]{standalone}\usepackage{shirudo-figure}diff --git a/Documentation/figures/internals-register-lock.tex b/Documentation/figures/internals-register-lock.texindex 5e0a207a..11600b19 100644--- a/Documentation/figures/internals-register-lock.tex+++ b/Documentation/figures/internals-register-lock.tex@@ -1,7 +1,7 @@% SPDX-License-Identifier: BSD-2-Clause% Copyright (c) 2026 Authors of shirudo%-% The steps of an upatch load, an upatch unload and a revocation's purge+% The steps of a upatch load, a upatch unload and a revocation's purge% of one upatch, the span each holds eventlog.lock, and what a failure or% a stop between two steps leaves (internals/measurement-register.rst).\documentclass[tikz,dvisvgm]{standalone}diff --git a/Documentation/figures/start-how-it-works.tex b/Documentation/figures/start-how-it-works.texindex 3388232a..c810ee09 100644--- a/Documentation/figures/start-how-it-works.tex+++ b/Documentation/figures/start-how-it-works.tex@@ -1,7 +1,7 @@% SPDX-License-Identifier: BSD-2-Clause% Copyright (c) 2026 Authors of shirudo%-% The life of an upatch from the operator host through a registry to a+% The life of a upatch from the operator host through a registry to a% target and its TPM, and the evidence back to the operator, in the% numbered steps of start/how-it-works.rst.\documentclass[tikz,dvisvgm]{standalone}diff --git a/Documentation/images/background-oci-digests.svg b/Documentation/images/background-oci-digests.svgindex 666da323..ccbaf0eb 100644--- a/Documentation/images/background-oci-digests.svg+++ b/Documentation/images/background-oci-digests.svg@@ -1,42 +1,37 @@-<svg xmlns='http://www.w3.org/2000/svg' width='840.0' height='580.0' viewBox='-72 -72 629.996 434.997' class='fig fig-f-ink' role='img'><!-- Documentation/figures/background-oci-digests.tex, sha256 7917e06cb8eb4ad945c22d1e942f49b5e3d4cd1eebc30f0a7894fbc420ad3043 --><style>.fig-f-ink{fill:var(--fig-ink,#171b22)}.fig-s-ink{stroke:var(--fig-ink,#171b22)}.fig-f-muted{fill:var(--fig-muted,#5d6675)}.fig-s-muted{stroke:var(--fig-muted,#5d6675)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#e2e6eb)}.fig-s-grid{stroke:var(--fig-grid,#e2e6eb)}.fig-f-axis{fill:var(--fig-axis,#c3c9d1)}.fig-s-axis{stroke:var(--fig-axis,#c3c9d1)}.fig-f-accent{fill:var(--fig-accent,#8b1e3f)}.fig-s-accent{stroke:var(--fig-accent,#8b1e3f)}.fig-f-s1{fill:var(--fig-s1,#2a78d6)}.fig-s-s1{stroke:var(--fig-s1,#2a78d6)}.fig-f-s2{fill:var(--fig-s2,#eb6834)}.fig-s-s2{stroke:var(--fig-s2,#eb6834)}.fig-f-s3{fill:var(--fig-s3,#1baf7a)}.fig-s-s3{stroke:var(--fig-s3,#1baf7a)}.fig-f-s4{fill:var(--fig-s4,#eda100)}.fig-s-s4{stroke:var(--fig-s4,#eda100)}.fig-f-free{fill:var(--fig-free,#dde2e8)}.fig-s-free{stroke:var(--fig-free,#dde2e8)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}@media (prefers-color-scheme:dark){.fig-f-ink{fill:var(--fig-ink,#e4e8ee)}.fig-s-ink{stroke:var(--fig-ink,#e4e8ee)}.fig-f-muted{fill:var(--fig-muted,#9ba5b3)}.fig-s-muted{stroke:var(--fig-muted,#9ba5b3)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#262d37)}.fig-s-grid{stroke:var(--fig-grid,#262d37)}.fig-f-axis{fill:var(--fig-axis,#39414c)}.fig-s-axis{stroke:var(--fig-axis,#39414c)}.fig-f-accent{fill:var(--fig-accent,#e8899f)}.fig-s-accent{stroke:var(--fig-accent,#e8899f)}.fig-f-s1{fill:var(--fig-s1,#3987e5)}.fig-s-s1{stroke:var(--fig-s1,#3987e5)}.fig-f-s2{fill:var(--fig-s2,#d95926)}.fig-s-s2{stroke:var(--fig-s2,#d95926)}.fig-f-s3{fill:var(--fig-s3,#199e70)}.fig-s-s3{stroke:var(--fig-s3,#199e70)}.fig-f-s4{fill:var(--fig-s4,#c98500)}.fig-s-s4{stroke:var(--fig-s4,#c98500)}.fig-f-free{fill:var(--fig-free,#2f3640)}.fig-s-free{stroke:var(--fig-free,#2f3640)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}}</style>+<svg xmlns='http://www.w3.org/2000/svg' width='840.0' height='580.0' viewBox='-72 -72 629.996 434.997' class='fig fig-f-ink' role='img'><!-- Documentation/figures/background-oci-digests.tex, sha256 b56b4aaecc4a63deee3662d9f74344721b6e27b94385d53232c60bc65985e7f5 --><style>.fig-f-ink{fill:var(--fig-ink,#171b22)}.fig-s-ink{stroke:var(--fig-ink,#171b22)}.fig-f-muted{fill:var(--fig-muted,#5d6675)}.fig-s-muted{stroke:var(--fig-muted,#5d6675)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#e2e6eb)}.fig-s-grid{stroke:var(--fig-grid,#e2e6eb)}.fig-f-axis{fill:var(--fig-axis,#c3c9d1)}.fig-s-axis{stroke:var(--fig-axis,#c3c9d1)}.fig-f-accent{fill:var(--fig-accent,#8b1e3f)}.fig-s-accent{stroke:var(--fig-accent,#8b1e3f)}.fig-f-s1{fill:var(--fig-s1,#2a78d6)}.fig-s-s1{stroke:var(--fig-s1,#2a78d6)}.fig-f-s2{fill:var(--fig-s2,#eb6834)}.fig-s-s2{stroke:var(--fig-s2,#eb6834)}.fig-f-s3{fill:var(--fig-s3,#1baf7a)}.fig-s-s3{stroke:var(--fig-s3,#1baf7a)}.fig-f-s4{fill:var(--fig-s4,#eda100)}.fig-s-s4{stroke:var(--fig-s4,#eda100)}.fig-f-free{fill:var(--fig-free,#dde2e8)}.fig-s-free{stroke:var(--fig-free,#dde2e8)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}@media (prefers-color-scheme:dark){.fig-f-ink{fill:var(--fig-ink,#e4e8ee)}.fig-s-ink{stroke:var(--fig-ink,#e4e8ee)}.fig-f-muted{fill:var(--fig-muted,#9ba5b3)}.fig-s-muted{stroke:var(--fig-muted,#9ba5b3)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#262d37)}.fig-s-grid{stroke:var(--fig-grid,#262d37)}.fig-f-axis{fill:var(--fig-axis,#39414c)}.fig-s-axis{stroke:var(--fig-axis,#39414c)}.fig-f-accent{fill:var(--fig-accent,#e8899f)}.fig-s-accent{stroke:var(--fig-accent,#e8899f)}.fig-f-s1{fill:var(--fig-s1,#3987e5)}.fig-s-s1{stroke:var(--fig-s1,#3987e5)}.fig-f-s2{fill:var(--fig-s2,#d95926)}.fig-s-s2{stroke:var(--fig-s2,#d95926)}.fig-f-s3{fill:var(--fig-s3,#199e70)}.fig-s-s3{stroke:var(--fig-s3,#199e70)}.fig-f-s4{fill:var(--fig-s4,#c98500)}.fig-s-s4{stroke:var(--fig-s4,#c98500)}.fig-f-free{fill:var(--fig-free,#2f3640)}.fig-s-free{stroke:var(--fig-free,#2f3640)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}}</style><defs>-<use id='background-oci-digests-g7-28' href='#background-oci-digests-g3-28' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-39' href='#background-oci-digests-g3-39' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-44' href='#background-oci-digests-g3-44' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-46' href='#background-oci-digests-g3-46' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-65' href='#background-oci-digests-g3-65' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-66' href='#background-oci-digests-g3-66' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-68' href='#background-oci-digests-g3-68' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-70' href='#background-oci-digests-g3-70' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-71' href='#background-oci-digests-g3-71' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-76' href='#background-oci-digests-g3-76' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-79' href='#background-oci-digests-g3-79' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-80' href='#background-oci-digests-g3-80' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-82' href='#background-oci-digests-g3-82' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-84' href='#background-oci-digests-g3-84' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-95' href='#background-oci-digests-g3-95' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-97' href='#background-oci-digests-g3-97' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-98' href='#background-oci-digests-g3-98' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-99' href='#background-oci-digests-g3-99' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-100' href='#background-oci-digests-g3-100' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-101' href='#background-oci-digests-g3-101' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-102' href='#background-oci-digests-g3-102' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-103' href='#background-oci-digests-g3-103' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-104' href='#background-oci-digests-g3-104' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-105' href='#background-oci-digests-g3-105' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-107' href='#background-oci-digests-g3-107' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-108' href='#background-oci-digests-g3-108' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-109' href='#background-oci-digests-g3-109' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-110' href='#background-oci-digests-g3-110' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-111' href='#background-oci-digests-g3-111' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-112' href='#background-oci-digests-g3-112' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-114' href='#background-oci-digests-g3-114' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-115' href='#background-oci-digests-g3-115' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-116' href='#background-oci-digests-g3-116' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-117' href='#background-oci-digests-g3-117' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-118' href='#background-oci-digests-g3-118' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-120' href='#background-oci-digests-g3-120' transform='scale(1.081)'/>-<use id='background-oci-digests-g7-121' href='#background-oci-digests-g3-121' transform='scale(1.081)'/>+<path id='background-oci-digests-g1-44' d='M1.88 1.299H2.497L3.557-1.253H2.368L1.88 1.299Z'/>+<path id='background-oci-digests-g1-45' d='M4.101-2.414V-3.189H1.428V-2.414H4.101Z'/>+<path id='background-oci-digests-g1-46' d='M2.765 .083C3.262 .083 3.447-.157 3.447-.47V-.636C3.447-.949 3.262-1.189 2.765-1.189S2.083-.949 2.083-.636V-.47C2.083-.157 2.267 .083 2.765 .083Z'/>+<path id='background-oci-digests-g1-47' d='M1.493 1.272L4.7-7.004H4.036L.829 1.272H1.493Z'/>+<path id='background-oci-digests-g1-50' d='M4.949-.673H1.456L3.253-2.239C4.11-2.986 4.691-3.705 4.691-4.681C4.691-5.769 3.972-6.543 2.691-6.543C1.428-6.543 .848-5.787 .599-5.032L1.29-4.774C1.493-5.437 1.889-5.87 2.672-5.87C3.465-5.87 3.88-5.428 3.88-4.654V-4.543C3.88-3.889 3.428-3.29 2.801-2.728L.654-.793V0H4.949V-.673Z'/>+<path id='background-oci-digests-g1-53' d='M4.617-6.432H1.115L.885-2.894L1.539-2.801C1.815-3.106 2.11-3.345 2.719-3.345C3.612-3.345 4.11-2.838 4.11-1.991V-1.917C4.11-1.078 3.622-.562 2.737-.562C1.944-.562 1.594-.922 1.253-1.428L.673-.986C1.069-.433 1.631 .111 2.719 .111C4.092 .111 4.912-.765 4.912-2.018C4.912-3.262 4.092-4 2.967-4C2.285-4 1.935-3.732 1.622-3.299H1.557L1.742-5.76H4.617V-6.432Z'/>+<path id='background-oci-digests-g1-54' d='M2.774 .111C4.082 .111 4.939-.756 4.939-2.018C4.939-3.235 4.138-4 3.013-4C2.212-4 1.742-3.603 1.428-3.078L1.382-3.096C1.742-4.589 2.516-5.428 3.917-6.432H2.921C1.871-5.76 .59-4.267 .59-2.359C.59-.829 1.419 .111 2.774 .111ZM2.765-.544C1.889-.544 1.373-1.051 1.373-1.917V-1.991C1.373-2.857 1.889-3.364 2.765-3.364S4.156-2.857 4.156-1.991V-1.917C4.156-1.051 3.64-.544 2.765-.544Z'/>+<path id='background-oci-digests-g1-58' d='M2.765 .083C3.262 .083 3.447-.157 3.447-.47V-.636C3.447-.949 3.262-1.189 2.765-1.189S2.083-.949 2.083-.636V-.47C2.083-.157 2.267 .083 2.765 .083ZM2.765-3.566C3.262-3.566 3.447-3.806 3.447-4.119V-4.285C3.447-4.599 3.262-4.838 2.765-4.838S2.083-4.599 2.083-4.285V-4.119C2.083-3.806 2.267-3.566 2.765-3.566Z'/>+<path id='background-oci-digests-g1-60' d='M4.746-.147V-.931L1.474-2.783V-2.857L4.746-4.709V-5.474L.783-3.179V-2.442L4.746-.147Z'/>+<path id='background-oci-digests-g1-62' d='M.783-.147L4.746-2.442V-3.179L.783-5.474V-4.691L4.055-2.838V-2.765L.783-.912V-.147Z'/>+<path id='background-oci-digests-g1-95' d='M4.976 1.557V.875H.553V1.557H4.976Z'/>+<path id='background-oci-digests-g1-97' d='M5.068 0V-.645H4.405V-3.262C4.405-4.267 3.695-4.866 2.58-4.866C1.613-4.866 1.004-4.405 .765-3.907L1.263-3.539C1.511-3.972 1.898-4.239 2.534-4.239C3.253-4.239 3.668-3.88 3.668-3.189V-2.719H2.654C1.226-2.719 .608-2.212 .608-1.336C.608-.442 1.244 .111 2.239 .111C3.013 .111 3.465-.23 3.668-.774H3.714C3.769-.332 3.99 0 4.562 0H5.068ZM2.368-.507C1.76-.507 1.382-.765 1.382-1.253V-1.447C1.382-1.908 1.779-2.166 2.654-2.166H3.668V-1.382C3.668-.894 3.124-.507 2.368-.507Z'/>+<path id='background-oci-digests-g1-98' d='M.875 0H1.613V-.774H1.65C1.954-.194 2.451 .111 3.115 .111C4.276 .111 4.976-.82 4.976-2.378S4.276-4.866 3.115-4.866C2.451-4.866 1.954-4.562 1.65-3.981H1.613V-6.819H.875V0ZM2.829-.544C2.175-.544 1.613-.885 1.613-1.521V-3.235C1.613-3.87 2.175-4.211 2.829-4.211C3.686-4.211 4.184-3.64 4.184-2.783V-1.972C4.184-1.115 3.686-.544 2.829-.544Z'/>+<path id='background-oci-digests-g1-99' d='M2.931 .111C3.88 .111 4.479-.359 4.755-.995L4.23-1.355C3.99-.839 3.576-.525 2.94-.525C2.046-.525 1.567-1.133 1.567-1.972V-2.783C1.567-3.622 2.055-4.23 2.921-4.23C3.511-4.23 3.917-3.944 4.092-3.456L4.681-3.769C4.414-4.414 3.843-4.866 2.921-4.866C1.576-4.866 .774-3.889 .774-2.378C.774-.875 1.567 .111 2.931 .111Z'/>+<path id='background-oci-digests-g1-100' d='M3.917 0H4.654V-6.819H3.917V-3.981H3.88C3.576-4.562 3.078-4.866 2.414-4.866C1.253-4.866 .553-3.935 .553-2.378S1.253 .111 2.414 .111C3.078 .111 3.576-.194 3.88-.774H3.917V0ZM2.7-.544C1.843-.544 1.345-1.115 1.345-1.972V-2.783C1.345-3.64 1.843-4.211 2.7-4.211C3.354-4.211 3.917-3.87 3.917-3.235V-1.521C3.917-.885 3.354-.544 2.7-.544Z'/>+<path id='background-oci-digests-g1-101' d='M2.848 .111C3.788 .111 4.469-.35 4.755-.986L4.211-1.355C3.963-.839 3.483-.525 2.848-.525C1.954-.525 1.392-1.133 1.392-1.972V-2.193H4.912V-2.543C4.912-3.889 4.082-4.866 2.801-4.866C1.511-4.866 .617-3.889 .617-2.368C.617-.866 1.484 .111 2.848 .111ZM2.801-4.258C3.585-4.258 4.119-3.686 4.119-2.848V-2.746H1.392V-2.811C1.392-3.64 1.991-4.258 2.801-4.258Z'/>+<path id='background-oci-digests-g1-102' d='M.765 0H4.801V-.627H3.106V-4.129H5.013V-4.755H3.106V-6.193H5.013V-6.819H3.419C2.7-6.819 2.368-6.368 2.368-5.732V-4.755H.673V-4.129H2.368V-.627H.765V0Z'/>+<path id='background-oci-digests-g1-103' d='M5.17 .544C5.17-.23 4.645-.728 3.419-.728H2.368C1.917-.728 1.603-.793 1.603-1.078C1.603-1.401 2-1.567 2.285-1.622C2.433-1.594 2.58-1.585 2.737-1.585C3.852-1.585 4.589-2.258 4.589-3.225C4.589-3.723 4.396-4.138 4.055-4.433V-4.755H5.124V-5.4H4.248C3.834-5.4 3.677-5.124 3.677-4.755V-4.672C3.41-4.801 3.096-4.866 2.737-4.866C1.622-4.866 .894-4.193 .894-3.225C.894-2.553 1.244-2.027 1.825-1.769V-1.733C1.336-1.613 .968-1.392 .968-.903C.968-.581 1.124-.378 1.392-.249V-.138C.903-.009 .617 .267 .617 .774C.617 1.53 1.244 1.954 2.774 1.954C4.359 1.954 5.17 1.502 5.17 .544ZM4.479 .581C4.479 1.097 3.972 1.364 3.115 1.364H2.396C1.622 1.364 1.318 1.014 1.318 .599C1.318 .295 1.484 .083 1.797-.046H3.447C4.211-.046 4.479 .203 4.479 .581ZM2.737-2.156C2.009-2.156 1.668-2.534 1.668-3.096V-3.364C1.668-3.926 2.009-4.294 2.737-4.294C3.474-4.294 3.815-3.926 3.815-3.364V-3.096C3.815-2.534 3.474-2.156 2.737-2.156Z'/>+<path id='background-oci-digests-g1-104' d='M.903 0H1.64V-3.299C1.64-3.926 2.23-4.211 2.82-4.211C3.548-4.211 3.944-3.788 3.944-2.921V0H4.681V-3.05C4.681-4.202 4.027-4.866 3.032-4.866C2.249-4.866 1.88-4.451 1.677-3.981H1.64V-6.819H.903V0Z'/>+<path id='background-oci-digests-g1-105' d='M3.06-5.806C3.483-5.806 3.64-6.008 3.64-6.276V-6.423C3.64-6.69 3.483-6.893 3.06-6.893S2.479-6.69 2.479-6.423V-6.276C2.479-6.008 2.636-5.806 3.06-5.806ZM.977 0H5.032V-.627H3.428V-4.755H.977V-4.129H2.691V-.627H.977V0Z'/>+<path id='background-oci-digests-g1-107' d='M.968 0H1.705V-1.723L2.525-2.47L4.377 0H5.29L3.087-2.894L5.059-4.755H4.156L2.571-3.299L1.742-2.516H1.705V-6.819H.968V0Z'/>+<path id='background-oci-digests-g1-108' d='M.737 0H4.792V-.627H3.133V-6.819H.737V-6.193H2.396V-.627H.737V0Z'/>+<path id='background-oci-digests-g1-109' d='M1.18 0V-3.493C1.18-4 1.456-4.258 1.852-4.258C2.285-4.258 2.424-3.99 2.424-3.179V0H3.106V-3.493C3.106-4 3.382-4.258 3.769-4.258C4.211-4.258 4.35-3.99 4.35-3.179V0H5.032V-3.299C5.032-4.304 4.829-4.866 4.055-4.866C3.493-4.866 3.198-4.552 3.023-4.119H2.995C2.94-4.562 2.672-4.866 2.129-4.866C1.603-4.866 1.364-4.571 1.216-4.202H1.18V-4.755H.498V0H1.18Z'/>+<path id='background-oci-digests-g1-110' d='M1.64 0V-3.299C1.64-3.926 2.23-4.211 2.82-4.211C3.548-4.211 3.944-3.788 3.944-2.921V0H4.681V-3.05C4.681-4.202 4.027-4.866 3.032-4.866C2.249-4.866 1.88-4.451 1.677-3.981H1.64V-4.755H.903V0H1.64Z'/>+<path id='background-oci-digests-g1-111' d='M2.765 .111C4.101 .111 4.921-.866 4.921-2.378S4.101-4.866 2.765-4.866S.608-3.889 .608-2.378S1.428 .111 2.765 .111ZM2.765-.525C1.944-.525 1.392-1.014 1.392-2.037V-2.719C1.392-3.741 1.944-4.23 2.765-4.23S4.138-3.741 4.138-2.719V-2.037C4.138-1.014 3.585-.525 2.765-.525Z'/>+<path id='background-oci-digests-g1-112' d='M.875 1.843H1.613V-.774H1.65C1.954-.194 2.451 .111 3.115 .111C4.276 .111 4.976-.82 4.976-2.378S4.276-4.866 3.115-4.866C2.451-4.866 1.954-4.562 1.65-3.981H1.613V-4.755H.875V1.843ZM2.829-.544C2.175-.544 1.613-.885 1.613-1.521V-3.235C1.613-3.87 2.175-4.211 2.829-4.211C3.686-4.211 4.184-3.64 4.184-2.783V-1.972C4.184-1.115 3.686-.544 2.829-.544Z'/>+<path id='background-oci-digests-g1-114' d='M.71 0H4.322V-.627H2.838V-2.682C2.838-3.419 3.327-4.018 4.258-4.018H5.151V-4.755H4.488C3.493-4.755 3.069-4.184 2.884-3.557H2.838V-4.755H.71V-4.129H2.101V-.627H.71V0Z'/>+<path id='background-oci-digests-g1-115' d='M2.82 .111C4.036 .111 4.829-.433 4.829-1.373C4.829-2.405 3.88-2.59 3.198-2.691L2.451-2.801C2.027-2.866 1.613-2.995 1.613-3.493C1.613-3.981 2.027-4.248 2.774-4.248C3.612-4.248 4.036-3.917 4.258-3.649L4.737-4.101C4.285-4.58 3.659-4.866 2.801-4.866C1.696-4.866 .885-4.396 .885-3.447C.885-2.414 1.843-2.23 2.516-2.129L3.262-2.018C3.695-1.954 4.101-1.825 4.101-1.327C4.101-.765 3.576-.507 2.838-.507C2.083-.507 1.567-.774 1.115-1.253L.617-.82C1.115-.258 1.825 .111 2.82 .111Z'/>+<path id='background-oci-digests-g1-116' d='M4.847 0V-.627H2.682V-4.129H4.847V-4.755H2.682V-6.432H1.972V-5.188C1.972-4.866 1.852-4.755 1.539-4.755H.359V-4.129H1.944V-1.087C1.944-.452 2.276 0 2.995 0H4.847Z'/>+<path id='background-oci-digests-g1-120' d='M1.41 0L2.184-1.115L2.709-1.871H2.746L3.29-1.115L4.092 0H4.976L3.189-2.424L4.93-4.755H4.082L3.373-3.751L2.82-2.958H2.783L2.212-3.751L1.493-4.755H.608L2.332-2.414L.562 0H1.41Z'/>+<path id='background-oci-digests-g1-121' d='M3.502-2.765L2.792-.958H2.755L2.046-2.765L1.244-4.755H.488L2.405-.092L1.871 1.216H.765V1.843H1.465C2.184 1.843 2.461 1.585 2.682 1.041L5.041-4.755H4.304L3.502-2.765Z'/>+<path id='background-oci-digests-g1-122' d='M4.746 0V-.627H1.585L4.654-4.046V-4.755H.885V-4.129H3.852L.783-.71V0H4.746Z'/><path id='background-oci-digests-g3-28' d='M1.041 0H1.779V-4.11H3.705V0H4.442V-4.755H1.779V-6.174H2.801V-6.819H2.083C1.382-6.819 1.041-6.368 1.041-5.714V-4.755H.267V-4.11H1.041V0ZM4.073-5.87C4.387-5.87 4.525-6.036 4.525-6.285V-6.405C4.525-6.654 4.387-6.819 4.073-6.819S3.622-6.654 3.622-6.405V-6.285C3.622-6.036 3.76-5.87 4.073-5.87Z'/><path id='background-oci-digests-g3-39' d='M1.299-6.912C.912-6.912 .737-6.69 .737-6.368V-6.239C.737-5.99 .848-5.806 1.097-5.75C.995-5.317 .774-4.995 .405-4.608H1.023C1.548-5.059 1.862-5.741 1.862-6.239V-6.368C1.862-6.69 1.686-6.912 1.299-6.912Z'/><path id='background-oci-digests-g3-44' d='M1.253-1.078C.866-1.078 .691-.857 .691-.534V-.405C.691-.157 .802 .028 1.051 .083C.949 .516 .728 .839 .359 1.226H.977C1.502 .774 1.815 .092 1.815-.405V-.534C1.815-.857 1.64-1.078 1.253-1.078Z'/>@@ -99,38 +94,43 @@<use id='background-oci-digests-g5-116' href='#background-oci-digests-g1-116' transform='scale(1.081)'/><use id='background-oci-digests-g5-120' href='#background-oci-digests-g1-120' transform='scale(1.081)'/><use id='background-oci-digests-g5-121' href='#background-oci-digests-g1-121' transform='scale(1.081)'/>-<path id='background-oci-digests-g1-44' d='M1.88 1.299H2.497L3.557-1.253H2.368L1.88 1.299Z'/>-<path id='background-oci-digests-g1-45' d='M4.101-2.414V-3.189H1.428V-2.414H4.101Z'/>-<path id='background-oci-digests-g1-46' d='M2.765 .083C3.262 .083 3.447-.157 3.447-.47V-.636C3.447-.949 3.262-1.189 2.765-1.189S2.083-.949 2.083-.636V-.47C2.083-.157 2.267 .083 2.765 .083Z'/>-<path id='background-oci-digests-g1-47' d='M1.493 1.272L4.7-7.004H4.036L.829 1.272H1.493Z'/>-<path id='background-oci-digests-g1-50' d='M4.949-.673H1.456L3.253-2.239C4.11-2.986 4.691-3.705 4.691-4.681C4.691-5.769 3.972-6.543 2.691-6.543C1.428-6.543 .848-5.787 .599-5.032L1.29-4.774C1.493-5.437 1.889-5.87 2.672-5.87C3.465-5.87 3.88-5.428 3.88-4.654V-4.543C3.88-3.889 3.428-3.29 2.801-2.728L.654-.793V0H4.949V-.673Z'/>-<path id='background-oci-digests-g1-53' d='M4.617-6.432H1.115L.885-2.894L1.539-2.801C1.815-3.106 2.11-3.345 2.719-3.345C3.612-3.345 4.11-2.838 4.11-1.991V-1.917C4.11-1.078 3.622-.562 2.737-.562C1.944-.562 1.594-.922 1.253-1.428L.673-.986C1.069-.433 1.631 .111 2.719 .111C4.092 .111 4.912-.765 4.912-2.018C4.912-3.262 4.092-4 2.967-4C2.285-4 1.935-3.732 1.622-3.299H1.557L1.742-5.76H4.617V-6.432Z'/>-<path id='background-oci-digests-g1-54' d='M2.774 .111C4.082 .111 4.939-.756 4.939-2.018C4.939-3.235 4.138-4 3.013-4C2.212-4 1.742-3.603 1.428-3.078L1.382-3.096C1.742-4.589 2.516-5.428 3.917-6.432H2.921C1.871-5.76 .59-4.267 .59-2.359C.59-.829 1.419 .111 2.774 .111ZM2.765-.544C1.889-.544 1.373-1.051 1.373-1.917V-1.991C1.373-2.857 1.889-3.364 2.765-3.364S4.156-2.857 4.156-1.991V-1.917C4.156-1.051 3.64-.544 2.765-.544Z'/>-<path id='background-oci-digests-g1-58' d='M2.765 .083C3.262 .083 3.447-.157 3.447-.47V-.636C3.447-.949 3.262-1.189 2.765-1.189S2.083-.949 2.083-.636V-.47C2.083-.157 2.267 .083 2.765 .083ZM2.765-3.566C3.262-3.566 3.447-3.806 3.447-4.119V-4.285C3.447-4.599 3.262-4.838 2.765-4.838S2.083-4.599 2.083-4.285V-4.119C2.083-3.806 2.267-3.566 2.765-3.566Z'/>-<path id='background-oci-digests-g1-60' d='M4.746-.147V-.931L1.474-2.783V-2.857L4.746-4.709V-5.474L.783-3.179V-2.442L4.746-.147Z'/>-<path id='background-oci-digests-g1-62' d='M.783-.147L4.746-2.442V-3.179L.783-5.474V-4.691L4.055-2.838V-2.765L.783-.912V-.147Z'/>-<path id='background-oci-digests-g1-95' d='M4.976 1.557V.875H.553V1.557H4.976Z'/>-<path id='background-oci-digests-g1-97' d='M5.068 0V-.645H4.405V-3.262C4.405-4.267 3.695-4.866 2.58-4.866C1.613-4.866 1.004-4.405 .765-3.907L1.263-3.539C1.511-3.972 1.898-4.239 2.534-4.239C3.253-4.239 3.668-3.88 3.668-3.189V-2.719H2.654C1.226-2.719 .608-2.212 .608-1.336C.608-.442 1.244 .111 2.239 .111C3.013 .111 3.465-.23 3.668-.774H3.714C3.769-.332 3.99 0 4.562 0H5.068ZM2.368-.507C1.76-.507 1.382-.765 1.382-1.253V-1.447C1.382-1.908 1.779-2.166 2.654-2.166H3.668V-1.382C3.668-.894 3.124-.507 2.368-.507Z'/>-<path id='background-oci-digests-g1-98' d='M.875 0H1.613V-.774H1.65C1.954-.194 2.451 .111 3.115 .111C4.276 .111 4.976-.82 4.976-2.378S4.276-4.866 3.115-4.866C2.451-4.866 1.954-4.562 1.65-3.981H1.613V-6.819H.875V0ZM2.829-.544C2.175-.544 1.613-.885 1.613-1.521V-3.235C1.613-3.87 2.175-4.211 2.829-4.211C3.686-4.211 4.184-3.64 4.184-2.783V-1.972C4.184-1.115 3.686-.544 2.829-.544Z'/>-<path id='background-oci-digests-g1-99' d='M2.931 .111C3.88 .111 4.479-.359 4.755-.995L4.23-1.355C3.99-.839 3.576-.525 2.94-.525C2.046-.525 1.567-1.133 1.567-1.972V-2.783C1.567-3.622 2.055-4.23 2.921-4.23C3.511-4.23 3.917-3.944 4.092-3.456L4.681-3.769C4.414-4.414 3.843-4.866 2.921-4.866C1.576-4.866 .774-3.889 .774-2.378C.774-.875 1.567 .111 2.931 .111Z'/>-<path id='background-oci-digests-g1-100' d='M3.917 0H4.654V-6.819H3.917V-3.981H3.88C3.576-4.562 3.078-4.866 2.414-4.866C1.253-4.866 .553-3.935 .553-2.378S1.253 .111 2.414 .111C3.078 .111 3.576-.194 3.88-.774H3.917V0ZM2.7-.544C1.843-.544 1.345-1.115 1.345-1.972V-2.783C1.345-3.64 1.843-4.211 2.7-4.211C3.354-4.211 3.917-3.87 3.917-3.235V-1.521C3.917-.885 3.354-.544 2.7-.544Z'/>-<path id='background-oci-digests-g1-101' d='M2.848 .111C3.788 .111 4.469-.35 4.755-.986L4.211-1.355C3.963-.839 3.483-.525 2.848-.525C1.954-.525 1.392-1.133 1.392-1.972V-2.193H4.912V-2.543C4.912-3.889 4.082-4.866 2.801-4.866C1.511-4.866 .617-3.889 .617-2.368C.617-.866 1.484 .111 2.848 .111ZM2.801-4.258C3.585-4.258 4.119-3.686 4.119-2.848V-2.746H1.392V-2.811C1.392-3.64 1.991-4.258 2.801-4.258Z'/>-<path id='background-oci-digests-g1-102' d='M.765 0H4.801V-.627H3.106V-4.129H5.013V-4.755H3.106V-6.193H5.013V-6.819H3.419C2.7-6.819 2.368-6.368 2.368-5.732V-4.755H.673V-4.129H2.368V-.627H.765V0Z'/>-<path id='background-oci-digests-g1-103' d='M5.17 .544C5.17-.23 4.645-.728 3.419-.728H2.368C1.917-.728 1.603-.793 1.603-1.078C1.603-1.401 2-1.567 2.285-1.622C2.433-1.594 2.58-1.585 2.737-1.585C3.852-1.585 4.589-2.258 4.589-3.225C4.589-3.723 4.396-4.138 4.055-4.433V-4.755H5.124V-5.4H4.248C3.834-5.4 3.677-5.124 3.677-4.755V-4.672C3.41-4.801 3.096-4.866 2.737-4.866C1.622-4.866 .894-4.193 .894-3.225C.894-2.553 1.244-2.027 1.825-1.769V-1.733C1.336-1.613 .968-1.392 .968-.903C.968-.581 1.124-.378 1.392-.249V-.138C.903-.009 .617 .267 .617 .774C.617 1.53 1.244 1.954 2.774 1.954C4.359 1.954 5.17 1.502 5.17 .544ZM4.479 .581C4.479 1.097 3.972 1.364 3.115 1.364H2.396C1.622 1.364 1.318 1.014 1.318 .599C1.318 .295 1.484 .083 1.797-.046H3.447C4.211-.046 4.479 .203 4.479 .581ZM2.737-2.156C2.009-2.156 1.668-2.534 1.668-3.096V-3.364C1.668-3.926 2.009-4.294 2.737-4.294C3.474-4.294 3.815-3.926 3.815-3.364V-3.096C3.815-2.534 3.474-2.156 2.737-2.156Z'/>-<path id='background-oci-digests-g1-104' d='M.903 0H1.64V-3.299C1.64-3.926 2.23-4.211 2.82-4.211C3.548-4.211 3.944-3.788 3.944-2.921V0H4.681V-3.05C4.681-4.202 4.027-4.866 3.032-4.866C2.249-4.866 1.88-4.451 1.677-3.981H1.64V-6.819H.903V0Z'/>-<path id='background-oci-digests-g1-105' d='M3.06-5.806C3.483-5.806 3.64-6.008 3.64-6.276V-6.423C3.64-6.69 3.483-6.893 3.06-6.893S2.479-6.69 2.479-6.423V-6.276C2.479-6.008 2.636-5.806 3.06-5.806ZM.977 0H5.032V-.627H3.428V-4.755H.977V-4.129H2.691V-.627H.977V0Z'/>-<path id='background-oci-digests-g1-107' d='M.968 0H1.705V-1.723L2.525-2.47L4.377 0H5.29L3.087-2.894L5.059-4.755H4.156L2.571-3.299L1.742-2.516H1.705V-6.819H.968V0Z'/>-<path id='background-oci-digests-g1-108' d='M.737 0H4.792V-.627H3.133V-6.819H.737V-6.193H2.396V-.627H.737V0Z'/>-<path id='background-oci-digests-g1-109' d='M1.18 0V-3.493C1.18-4 1.456-4.258 1.852-4.258C2.285-4.258 2.424-3.99 2.424-3.179V0H3.106V-3.493C3.106-4 3.382-4.258 3.769-4.258C4.211-4.258 4.35-3.99 4.35-3.179V0H5.032V-3.299C5.032-4.304 4.829-4.866 4.055-4.866C3.493-4.866 3.198-4.552 3.023-4.119H2.995C2.94-4.562 2.672-4.866 2.129-4.866C1.603-4.866 1.364-4.571 1.216-4.202H1.18V-4.755H.498V0H1.18Z'/>-<path id='background-oci-digests-g1-110' d='M1.64 0V-3.299C1.64-3.926 2.23-4.211 2.82-4.211C3.548-4.211 3.944-3.788 3.944-2.921V0H4.681V-3.05C4.681-4.202 4.027-4.866 3.032-4.866C2.249-4.866 1.88-4.451 1.677-3.981H1.64V-4.755H.903V0H1.64Z'/>-<path id='background-oci-digests-g1-111' d='M2.765 .111C4.101 .111 4.921-.866 4.921-2.378S4.101-4.866 2.765-4.866S.608-3.889 .608-2.378S1.428 .111 2.765 .111ZM2.765-.525C1.944-.525 1.392-1.014 1.392-2.037V-2.719C1.392-3.741 1.944-4.23 2.765-4.23S4.138-3.741 4.138-2.719V-2.037C4.138-1.014 3.585-.525 2.765-.525Z'/>-<path id='background-oci-digests-g1-112' d='M.875 1.843H1.613V-.774H1.65C1.954-.194 2.451 .111 3.115 .111C4.276 .111 4.976-.82 4.976-2.378S4.276-4.866 3.115-4.866C2.451-4.866 1.954-4.562 1.65-3.981H1.613V-4.755H.875V1.843ZM2.829-.544C2.175-.544 1.613-.885 1.613-1.521V-3.235C1.613-3.87 2.175-4.211 2.829-4.211C3.686-4.211 4.184-3.64 4.184-2.783V-1.972C4.184-1.115 3.686-.544 2.829-.544Z'/>-<path id='background-oci-digests-g1-114' d='M.71 0H4.322V-.627H2.838V-2.682C2.838-3.419 3.327-4.018 4.258-4.018H5.151V-4.755H4.488C3.493-4.755 3.069-4.184 2.884-3.557H2.838V-4.755H.71V-4.129H2.101V-.627H.71V0Z'/>-<path id='background-oci-digests-g1-115' d='M2.82 .111C4.036 .111 4.829-.433 4.829-1.373C4.829-2.405 3.88-2.59 3.198-2.691L2.451-2.801C2.027-2.866 1.613-2.995 1.613-3.493C1.613-3.981 2.027-4.248 2.774-4.248C3.612-4.248 4.036-3.917 4.258-3.649L4.737-4.101C4.285-4.58 3.659-4.866 2.801-4.866C1.696-4.866 .885-4.396 .885-3.447C.885-2.414 1.843-2.23 2.516-2.129L3.262-2.018C3.695-1.954 4.101-1.825 4.101-1.327C4.101-.765 3.576-.507 2.838-.507C2.083-.507 1.567-.774 1.115-1.253L.617-.82C1.115-.258 1.825 .111 2.82 .111Z'/>-<path id='background-oci-digests-g1-116' d='M4.847 0V-.627H2.682V-4.129H4.847V-4.755H2.682V-6.432H1.972V-5.188C1.972-4.866 1.852-4.755 1.539-4.755H.359V-4.129H1.944V-1.087C1.944-.452 2.276 0 2.995 0H4.847Z'/>-<path id='background-oci-digests-g1-120' d='M1.41 0L2.184-1.115L2.709-1.871H2.746L3.29-1.115L4.092 0H4.976L3.189-2.424L4.93-4.755H4.082L3.373-3.751L2.82-2.958H2.783L2.212-3.751L1.493-4.755H.608L2.332-2.414L.562 0H1.41Z'/>-<path id='background-oci-digests-g1-121' d='M3.502-2.765L2.792-.958H2.755L2.046-2.765L1.244-4.755H.488L2.405-.092L1.871 1.216H.765V1.843H1.465C2.184 1.843 2.461 1.585 2.682 1.041L5.041-4.755H4.304L3.502-2.765Z'/>-<path id='background-oci-digests-g1-122' d='M4.746 0V-.627H1.585L4.654-4.046V-4.755H.885V-4.129H3.852L.783-.71V0H4.746Z'/>+<use id='background-oci-digests-g7-28' href='#background-oci-digests-g3-28' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-39' href='#background-oci-digests-g3-39' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-44' href='#background-oci-digests-g3-44' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-46' href='#background-oci-digests-g3-46' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-65' href='#background-oci-digests-g3-65' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-66' href='#background-oci-digests-g3-66' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-68' href='#background-oci-digests-g3-68' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-70' href='#background-oci-digests-g3-70' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-71' href='#background-oci-digests-g3-71' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-76' href='#background-oci-digests-g3-76' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-79' href='#background-oci-digests-g3-79' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-80' href='#background-oci-digests-g3-80' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-82' href='#background-oci-digests-g3-82' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-84' href='#background-oci-digests-g3-84' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-95' href='#background-oci-digests-g3-95' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-97' href='#background-oci-digests-g3-97' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-98' href='#background-oci-digests-g3-98' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-99' href='#background-oci-digests-g3-99' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-100' href='#background-oci-digests-g3-100' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-101' href='#background-oci-digests-g3-101' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-102' href='#background-oci-digests-g3-102' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-103' href='#background-oci-digests-g3-103' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-104' href='#background-oci-digests-g3-104' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-105' href='#background-oci-digests-g3-105' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-107' href='#background-oci-digests-g3-107' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-108' href='#background-oci-digests-g3-108' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-109' href='#background-oci-digests-g3-109' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-110' href='#background-oci-digests-g3-110' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-111' href='#background-oci-digests-g3-111' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-112' href='#background-oci-digests-g3-112' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-114' href='#background-oci-digests-g3-114' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-115' href='#background-oci-digests-g3-115' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-116' href='#background-oci-digests-g3-116' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-117' href='#background-oci-digests-g3-117' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-118' href='#background-oci-digests-g3-118' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-120' href='#background-oci-digests-g3-120' transform='scale(1.081)'/>+<use id='background-oci-digests-g7-121' href='#background-oci-digests-g3-121' transform='scale(1.081)'/><path id='background-oci-digests-g9-80' d='M2.292 0V-2.849H4.241C5.623-2.849 6.458-3.77 6.458-5.162C6.458-6.544 5.623-7.475 4.241-7.475H.878V0H2.292ZM2.292-6.244H4.113C4.659-6.244 4.991-5.955 4.991-5.408V-4.916C4.991-4.37 4.659-4.07 4.113-4.07H2.292V-6.244Z'/><path id='background-oci-digests-g9-97' d='M2.174 .129C3.009 .129 3.62-.246 3.802-.964H3.866C3.952-.386 4.316 0 4.905 0H5.665V-1.092H5.109V-3.727C5.109-5.001 4.305-5.719 2.795-5.719C1.671-5.719 1.017-5.291 .61-4.648L1.424-3.92C1.692-4.305 2.056-4.627 2.699-4.627C3.427-4.627 3.738-4.263 3.738-3.641V-3.234H2.785C1.264-3.234 .396-2.667 .396-1.521C.396-.525 1.039 .129 2.174 .129ZM2.635-.867C2.099-.867 1.789-1.092 1.789-1.542V-1.724C1.789-2.163 2.142-2.41 2.86-2.41H3.738V-1.671C3.738-1.146 3.245-.867 2.635-.867Z'/><path id='background-oci-digests-g9-99' d='M2.999 .129C4.08 .129 4.862-.364 5.226-1.349L4.177-1.853C3.973-1.349 3.652-.975 2.999-.975C2.238-.975 1.853-1.499 1.853-2.281V-3.299C1.853-4.08 2.238-4.616 2.999-4.616C3.588-4.616 3.941-4.273 4.07-3.802L5.194-4.305C4.862-5.184 4.123-5.719 2.999-5.719C1.349-5.719 .418-4.595 .418-2.806C.418-1.007 1.349 .129 2.999 .129Z'/>diff --git a/Documentation/images/internals-register-lock.svg b/Documentation/images/internals-register-lock.svgindex fd6c792a..dc657c7f 100644--- a/Documentation/images/internals-register-lock.svg+++ b/Documentation/images/internals-register-lock.svg@@ -1,19 +1,5 @@-<svg xmlns='http://www.w3.org/2000/svg' width='840.0' height='500.0' viewBox='-72 -72 629.996 374.998' class='fig fig-f-ink' role='img'><!-- Documentation/figures/internals-register-lock.tex, sha256 9bc897acc6320226af4d8086a0d12c6298ae5bcd4d8fdfd5f6c60f1f1f00d1ad --><style>.fig-f-ink{fill:var(--fig-ink,#171b22)}.fig-s-ink{stroke:var(--fig-ink,#171b22)}.fig-f-muted{fill:var(--fig-muted,#5d6675)}.fig-s-muted{stroke:var(--fig-muted,#5d6675)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#e2e6eb)}.fig-s-grid{stroke:var(--fig-grid,#e2e6eb)}.fig-f-axis{fill:var(--fig-axis,#c3c9d1)}.fig-s-axis{stroke:var(--fig-axis,#c3c9d1)}.fig-f-accent{fill:var(--fig-accent,#8b1e3f)}.fig-s-accent{stroke:var(--fig-accent,#8b1e3f)}.fig-f-s1{fill:var(--fig-s1,#2a78d6)}.fig-s-s1{stroke:var(--fig-s1,#2a78d6)}.fig-f-s2{fill:var(--fig-s2,#eb6834)}.fig-s-s2{stroke:var(--fig-s2,#eb6834)}.fig-f-s3{fill:var(--fig-s3,#1baf7a)}.fig-s-s3{stroke:var(--fig-s3,#1baf7a)}.fig-f-s4{fill:var(--fig-s4,#eda100)}.fig-s-s4{stroke:var(--fig-s4,#eda100)}.fig-f-free{fill:var(--fig-free,#dde2e8)}.fig-s-free{stroke:var(--fig-free,#dde2e8)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}@media (prefers-color-scheme:dark){.fig-f-ink{fill:var(--fig-ink,#e4e8ee)}.fig-s-ink{stroke:var(--fig-ink,#e4e8ee)}.fig-f-muted{fill:var(--fig-muted,#9ba5b3)}.fig-s-muted{stroke:var(--fig-muted,#9ba5b3)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#262d37)}.fig-s-grid{stroke:var(--fig-grid,#262d37)}.fig-f-axis{fill:var(--fig-axis,#39414c)}.fig-s-axis{stroke:var(--fig-axis,#39414c)}.fig-f-accent{fill:var(--fig-accent,#e8899f)}.fig-s-accent{stroke:var(--fig-accent,#e8899f)}.fig-f-s1{fill:var(--fig-s1,#3987e5)}.fig-s-s1{stroke:var(--fig-s1,#3987e5)}.fig-f-s2{fill:var(--fig-s2,#d95926)}.fig-s-s2{stroke:var(--fig-s2,#d95926)}.fig-f-s3{fill:var(--fig-s3,#199e70)}.fig-s-s3{stroke:var(--fig-s3,#199e70)}.fig-f-s4{fill:var(--fig-s4,#c98500)}.fig-s-s4{stroke:var(--fig-s4,#c98500)}.fig-f-free{fill:var(--fig-free,#2f3640)}.fig-s-free{stroke:var(--fig-free,#2f3640)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}}</style>+<svg xmlns='http://www.w3.org/2000/svg' width='840.0' height='500.0' viewBox='-72 -72 629.996 374.998' class='fig fig-f-ink' role='img'><!-- Documentation/figures/internals-register-lock.tex, sha256 791f29f5fe47377cac2397aef985f121f16a05187c453d9a23fcbbd72db0434c --><style>.fig-f-ink{fill:var(--fig-ink,#171b22)}.fig-s-ink{stroke:var(--fig-ink,#171b22)}.fig-f-muted{fill:var(--fig-muted,#5d6675)}.fig-s-muted{stroke:var(--fig-muted,#5d6675)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#e2e6eb)}.fig-s-grid{stroke:var(--fig-grid,#e2e6eb)}.fig-f-axis{fill:var(--fig-axis,#c3c9d1)}.fig-s-axis{stroke:var(--fig-axis,#c3c9d1)}.fig-f-accent{fill:var(--fig-accent,#8b1e3f)}.fig-s-accent{stroke:var(--fig-accent,#8b1e3f)}.fig-f-s1{fill:var(--fig-s1,#2a78d6)}.fig-s-s1{stroke:var(--fig-s1,#2a78d6)}.fig-f-s2{fill:var(--fig-s2,#eb6834)}.fig-s-s2{stroke:var(--fig-s2,#eb6834)}.fig-f-s3{fill:var(--fig-s3,#1baf7a)}.fig-s-s3{stroke:var(--fig-s3,#1baf7a)}.fig-f-s4{fill:var(--fig-s4,#eda100)}.fig-s-s4{stroke:var(--fig-s4,#eda100)}.fig-f-free{fill:var(--fig-free,#dde2e8)}.fig-s-free{stroke:var(--fig-free,#dde2e8)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}@media (prefers-color-scheme:dark){.fig-f-ink{fill:var(--fig-ink,#e4e8ee)}.fig-s-ink{stroke:var(--fig-ink,#e4e8ee)}.fig-f-muted{fill:var(--fig-muted,#9ba5b3)}.fig-s-muted{stroke:var(--fig-muted,#9ba5b3)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#262d37)}.fig-s-grid{stroke:var(--fig-grid,#262d37)}.fig-f-axis{fill:var(--fig-axis,#39414c)}.fig-s-axis{stroke:var(--fig-axis,#39414c)}.fig-f-accent{fill:var(--fig-accent,#e8899f)}.fig-s-accent{stroke:var(--fig-accent,#e8899f)}.fig-f-s1{fill:var(--fig-s1,#3987e5)}.fig-s-s1{stroke:var(--fig-s1,#3987e5)}.fig-f-s2{fill:var(--fig-s2,#d95926)}.fig-s-s2{stroke:var(--fig-s2,#d95926)}.fig-f-s3{fill:var(--fig-s3,#199e70)}.fig-s-s3{stroke:var(--fig-s3,#199e70)}.fig-f-s4{fill:var(--fig-s4,#c98500)}.fig-s-s4{stroke:var(--fig-s4,#c98500)}.fig-f-free{fill:var(--fig-free,#2f3640)}.fig-s-free{stroke:var(--fig-free,#2f3640)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}}</style><defs>-<use id='internals-register-lock-g3-97' href='#internals-register-lock-g1-97' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-99' href='#internals-register-lock-g1-99' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-100' href='#internals-register-lock-g1-100' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-101' href='#internals-register-lock-g1-101' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-104' href='#internals-register-lock-g1-104' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-105' href='#internals-register-lock-g1-105' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-108' href='#internals-register-lock-g1-108' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-110' href='#internals-register-lock-g1-110' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-111' href='#internals-register-lock-g1-111' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-112' href='#internals-register-lock-g1-112' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-114' href='#internals-register-lock-g1-114' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-116' href='#internals-register-lock-g1-116' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-117' href='#internals-register-lock-g1-117' transform='scale(1.162)'/>-<use id='internals-register-lock-g3-118' href='#internals-register-lock-g1-118' transform='scale(1.162)'/><path id='internals-register-lock-g1-49' d='M5.271 0V-.986H3.797V-6.432H1.963L.369-4.534L1.124-3.898L2.525-5.557H2.608V-.986H.839V0H5.271Z'/><path id='internals-register-lock-g1-50' d='M5.032-1.023H1.889L3.244-2.138C4.138-2.875 4.866-3.557 4.866-4.626C4.866-5.732 4.092-6.543 2.737-6.543C1.428-6.543 .737-5.797 .461-4.939L1.511-4.534C1.659-5.059 1.972-5.492 2.636-5.492C3.161-5.492 3.585-5.179 3.585-4.617V-4.497C3.585-3.935 3.271-3.493 2.59-2.894L.571-1.124V0H5.032V-1.023Z'/><path id='internals-register-lock-g1-51' d='M1.779-3.834V-2.82H2.414C3.179-2.82 3.612-2.507 3.612-1.917V-1.852C3.612-1.253 3.216-.885 2.507-.885C1.788-.885 1.401-1.253 1.115-1.769L.221-1.087C.627-.461 1.253 .111 2.507 .111C3.926 .111 4.875-.645 4.875-1.779C4.875-2.691 4.276-3.207 3.53-3.345V-3.4C4.202-3.539 4.764-4.036 4.764-4.866C4.764-5.898 3.88-6.543 2.58-6.543C1.493-6.543 .885-6.073 .452-5.474L1.226-4.774C1.539-5.262 1.981-5.548 2.543-5.548C3.124-5.548 3.493-5.225 3.493-4.7V-4.635C3.493-4.175 3.152-3.834 2.414-3.834H1.779Z'/>@@ -32,6 +18,20 @@<path id='internals-register-lock-g1-116' d='M2.184 0H3.032V-.94H2.12V-3.87H3.106V-4.81H2.12V-6.128H1.06V-5.308C1.06-4.976 .949-4.81 .599-4.81H.23V-3.87H.94V-1.226C.94-.442 1.373 0 2.184 0Z'/><path id='internals-register-lock-g1-117' d='M3.557 0H4.737V-4.81H3.557V-1.631C3.557-1.115 3.087-.866 2.617-.866C2.055-.866 1.806-1.226 1.806-1.889V-4.81H.627V-1.769C.627-.571 1.18 .111 2.166 .111C2.958 .111 3.345-.323 3.511-.802H3.557V0Z'/><path id='internals-register-lock-g1-118' d='M3.115 0L4.728-4.81H3.603L2.949-2.737L2.479-1.023H2.414L1.944-2.737L1.272-4.81H.111L1.714 0H3.115Z'/>+<use id='internals-register-lock-g3-97' href='#internals-register-lock-g1-97' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-99' href='#internals-register-lock-g1-99' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-100' href='#internals-register-lock-g1-100' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-101' href='#internals-register-lock-g1-101' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-104' href='#internals-register-lock-g1-104' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-105' href='#internals-register-lock-g1-105' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-108' href='#internals-register-lock-g1-108' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-110' href='#internals-register-lock-g1-110' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-111' href='#internals-register-lock-g1-111' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-112' href='#internals-register-lock-g1-112' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-114' href='#internals-register-lock-g1-114' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-116' href='#internals-register-lock-g1-116' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-117' href='#internals-register-lock-g1-117' transform='scale(1.162)'/>+<use id='internals-register-lock-g3-118' href='#internals-register-lock-g1-118' transform='scale(1.162)'/><path id='internals-register-lock-g5-39' d='M1.299-6.912C.912-6.912 .737-6.69 .737-6.368V-6.239C.737-5.99 .848-5.806 1.097-5.75C.995-5.317 .774-4.995 .405-4.608H1.023C1.548-5.059 1.862-5.741 1.862-6.239V-6.368C1.862-6.69 1.686-6.912 1.299-6.912Z'/><path id='internals-register-lock-g5-44' d='M1.253-1.078C.866-1.078 .691-.857 .691-.534V-.405C.691-.157 .802 .028 1.051 .083C.949 .516 .728 .839 .359 1.226H.977C1.502 .774 1.815 .092 1.815-.405V-.534C1.815-.857 1.64-1.078 1.253-1.078Z'/><path id='internals-register-lock-g5-46' d='M1.253 .111C1.64 .111 1.815-.111 1.815-.424V-.544C1.815-.857 1.64-1.078 1.253-1.078S.691-.857 .691-.544V-.424C.691-.111 .866 .111 1.253 .111Z'/>diff --git a/Documentation/images/start-how-it-works.svg b/Documentation/images/start-how-it-works.svgindex e2ffd266..49601e4c 100644--- a/Documentation/images/start-how-it-works.svg+++ b/Documentation/images/start-how-it-works.svg@@ -1,36 +1,5 @@-<svg xmlns='http://www.w3.org/2000/svg' width='760.0' height='380.0' viewBox='-72 -72 569.996 284.998' class='fig fig-f-ink' role='img'><!-- Documentation/figures/start-how-it-works.tex, sha256 f8d855c0d6eac0173e8b5e6e64c6bc1395d363f0a1f8981ac12a6b722c950360 --><style>.fig-f-ink{fill:var(--fig-ink,#171b22)}.fig-s-ink{stroke:var(--fig-ink,#171b22)}.fig-f-muted{fill:var(--fig-muted,#5d6675)}.fig-s-muted{stroke:var(--fig-muted,#5d6675)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#e2e6eb)}.fig-s-grid{stroke:var(--fig-grid,#e2e6eb)}.fig-f-axis{fill:var(--fig-axis,#c3c9d1)}.fig-s-axis{stroke:var(--fig-axis,#c3c9d1)}.fig-f-accent{fill:var(--fig-accent,#8b1e3f)}.fig-s-accent{stroke:var(--fig-accent,#8b1e3f)}.fig-f-s1{fill:var(--fig-s1,#2a78d6)}.fig-s-s1{stroke:var(--fig-s1,#2a78d6)}.fig-f-s2{fill:var(--fig-s2,#eb6834)}.fig-s-s2{stroke:var(--fig-s2,#eb6834)}.fig-f-s3{fill:var(--fig-s3,#1baf7a)}.fig-s-s3{stroke:var(--fig-s3,#1baf7a)}.fig-f-s4{fill:var(--fig-s4,#eda100)}.fig-s-s4{stroke:var(--fig-s4,#eda100)}.fig-f-free{fill:var(--fig-free,#dde2e8)}.fig-s-free{stroke:var(--fig-free,#dde2e8)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}@media (prefers-color-scheme:dark){.fig-f-ink{fill:var(--fig-ink,#e4e8ee)}.fig-s-ink{stroke:var(--fig-ink,#e4e8ee)}.fig-f-muted{fill:var(--fig-muted,#9ba5b3)}.fig-s-muted{stroke:var(--fig-muted,#9ba5b3)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#262d37)}.fig-s-grid{stroke:var(--fig-grid,#262d37)}.fig-f-axis{fill:var(--fig-axis,#39414c)}.fig-s-axis{stroke:var(--fig-axis,#39414c)}.fig-f-accent{fill:var(--fig-accent,#e8899f)}.fig-s-accent{stroke:var(--fig-accent,#e8899f)}.fig-f-s1{fill:var(--fig-s1,#3987e5)}.fig-s-s1{stroke:var(--fig-s1,#3987e5)}.fig-f-s2{fill:var(--fig-s2,#d95926)}.fig-s-s2{stroke:var(--fig-s2,#d95926)}.fig-f-s3{fill:var(--fig-s3,#199e70)}.fig-s-s3{stroke:var(--fig-s3,#199e70)}.fig-f-s4{fill:var(--fig-s4,#c98500)}.fig-s-s4{stroke:var(--fig-s4,#c98500)}.fig-f-free{fill:var(--fig-free,#2f3640)}.fig-s-free{stroke:var(--fig-free,#2f3640)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}}</style>+<svg xmlns='http://www.w3.org/2000/svg' width='760.0' height='380.0' viewBox='-72 -72 569.996 284.998' class='fig fig-f-ink' role='img'><!-- Documentation/figures/start-how-it-works.tex, sha256 fa582cda089dad5b5417618bfa11e17fb713c94302c5174bae93f691f7d3fbcf --><style>.fig-f-ink{fill:var(--fig-ink,#171b22)}.fig-s-ink{stroke:var(--fig-ink,#171b22)}.fig-f-muted{fill:var(--fig-muted,#5d6675)}.fig-s-muted{stroke:var(--fig-muted,#5d6675)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#e2e6eb)}.fig-s-grid{stroke:var(--fig-grid,#e2e6eb)}.fig-f-axis{fill:var(--fig-axis,#c3c9d1)}.fig-s-axis{stroke:var(--fig-axis,#c3c9d1)}.fig-f-accent{fill:var(--fig-accent,#8b1e3f)}.fig-s-accent{stroke:var(--fig-accent,#8b1e3f)}.fig-f-s1{fill:var(--fig-s1,#2a78d6)}.fig-s-s1{stroke:var(--fig-s1,#2a78d6)}.fig-f-s2{fill:var(--fig-s2,#eb6834)}.fig-s-s2{stroke:var(--fig-s2,#eb6834)}.fig-f-s3{fill:var(--fig-s3,#1baf7a)}.fig-s-s3{stroke:var(--fig-s3,#1baf7a)}.fig-f-s4{fill:var(--fig-s4,#eda100)}.fig-s-s4{stroke:var(--fig-s4,#eda100)}.fig-f-free{fill:var(--fig-free,#dde2e8)}.fig-s-free{stroke:var(--fig-free,#dde2e8)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}@media (prefers-color-scheme:dark){.fig-f-ink{fill:var(--fig-ink,#e4e8ee)}.fig-s-ink{stroke:var(--fig-ink,#e4e8ee)}.fig-f-muted{fill:var(--fig-muted,#9ba5b3)}.fig-s-muted{stroke:var(--fig-muted,#9ba5b3)}.fig-f-line{fill:var(--fig-line,#8a93a0)}.fig-s-line{stroke:var(--fig-line,#8a93a0)}.fig-f-grid{fill:var(--fig-grid,#262d37)}.fig-s-grid{stroke:var(--fig-grid,#262d37)}.fig-f-axis{fill:var(--fig-axis,#39414c)}.fig-s-axis{stroke:var(--fig-axis,#39414c)}.fig-f-accent{fill:var(--fig-accent,#e8899f)}.fig-s-accent{stroke:var(--fig-accent,#e8899f)}.fig-f-s1{fill:var(--fig-s1,#3987e5)}.fig-s-s1{stroke:var(--fig-s1,#3987e5)}.fig-f-s2{fill:var(--fig-s2,#d95926)}.fig-s-s2{stroke:var(--fig-s2,#d95926)}.fig-f-s3{fill:var(--fig-s3,#199e70)}.fig-s-s3{stroke:var(--fig-s3,#199e70)}.fig-f-s4{fill:var(--fig-s4,#c98500)}.fig-s-s4{stroke:var(--fig-s4,#c98500)}.fig-f-free{fill:var(--fig-free,#2f3640)}.fig-s-free{stroke:var(--fig-free,#2f3640)}.fig-f-on{fill:var(--fig-on,#ffffff)}.fig-s-on{stroke:var(--fig-on,#ffffff)}}</style><defs>-<use id='start-how-it-works-g5-97' href='#start-how-it-works-g1-97' transform='scale(1.081)'/>-<use id='start-how-it-works-g5-101' href='#start-how-it-works-g1-101' transform='scale(1.081)'/>-<use id='start-how-it-works-g5-103' href='#start-how-it-works-g1-103' transform='scale(1.081)'/>-<use id='start-how-it-works-g5-114' href='#start-how-it-works-g1-114' transform='scale(1.081)'/>-<use id='start-how-it-works-g5-116' href='#start-how-it-works-g1-116' transform='scale(1.081)'/>-<use id='start-how-it-works-g3-44' href='#start-how-it-works-g1-44' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-45' href='#start-how-it-works-g1-45' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-67' href='#start-how-it-works-g1-67' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-73' href='#start-how-it-works-g1-73' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-75' href='#start-how-it-works-g1-75' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-77' href='#start-how-it-works-g1-77' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-79' href='#start-how-it-works-g1-79' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-80' href='#start-how-it-works-g1-80' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-84' href='#start-how-it-works-g1-84' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-97' href='#start-how-it-works-g1-97' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-99' href='#start-how-it-works-g1-99' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-100' href='#start-how-it-works-g1-100' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-101' href='#start-how-it-works-g1-101' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-103' href='#start-how-it-works-g1-103' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-104' href='#start-how-it-works-g1-104' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-105' href='#start-how-it-works-g1-105' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-108' href='#start-how-it-works-g1-108' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-109' href='#start-how-it-works-g1-109' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-110' href='#start-how-it-works-g1-110' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-111' href='#start-how-it-works-g1-111' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-112' href='#start-how-it-works-g1-112' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-114' href='#start-how-it-works-g1-114' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-115' href='#start-how-it-works-g1-115' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-116' href='#start-how-it-works-g1-116' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-117' href='#start-how-it-works-g1-117' transform='scale(1.162)'/>-<use id='start-how-it-works-g3-121' href='#start-how-it-works-g1-121' transform='scale(1.162)'/><path id='start-how-it-works-g1-39' d='M1.299-6.912C.912-6.912 .737-6.69 .737-6.368V-6.239C.737-5.99 .848-5.806 1.097-5.75C.995-5.317 .774-4.995 .405-4.608H1.023C1.548-5.059 1.862-5.741 1.862-6.239V-6.368C1.862-6.69 1.686-6.912 1.299-6.912Z'/><path id='start-how-it-works-g1-40' d='M.765-2.875C.765-1.078 1.521 .488 2.433 1.263H3.133C2.138 .378 1.456-1.18 1.456-2.47V-3.262C1.456-4.552 2.11-6.082 3.133-7.004H2.433C1.493-6.202 .765-4.654 .765-2.875Z'/><path id='start-how-it-works-g1-41' d='M2.322-2.875C2.322-4.654 1.594-6.202 .654-7.004H-.046C.977-6.082 1.631-4.552 1.631-3.262V-2.47C1.631-1.18 .949 .378-.046 1.263H.654C1.567 .488 2.322-1.078 2.322-2.875Z'/>@@ -75,6 +44,37 @@<path id='start-how-it-works-g1-118' d='M2.691 0L4.368-4.755H3.659L2.811-2.396L2.295-.774H2.249L1.733-2.396L.903-4.755H.166L1.834 0H2.691Z'/><path id='start-how-it-works-g1-120' d='M.194 0H1.014L2.35-1.862H2.378L3.612 0H4.479L2.765-2.451L4.442-4.755H3.622L2.368-2.986H2.341L1.133-4.755H.267L1.954-2.396L.194 0Z'/><path id='start-how-it-works-g1-121' d='M2.562-1.521L2.304-.746H2.258L2.037-1.521L.894-4.755H.157L1.935 .184L1.576 1.198H.829V1.843H1.207C1.908 1.843 2.101 1.677 2.313 1.106L4.442-4.755H3.714L2.562-1.521Z'/>+<use id='start-how-it-works-g3-44' href='#start-how-it-works-g1-44' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-45' href='#start-how-it-works-g1-45' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-67' href='#start-how-it-works-g1-67' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-73' href='#start-how-it-works-g1-73' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-75' href='#start-how-it-works-g1-75' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-77' href='#start-how-it-works-g1-77' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-79' href='#start-how-it-works-g1-79' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-80' href='#start-how-it-works-g1-80' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-84' href='#start-how-it-works-g1-84' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-97' href='#start-how-it-works-g1-97' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-99' href='#start-how-it-works-g1-99' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-100' href='#start-how-it-works-g1-100' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-101' href='#start-how-it-works-g1-101' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-103' href='#start-how-it-works-g1-103' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-104' href='#start-how-it-works-g1-104' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-105' href='#start-how-it-works-g1-105' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-108' href='#start-how-it-works-g1-108' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-109' href='#start-how-it-works-g1-109' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-110' href='#start-how-it-works-g1-110' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-111' href='#start-how-it-works-g1-111' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-112' href='#start-how-it-works-g1-112' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-114' href='#start-how-it-works-g1-114' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-115' href='#start-how-it-works-g1-115' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-116' href='#start-how-it-works-g1-116' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-117' href='#start-how-it-works-g1-117' transform='scale(1.162)'/>+<use id='start-how-it-works-g3-121' href='#start-how-it-works-g1-121' transform='scale(1.162)'/>+<use id='start-how-it-works-g5-97' href='#start-how-it-works-g1-97' transform='scale(1.081)'/>+<use id='start-how-it-works-g5-101' href='#start-how-it-works-g1-101' transform='scale(1.081)'/>+<use id='start-how-it-works-g5-103' href='#start-how-it-works-g1-103' transform='scale(1.081)'/>+<use id='start-how-it-works-g5-114' href='#start-how-it-works-g1-114' transform='scale(1.081)'/>+<use id='start-how-it-works-g5-116' href='#start-how-it-works-g1-116' transform='scale(1.081)'/></defs><g id='start-how-it-works-page1'><g stroke-miterlimit='10' transform='matrix(.996 0 0 -.996 -72 -72)' stroke-width='1.12921' class='fig-f-ink fig-s-ink'>diff --git a/Documentation/index.rst b/Documentation/index.rstindex a2c7110c..3b0650d7 100644--- a/Documentation/index.rst+++ b/Documentation/index.rst@@ -17,7 +17,7 @@ that targets pull from OCI registries.Use cases----------shirudo is a platform. It does not understand what an upatch does; it+shirudo is a platform. It does not understand what a upatch does; itmakes sure that only signed upatches run and that every change is onrecord. Custom functionality ships as upatches that users anddevelopers write on top of shirudo.@@ -120,7 +120,7 @@ Specifications- :doc:`/reference/formats/upatch-format`: the signed ``.upatch``container- :doc:`/reference/formats/upatch-tree`: the operations, segments and- publication document of an upatch tree+ publication document of a upatch tree- :doc:`/reference/formats/keepalive`: the record a target sends itscollector, its :ref:`body <keepalive-body-format>` and its TPM quotediff --git a/Documentation/internals/architecture.rst b/Documentation/internals/architecture.rstindex f177d20f..61e77868 100644--- a/Documentation/internals/architecture.rst+++ b/Documentation/internals/architecture.rst@@ -178,7 +178,7 @@ shirudo has no push transport and no fleet state.Where to read more-------------------- :doc:`signed-loader` explains how a signed loader installs an upatch,+- :doc:`signed-loader` explains how a signed loader installs a upatch,and why a userspace check could not.- :doc:`enforcement` lists every LSM hook, what it refuses and in whichorder ``init`` attaches them.diff --git a/Documentation/internals/config-images.rst b/Documentation/internals/config-images.rstindex d9caa104..d42147ec 100644--- a/Documentation/internals/config-images.rst+++ b/Documentation/internals/config-images.rst@@ -224,7 +224,7 @@ It then activates it:``.bpf`` keyring, extend the register with a ``key_revoke`` event,and purge the archived upatches the certificate signed, unloadingthose that are loaded. Each purge checks the signer again under the- register lock, so an upatch an upgrade replaced in the meantime with+ register lock, so a upatch an upgrade replaced in the meantime withone another key signed stays.#. Mount the candidate at ``/run/shirudo/config``.#. Record the selection as complete.diff --git a/Documentation/internals/design-decisions.rst b/Documentation/internals/design-decisions.rstindex 6f5f0da9..333472f0 100644--- a/Documentation/internals/design-decisions.rst+++ b/Documentation/internals/design-decisions.rst@@ -181,7 +181,7 @@ a layout difference into a load failure.State in BPF arenas--------------------An upatch that accumulates records keeps them in one+A upatch that accumulates records keeps them in one``BPF_MAP_TYPE_ARENA`` map and ships a ``shirudo_serialize__<map>``program that walks them. Hash and array maps hold only what cannot livein an arena: task, socket and per-CPU scratch state, keys the kerneldiff --git a/Documentation/internals/measurement-register.rst b/Documentation/internals/measurement-register.rstindex 720d46a6..2051bc59 100644--- a/Documentation/internals/measurement-register.rst+++ b/Documentation/internals/measurement-register.rst@@ -317,14 +317,14 @@ The register and the eventlog advance together only while one process ata time extends and appends. Two measuring commands that each held a lockof their own could interleave extend, extend, append, append, and leave alog that replays the events in the other order. Every measuring command,-an upatch load or unload, a live revocation and a tree operation,+a upatch load or unload, a live revocation and a tree operation,therefore holds ``/var/lib/shirudo/eventlog.lock`` at least from itsextension to its append. Figure 3 shows the three that change theloaded set, which hold it longer, the order of their steps and what afailure or a stop between two of them leaves... figure:: /images/internals-register-lock.svg- :alt: Three lanes. An upatch load takes the lock, undoes what the+ :alt: Three lanes. A upatch load takes the lock, undoes what therecords do not cover, loads and attaches, pins, archives,extends the register and appends to the eventlog, then letsthe lock go. An unload undoes, verifies its directive, comparesdiff --git a/Documentation/internals/signed-loader.rst b/Documentation/internals/signed-loader.rstindex 98851201..79150103 100644--- a/Documentation/internals/signed-loader.rst+++ b/Documentation/internals/signed-loader.rst@@ -270,7 +270,7 @@ as a light skeleton in a module. shirudo admits those as it admits aloader's calls. A signed loader can issue every command``bpf_sys_bpf()`` allows, ``BPF_MAP_GET_FD_BY_ID`` and``BPF_LINK_CREATE`` among them, and the guards do not limit what it does-with them: an upatch does what its signer wrote.+with them: a upatch does what its signer wrote.The two enforcement objects are loaded without a signature from theauthenticated initrd; their trust comes from the boot chain. Pins keepdiff --git a/Documentation/operate/backend/exposure.rst b/Documentation/operate/backend/exposure.rstindex ab637f9d..a7821dcb 100644--- a/Documentation/operate/backend/exposure.rst+++ b/Documentation/operate/backend/exposure.rst@@ -8,7 +8,7 @@Exposure========-Which nodes run a vulnerable package or kernel, and whether an upatch+Which nodes run a vulnerable package or kernel, and whether a upatchshields them. A node carries no scanner and sends no package list: itskeepalive names the image it booted (``image_id``, ``image_version``,``image_root``) and the kernel it runs (``kernel_release``), and the@@ -110,7 +110,7 @@ Packages of the kernel in an SBOM (``linux-image-*``, ``kernel``,``kernel-core``) are left out: the SBOM shows the kernel installed inthe image, and the node may run another.-To link an upatch to an advisory by hand, for one published without+To link a upatch to an advisory by hand, for one published without``fixes``, add a row with source ``manual`` for the upatch's newest``add``:@@ -119,7 +119,7 @@ To link an upatch to an advisory by hand, for one published withoutINSERT INTO shirudo.upatch_fixes (tree_id, seq, id, advisory, source)VALUES ('fleet-base', 3, 'xfs-fix', 'EXAMPLE-0303', 'manual');-A link belongs to an operation, not to an upatch's name: a later ``add``+A link belongs to an operation, not to a upatch's name: a later ``add``of the same upatch shields against what its own rows say.node_vulns@@ -182,7 +182,7 @@ When several builds share an id and a version, a node gets the one withits own root, else the newest by ``built_at``.``exposure`` says what stands between the node and the vulnerability-now. It is read from the newest operation the node has applied of an+now. It is read from the newest operation the node has applied of aupatch linked to the advisory in ``upatch_fixes``, and from the node'smask, or from its history in ``node_ops`` when that operation is belowthe record's window, so that a shield older than the window keeps its@@ -276,7 +276,7 @@ first, then ``exposed_no_shield`` and ``shield_withdrawn``, ahead ofevery outcome of a published shield.A row does not run ahead of its node. A node that has applied the-``add`` of an upatch whose ``delete`` is published stays ``shielded``+``add`` of a upatch whose ``delete`` is published stays ``shielded``until it applies the ``delete``, with ``next_op`` ``delete`` saying thatit will; a node with an older build loaded is ``shielded`` by that buildwhile the newer ``add`` is still coming. When that newer ``add`` nodiff --git a/Documentation/operate/backend/index.rst b/Documentation/operate/backend/index.rstindex 7edb6dbc..77fc0447 100644--- a/Documentation/operate/backend/index.rst+++ b/Documentation/operate/backend/index.rst@@ -32,7 +32,7 @@ What it doesrefused. A node is known by the name of its attestation key, never bythe host name it claims, and its records are ordered by the quote'sclock.-- A tree ingest job that loads every publication of an upatch tree+- A tree ingest job that loads every publication of a upatch treethrough ``shirudo bpm tree show``, which verifies it as a target does,and the ``fixes`` its operations carry.- A table, ``node_status``, refreshed every minute, that says for every@@ -77,7 +77,7 @@ Files``apply-retention.sh``, which sets how long ``shirudo.keepalive``keeps a record and ``shirudo.boot_first`` a boot.* - :src:`tools/backend/jobs/tree-ingest`- - Loads every segment of an upatch tree into the reference tables.+ - Loads every segment of a upatch tree into the reference tables.* - :src:`tools/backend/jobs/sbom-scan`- Scans the SBOM of every image in the SBOM store and loads theoutcome into ``sbom_images`` and ``sbom_vulns``.diff --git a/Documentation/operate/backend/status.rst b/Documentation/operate/backend/status.rstindex aecb7ad9..4ecb2cd6 100644--- a/Documentation/operate/backend/status.rst+++ b/Documentation/operate/backend/status.rst@@ -336,7 +336,7 @@ what each node's records said while it could: ``shirudo.node_ops`` has arow for every node, tree and operation the backend has seen the nodereach, and ``shirudo.node_sets`` what that leaves loaded. Check 4 holdsevery record against them, check 6 a record whose ``base_seq`` is above-0, and ``node_vulns`` an upatch whose newest operation is below the+0, and ``node_vulns`` a upatch whose newest operation is below thewindow.``shirudo.node_ops``:diff --git a/Documentation/operate/backend/tables/reference.rst b/Documentation/operate/backend/tables/reference.rstindex ce00f153..00aa588a 100644--- a/Documentation/operate/backend/tables/reference.rst+++ b/Documentation/operate/backend/tables/reference.rst@@ -91,7 +91,7 @@ shirudo.tree_pubs:reference: hundreds of rows, negligible:bytes: 100000- One row per publication of an upatch tree. A publication is a segment of+ One row per publication of a upatch tree. A publication is a segment ofthe tree holding the operations past segment_base_seq. Gives each tree'shead for check 5 and the time a node's stuck clock starts.@@ -133,7 +133,7 @@ shirudo.tree_ops:tree_id: Tree name.:seq: Position in the tree, from 1.- :op: Load or remove an upatch.+ :op: Load or remove a upatch.:id: Upatch id the operation acts on.:selector: Which nodes it targets, as JSON. Read with JSONExtract for display.:repository: OCI repository of the payload.diff --git a/Documentation/operate/backend/tables/vulns.rst b/Documentation/operate/backend/tables/vulns.rstindex dace4de5..d1688569 100644--- a/Documentation/operate/backend/tables/vulns.rst+++ b/Documentation/operate/backend/tables/vulns.rst@@ -9,7 +9,7 @@ Exposure========Every five minutes: which nodes run a vulnerable package or kernel, and-whether an upatch from their tree shields them. Packages come from the SBOM+whether a upatch from their tree shields them. Packages come from the SBOMof the booted image, the kernel from kernel_release, the shield from themask and node_ops.diff --git a/Documentation/operate/maintain/backup-recovery.rst b/Documentation/operate/maintain/backup-recovery.rstindex 3880a99f..e01fbbdd 100644--- a/Documentation/operate/maintain/backup-recovery.rst+++ b/Documentation/operate/maintain/backup-recovery.rst@@ -273,7 +273,7 @@ same way. These do not work:it.For an XDP device, undo the setting or remove the device, and reboot. A-device that cannot take XDP needs an upatch signed with a class mask+device that cannot take XDP needs a upatch signed with a class maskthat leaves it out. Otherwise remove the upatch from a boot on which itloads:@@ -293,7 +293,7 @@ loads:#. Remove the upatch. Uninstall its package with``shirudo bpm uninstall <package>``, unload it with its unload- directive (:doc:`/reference/cli/upatch-unload`), or, for an upatch+ directive (:doc:`/reference/cli/upatch-unload`), or, for a upatchfrom the tree, publish a ``delete`` operation and let the tree syncapply it.@@ -420,6 +420,6 @@ Next steps- :doc:`/operate/troubleshoot/troubleshooting` for messages by symptom- :doc:`/operate/troubleshoot/incident-tampered` when ``status`` reports``tampered``-- :doc:`/operate/maintain/upgrade` to change the kernel without stranding an+- :doc:`/operate/maintain/upgrade` to change the kernel without stranding aupatch- :doc:`/reference/files` for every file shirudo keepsdiff --git a/Documentation/operate/plan/interoperability.rst b/Documentation/operate/plan/interoperability.rstindex 5230a11c..29cd25ab 100644--- a/Documentation/operate/plan/interoperability.rst+++ b/Documentation/operate/plan/interoperability.rst@@ -297,7 +297,7 @@ Module loading and kernel live patchingcheck. Unloading amodule that a kprobe upatch targets leaves the upatch loaded andmeasured but without effect, a reading of the kernel source (R21).- shirudo's tests do not cover a livepatch and an upatch on the same+ shirudo's tests do not cover a livepatch and a upatch on the samefunction.Other LSMsdiff --git a/Documentation/operate/plan/overhead.rst b/Documentation/operate/plan/overhead.rstindex fa8faa72..f09c779b 100644--- a/Documentation/operate/plan/overhead.rst+++ b/Documentation/operate/plan/overhead.rst@@ -436,11 +436,11 @@ Disk writesupatches---------An upatch costs the target in two ways: a fixed cost that shirudo adds+A upatch costs the target in two ways: a fixed cost that shirudo addsfor every upatch, whatever it does, and the cost of its own programs and-maps. shirudo limits neither how many programs and maps an upatch brings+maps. shirudo limits neither how many programs and maps a upatch bringsnor how often the kernel runs them. The verifier bounds a single program-run, not the work an upatch does on a hook that fires for every open or+run, not the work a upatch does on a hook that fires for every open orexec, nor the size of its maps. A badly written upatch can slow thetarget down or use much of its memory.@@ -454,10 +454,10 @@ Per-upatch baseline* - Item- Cost* - Signed file- - 8.4 KiB for an upatch with one small program, 4,627 B of it the+ - 8.4 KiB for a upatch with one small program, 4,627 B of it theML-DSA-87 signature. An unload directive is 9.1 KiB.* - Copies on disk- - One in ``/var/lib/shirudo/upatches``. An upatch from a package also+ - One in ``/var/lib/shirudo/upatches``. A upatch from a package alsostays in the package archive and its unpacked directory, and anupgrade keeps those of the previous version until``bpm uninstall``.@@ -478,7 +478,7 @@ Per-upatch baselineendpoint configured, sends one request per map. ``status`` reportsthe upatch.-Programs and maps of an upatch+Programs and maps of a upatch~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- Its programs run on every event of their hooks. Their time adds to the@@ -492,7 +492,7 @@ Programs and maps of an upatch- Serializer programs and Lua decoders run at every export, every 5 s.The Lua limits above bound a decoder.-:doc:`/upatches/write/maps-arenas-serializers` explains how an upatch keeps+:doc:`/upatches/write/maps-arenas-serializers` explains how a upatch keepsrecords in an arena.kernel-obs examplediff --git a/Documentation/operate/plan/scalability.rst b/Documentation/operate/plan/scalability.rstindex 009a7706..3759986f 100644--- a/Documentation/operate/plan/scalability.rst+++ b/Documentation/operate/plan/scalability.rst@@ -40,7 +40,7 @@ Registry requestsand signature, in full. A target that is behind the segment thereference names also fetches each sealed segment back to the oneits last applied operation lies in, twice: once on the walk back,- once to apply it. An upatch the tree adds is fetched once,+ once to apply it. A upatch the tree adds is fetched once,manifest and blob, and cached by its layer digest.* - ``bpm upgrade``- Nothing until the cached index lists a newer version of andiff --git a/Documentation/operate/plan/system-requirements.rst b/Documentation/operate/plan/system-requirements.rstindex 991e3cdc..b97e415e 100644--- a/Documentation/operate/plan/system-requirements.rst+++ b/Documentation/operate/plan/system-requirements.rst@@ -72,7 +72,7 @@ Kernel source7.4. Without it, detaching one BPF program from a hook that othersshare can crash tasks that run the hook during the update, onkernels where an ftrace callback starts at an odd address (seen- with gcc 13 and ``CONFIG_CC_OPTIMIZE_FOR_SIZE=y``). Unloading an+ with gcc 13 and ``CONFIG_CC_OPTIMIZE_FOR_SIZE=y``). Unloading aupatch detaches its programs from hooks that other programsshare. Apply it to an x86-64 tree that predates it.* - :src:`kernel/0001 <kernel/0001-tpm-Let-LSMs-inspect-userspace-commands.patch>`@@ -244,7 +244,7 @@ Attach points for upatchesshirudo runs without these options. They decide where the upatches afleet runs can attach. ``fentry``, ``fexit``, ``lsm`` and ``tp_btf``-upatches need nothing beyond the table above. An upatch whose attach+upatches need nothing beyond the table above. A upatch whose attachpoint is missing fails to load... list-table::diff --git a/Documentation/operate/troubleshoot/incident-tampered.rst b/Documentation/operate/troubleshoot/incident-tampered.rstindex 0a7f0383..b17bcac8 100644--- a/Documentation/operate/troubleshoot/incident-tampered.rst+++ b/Documentation/operate/troubleshoot/incident-tampered.rst@@ -201,12 +201,12 @@ After the investigationnew register and runs init from the initrd again.2. Verify the new boot with every value pinned, as in- `Verify with the TPM`_. An upatch that someone loaded with an+ `Verify with the TPM`_. A upatch that someone loaded with anenrolled key is in the archive, and init restores it at boot. The initevent then covers it, and the verification fails on``state: init event covers the expected certificate, set and tree root``.-3. Remove what you did not authorize: unload an upatch with a signed+3. Remove what you did not authorize: unload a upatch with a signedunload directive, or revoke its signer through a signed config as:doc:`/operate/maintain/keys` describes.diff --git a/Documentation/operate/troubleshoot/troubleshooting.rst b/Documentation/operate/troubleshoot/troubleshooting.rstindex 91d96646..ab2b97a9 100644--- a/Documentation/operate/troubleshoot/troubleshooting.rst+++ b/Documentation/operate/troubleshoot/troubleshooting.rst@@ -9,7 +9,7 @@ Troubleshoot by symptom=======================This page starts from what you see: a message a command prints, the-failure category of an upatch load or unload, or a status verdict. Each+failure category of a upatch load or unload, or a status verdict. Eachentry says what the symptom means, what causes it and what to do. Theoutput shown was captured from the test VM.diff --git a/Documentation/reference/cli/attest-predict.rst b/Documentation/reference/cli/attest-predict.rstindex 38b82802..451d1ac7 100644--- a/Documentation/reference/cli/attest-predict.rst+++ b/Documentation/reference/cli/attest-predict.rst@@ -116,7 +116,7 @@ Options* - ``--expect``- ``<name>=<digest>``- An archived upatch by name and payload digest. Repeatable. The- name is one an upatch can have, see+ name is one a upatch can have, see:doc:`/concepts/upatches-and-packages`, and comes once.* - ``--tree-root``- ``<digest>``, 64 hex charactersdiff --git a/Documentation/reference/cli/attest-verify.rst b/Documentation/reference/cli/attest-verify.rstindex 2d43d919..88312111 100644--- a/Documentation/reference/cli/attest-verify.rst+++ b/Documentation/reference/cli/attest-verify.rst@@ -108,7 +108,7 @@ Options* - ``--expect``- ``<name>=<digest>``- An archived upatch by name and payload digest. Repeatable. The- name is one an upatch can have, see+ name is one a upatch can have, see:doc:`/concepts/upatches-and-packages`, and comes once. Needs``--cert``.* - ``--tree-root``diff --git a/Documentation/reference/cli/build.rst b/Documentation/reference/cli/build.rstindex 21bb7f6f..2eccb09a 100644--- a/Documentation/reference/cli/build.rst+++ b/Documentation/reference/cli/build.rst@@ -103,7 +103,7 @@ digest:#. The output is ``-o``, else ``<name>.unload.upatch`` in the currentdirectory.-A target applies a directive only to an upatch whose loaded payload+A target applies a directive only to a upatch whose loaded payloaddigest equals the signed one (:doc:`upatch-unload`); a directive withany other digest is refused with ``payload_mismatch``.diff --git a/Documentation/reference/cli/init.rst b/Documentation/reference/cli/init.rstindex 4a17394e..70eb11c1 100644--- a/Documentation/reference/cli/init.rst+++ b/Documentation/reference/cli/init.rst@@ -56,7 +56,7 @@ Descriptionwhose load the eventlog records without a later unload, all ornothing. An archive without such a record, one root brought backafter its unload or one a load stopped before its extend left, is- ignored with a warning. An upatch already loaded with the archived+ ignored with a warning. A upatch already loaded with the archivedpayload and every link its signed metadata implies is kept; onemissing a link is refused as tampered. An archived upatch that is notloaded after this boot's register was bound is refused as tampered.diff --git a/Documentation/reference/cli/upatch-load.rst b/Documentation/reference/cli/upatch-load.rstindex 763d59fe..4446f45a 100644--- a/Documentation/reference/cli/upatch-load.rst+++ b/Documentation/reference/cli/upatch-load.rst@@ -92,7 +92,7 @@ For XDP, the signed device-class mask selects interfaces present in theinitial network namespace at load time, with one endpoint per veth pair.Each program can produce several ``link_<n>`` pins. Native XDP isrequired: a device without it is logged and skipped. A device that has-native XDP but refuses it in its current settings is an error. An upatch with no+native XDP but refuses it in its current settings is an error. A upatch with noattachable device yet still loads, and:doc:`/reference/cli/upatch-reconcile` attaches it when one appears. Adevice that is occupied or does not report multi-buffer XDP, and any otherdiff --git a/Documentation/reference/cli/upatch-reconcile.rst b/Documentation/reference/cli/upatch-reconcile.rstindex 6a945b71..57f08d5d 100644--- a/Documentation/reference/cli/upatch-reconcile.rst+++ b/Documentation/reference/cli/upatch-reconcile.rst@@ -59,7 +59,7 @@ Every upatch is checked before any is attached. An archive that differsfrom what the records say was loaded stops the pass with ``tampered``,and no upatch gets a new link until that is resolved. Pins of a loadstill in progress, or of one that stopped before its record, are skipped,-as is an upatch unloaded or replaced during the pass; ``status`` reports+as is a upatch unloaded or replaced during the pass; ``status`` reportsa load that stopped under ``UpatchesMeasured``.Optionsdiff --git a/Documentation/reference/eventlog.rst b/Documentation/reference/eventlog.rstindex e63bdba4..b825fa45 100644--- a/Documentation/reference/eventlog.rst+++ b/Documentation/reference/eventlog.rst@@ -210,7 +210,7 @@ upatch name, the tree ``seq`` and ``operation_digest``, or thecertificate's ``cert_sha256``. A tree operation's ``op`` and ``id`` anda key's ``fingerprint`` are not shown, as verify cannot tie them to thedigest. Evidence with a record ``type`` other than lowercase letters and-``_``, or an upatch record without a valid upatch name, is no evidence+``_``, or a upatch record without a valid upatch name, is no evidencedocument... list-table::@@ -280,7 +280,7 @@ A refusal is ``tampered`` for a load or an unload and an ``ALERT`` of``UpatchesMeasured`` in ``status``. An ``init`` record starts the setover with its ``set``, and an ``upatch_load`` or ``upatch_unload``record adds or removes its upatch.-Only an ``init`` record's ``set`` counts. Lean 4 proves the fold holds an+Only an ``init`` record's ``set`` counts. Lean 4 proves the fold holds aupatch exactly when the last record that bears on it, an ``init`` recordor a load or unload of it, leaves it loaded: its load, or an ``init``record whose ``set`` lists it, with that payload.diff --git a/Documentation/reference/formats/beefile.rst b/Documentation/reference/formats/beefile.rstindex 484f6a8d..650e2649 100644--- a/Documentation/reference/formats/beefile.rst+++ b/Documentation/reference/formats/beefile.rst@@ -10,7 +10,7 @@ BeefileA Beefile describes a package: its name, the files it ships, the upatches``shirudo bpm build`` compiles and signs into it, and the entries-``shirudo bpm tree append`` publishes to an upatch tree. ``bpm build``+``shirudo bpm tree append`` publishes to a upatch tree. ``bpm build``reads ``<context>/Beefile``, or the file given with ``--file``, and treatsthe directory that holds it as the package directory. Every path in theBeefile is relative to that directory. The package archives the Beefilediff --git a/Documentation/reference/formats/bpm-formats.rst b/Documentation/reference/formats/bpm-formats.rstindex 3dc095f9..ffc0d533 100644--- a/Documentation/reference/formats/bpm-formats.rst+++ b/Documentation/reference/formats/bpm-formats.rst@@ -28,7 +28,7 @@ What is signed--------------Figure 1 shows the objects of one registry namespace, the packages, the-index and an upatch tree, and which of them are signed and which are+index and a upatch tree, and which of them are signed and which arepinned by a digest in a signed one. The table gives each object'sprotection.diff --git a/Documentation/reference/formats/upatch-format.rst b/Documentation/reference/formats/upatch-format.rstindex 46355665..32650f2c 100644--- a/Documentation/reference/formats/upatch-format.rst+++ b/Documentation/reference/formats/upatch-format.rst@@ -858,7 +858,7 @@ Limits- 16 KiB (writer), 64 KiB (kernel)* - Signed sections- 1 to 8- * - Name of an upatch+ * - Name of a upatch- 255 characters of ``[A-Za-z0-9._-]``, each ``.`` counting as two,not starting with ``.``* - ``kprobe``, ``kretprobe``, ``uprobe``, ``uretprobe``,diff --git a/Documentation/reference/formats/upatch-tree.rst b/Documentation/reference/formats/upatch-tree.rstindex bd731180..a2f2e568 100644--- a/Documentation/reference/formats/upatch-tree.rst+++ b/Documentation/reference/formats/upatch-tree.rst@@ -10,7 +10,7 @@upatch tree===========-An upatch tree is a signed, append-only list of ``add`` and ``delete``+A upatch tree is a signed, append-only list of ``add`` and ``delete``operations in one OCI repository, ``oci://<registry>/<repository>``. Theoperator publishes it with ``bpm tree append``, one operation per``[upatches.tree]`` entry of a package. Every node reads it with ``bpmdiff --git a/Documentation/security/cryptography.rst b/Documentation/security/cryptography.rstindex dc747b4c..36ab36fc 100644--- a/Documentation/security/cryptography.rst+++ b/Documentation/security/cryptography.rst@@ -130,7 +130,7 @@ Digests* - Use- Algorithm- Input- * - Payload digest of an upatch (``payload_sha256``)+ * - Payload digest of a upatch (``payload_sha256``)- SHA-256- The signed bytes: loader instructions followed by the map data* - ``excl_prog_hash`` of the metadata mapdiff --git a/Documentation/security/threat-model.rst b/Documentation/security/threat-model.rstindex c7aa3aaa..55517ee2 100644--- a/Documentation/security/threat-model.rst+++ b/Documentation/security/threat-model.rst@@ -116,7 +116,7 @@ Security goals- T13The goals hold only together with the assumptions below. None of them-says that an upatch is correct: shirudo establishes provenance, not+says that a upatch is correct: shirudo establishes provenance, notcorrectness... _tm-assumptions:@@ -438,7 +438,7 @@ pinned, and nothing the target says about itself.Outside both are the OCI registries, the network, the collectors, theirTLS certificates, and whatever remote access an administrator uses. A-registry can withhold and replay signed content. It cannot forge an+registry can withhold and replay signed content. It cannot forge aupatch, because the kernel verifies every loader (T1). What a registrycan do to indexes, tree publications and the transport is described inT7 and U3 to U4.@@ -505,7 +505,7 @@ ADV-F, holder of a compromised or revoked signing keyknows (R1). Its loaders run ``bpf()`` calls from kernel context,which both gates admit, so it can open shirudo's maps and attachprograms that write them: the maps are frozen against ``bpf()``- writes, not against programs. An upatch does what its author wrote,+ writes, not against programs. A upatch does what its author wrote,disabling enforcement included. Keys it vouched for stay admittedwhere a config lists them (U13). Tree publications require anon-revoked member of the active config's BPF signer set.@@ -956,7 +956,7 @@ T4 Substituting artifacts~~~~~~~~~~~~~~~~~~~~~~~~~A signed artifact is only as useful to root as the parts it can change.-If the name an upatch loads under, the sites it attaches at, or the+If the name a upatch loads under, the sites it attaches at, or theupatch an unload directive removes sat outside the signature, rootcould aim a signed program elsewhere or turn one directive againstanother upatch.@@ -1692,7 +1692,7 @@ R14 Configs roll backR16 Any artifact ever signed loads at any timeThere is no version floor, no expiry and no per-targetauthorization. Neither shirudo nor the kernel checks a certificate's- validity period. Root can roll an upatch back to an older vulnerable+ validity period. Root can roll a upatch back to an older vulnerableversion or load a signed debug upatch. Detection: the load ismeasured, and a verifier with an expected state sees it. The onlyway to retire one artifact is to revoke the key that signed it.@@ -1749,7 +1749,7 @@ R20 The TPM owner password is not a secret on the targetAn image shared across a fleet shares the password.R21 upatches can be neutralized by changing their targets- An upatch stays loaded and measured while root makes it ineffective:+ A upatch stays loaded and measured while root makes it ineffective:by unloading the module a kprobe targets, by replacing the binary a``uprobe``, ``uretprobe``, ``uprobe.multi`` or ``uretprobe.multi``target names with a new inode. Disabling kprobes through debugfs is@@ -1766,12 +1766,12 @@ R21 upatches can be neutralized by changing their targetsdevice under ``XdpCovered`` with the reason the device reports andgives the verdict ``degraded``, which the keepalive carries; rootcan stop the keepalive as well, which its collector sees as silence.- At boot restore a device whose driver refuses, or that an upatch+ At boot restore a device whose driver refuses, or that a upatchrestored before holds, fails ``init``: the register stays unbound, soattestation fails, and that upatch and every archive after it in nameorder stay unloaded that boot. Neither a setting that survives areboot, in the NIC's firmware or the hypervisor, nor a second upatch- that selects the device can therefore take it out of an upatch+ that selects the device can therefore take it out of a upatchunseen, at the price of a host that boots without those upatches. Adevice whose driver name or devlink port cannot be read is theexception: no class can be given to it, and any device's failing@@ -1802,7 +1802,7 @@ R21 upatches can be neutralized by changing their targetsauthority, and an attempt without it is refused and counted as``PinUnlink`` or ``PinRename``. A task that has that authority, or getspast the guards, can detach an XDP link unreported until the next pass.- Every other pin an upatch must hold is checked.+ Every other pin a upatch must hold is checked.R22 Labeled inodes are interchangeableThe label carries no identity. Any labeled inode passes shirudo's@@ -2013,7 +2013,7 @@ U19 A decoder cannot name a long upatch:Affects: Lua decoders and map export (T13).:Consequence: A decoder names its upatch in a 64-byte field, and``shirudo build`` and map export compare it with the whole upatch- name, which can have up to 255 characters. An upatch whose name has+ name, which can have up to 255 characters. A upatch whose name has64 characters or more cannot carry a decoder, and map export sendsits maps as raw entries, not as the records a decoder would make ofthem.@@ -2092,7 +2092,7 @@ Out of scope- Denial of service: removing the binary, cutting the network, fillingthe disk, holding a lock file, stopping a process. shirudo refusesrather than fail over, and several such refusals are listed above.-- The correctness or safety of an upatch an authorized signer built.+- The correctness or safety of a upatch an authorized signer built.- Fleet inventory, rollout order, retries, scheduling and consistencyacross targets. shirudo reports one machine.- Remote access and audit retention, which belong to the infrastructurediff --git a/Documentation/start/faq.rst b/Documentation/start/faq.rstindex f33bd386..4dfb156f 100644--- a/Documentation/start/faq.rst+++ b/Documentation/start/faq.rst@@ -11,7 +11,7 @@ FAQShort answers to the questions newcomers ask most, each with the pagethat explains it.-What is an upatch?+What is a upatch?------------------A signed BPF program that shirudo loads into the running kernel without a@@ -27,7 +27,7 @@ See :doc:`/reference/versions` and :doc:`/contribute/arch-support`.Does shirudo replace kernel updates?-------------------------------------No. An upatch covers the time until the machine runs a kernel with the+No. A upatch covers the time until the machine runs a kernel with thefix. :doc:`/start/what-is-shirudo` describes what shirudo does and doesnot do.@@ -100,10 +100,10 @@ No. shirudo signs with ML-DSA-87 only, a post-quantum algorithm, andthe signing code refuses any other key. Create the key with``shirudo genkey``, as :doc:`/operate/maintain/keys` describes.-Do I need to know BPF to write an upatch?+Do I need to know BPF to write a upatch?------------------------------------------An upatch is plain BPF C. :doc:`/start/guides/first-upatch` writes one+A upatch is plain BPF C. :doc:`/start/guides/first-upatch` writes onefrom scratch, and :doc:`/upatches/learn/kernel-fix-tutorial` takes a realkernel fix to a published package.@@ -119,7 +119,7 @@ How much does shirudo cost on a target, and how far does it scale?:doc:`/operate/plan/overhead` gives the files, memory, CPU time andnetwork traffic of one target, and :doc:`/operate/plan/scalability` how-the registry load grows with a fleet and where a target and an upatch+the registry load grows with a fleet and where a target and a upatchreach their limits.Is there a talk that introduces shirudo?diff --git a/Documentation/start/guides/first-upatch.rst b/Documentation/start/guides/first-upatch.rstindex 418db4c2..c95d8fc3 100644--- a/Documentation/start/guides/first-upatch.rst+++ b/Documentation/start/guides/first-upatch.rst@@ -199,7 +199,7 @@ Unload itnoneThe count was lost with the unload: the map lived only as long as the-upatch. A single counter fits an array map. An upatch that accumulates+upatch. A single counter fits an array map. A upatch that accumulatesrecords keeps them in a BPF arena, with a serializer program that exportsthem in one consistent snapshot.@@ -212,6 +212,6 @@ Next steps``fentry``.- :doc:`/upatches/write/maps-arenas-serializers` explains arenas andserializers.-- :doc:`publish-package` ships an upatch through an OCI registry.+- :doc:`publish-package` ships a upatch through an OCI registry.- :doc:`/reference/cli/upatch-map` describes every option of``shirudo upatch map``.diff --git a/Documentation/start/guides/index.rst b/Documentation/start/guides/index.rstindex 4452c0aa..7662c90d 100644--- a/Documentation/start/guides/index.rst+++ b/Documentation/start/guides/index.rst@@ -6,7 +6,7 @@ Quick guides============These tutorials continue from the :doc:`/start/quickstart` and run in its-test VM. Each takes one task from start to finish: writing an upatch of+test VM. Each takes one task from start to finish: writing a upatch ofyour own, shipping one as a package through an OCI registry, andenrolling the target's TPM to verify what the target runs.diff --git a/Documentation/start/guides/publish-package.rst b/Documentation/start/guides/publish-package.rstindex ac038df6..22c423d4 100644--- a/Documentation/start/guides/publish-package.rst+++ b/Documentation/start/guides/publish-package.rst@@ -8,7 +8,7 @@Publish and install a package=============================-In this tutorial you put an upatch into a package, publish the package to+In this tutorial you put a upatch into a package, publish the package toan OCI registry on your host and install it on the test target fromthere. Targets always pull: the operator publishes to a registry, and thetarget fetches, checks and loads.@@ -49,7 +49,7 @@ Start a registryBuild the package------------------1. Make a package directory with an upatch in it:+1. Make a package directory with a upatch in it:.. code-block:: consolediff --git a/Documentation/start/how-it-works.rst b/Documentation/start/how-it-works.rstindex 170ae578..175de3df 100644--- a/Documentation/start/how-it-works.rst+++ b/Documentation/start/how-it-works.rst@@ -22,7 +22,7 @@ mechanisms in depth.its TPM extends the register and signs evidence, which theoperator verifies.- Figure 1. The life of an upatch. Only the operator host holds the+ Figure 1. The life of a upatch. Only the operator host holds thesigning key, and only the target's TPM signs evidence.Before the first upatch@@ -48,7 +48,7 @@ rely on.Build and sign---------------1. An upatch starts as BPF C source, often a few lines that refuse the+1. A upatch starts as BPF C source, often a few lines that refuse thecall a kernel fix closes. It reads kernel structures through CO-RE, sothe target kernel adjusts field offsets to its own layout when theprogram loads (:doc:`/concepts/background/co-re-btf`).@@ -82,7 +82,7 @@ Package and publishThe registry stores and serves bytes, and the design does not trust it.It can withhold or replay what the operator published, but it cannot- produce an index, a tree or an upatch that passes the target's signature+ produce an index, a tree or a upatch that passes the target's signaturechecks. :doc:`/concepts/upatches-and-packages` describes the objects, and:doc:`/concepts/background/oci` the registry protocol.@@ -181,7 +181,7 @@ is the check. :doc:`/operate/run/telemetry` covers the export settings.Unload-------An upatch leaves the target through its unload directive. ``shirudo+A upatch leaves the target through its unload directive. ``shirudoupatch unload`` loads the directive's loader through the same signaturecheck, and that check is what authorizes the unload. The loader itselfnever runs. shirudo compares the payload digest the directive names withdiff --git a/Documentation/start/index.rst b/Documentation/start/index.rstindex 85e1a390..54b10100 100644--- a/Documentation/start/index.rst+++ b/Documentation/start/index.rst@@ -8,9 +8,9 @@ StartStart here if you are new to shirudo. The quickstart builds it, boots aprotected test target in a VM and takes one upatch through its wholelife. The next pages explain the problem shirudo addresses, who it is-for and the path an upatch takes from a kernel fix to a measured load.+for and the path a upatch takes from a kernel fix to a measured load.The installation page and the quick guides then cover the first tasks:-installing the packages, writing an upatch, publishing a package and+installing the packages, writing a upatch, publishing a package andattesting a target... toctree::diff --git a/Documentation/start/quickstart.rst b/Documentation/start/quickstart.rstindex 7b6ac2bc..83e0c582 100644--- a/Documentation/start/quickstart.rst+++ b/Documentation/start/quickstart.rst@@ -255,7 +255,7 @@ Check enforcementRoot without runtime authority cannot open shirudo's maps and links.The next status report counts the attempt under ``ObjGet``.-Build and sign an upatch+Build and sign a upatch------------------------The test VM's bundle generated an ML-DSA-87 key pair for this VM, and the@@ -575,8 +575,8 @@ them.Next steps------------ :doc:`guides/first-upatch` writes an upatch of your own.-- :doc:`guides/publish-package` ships an upatch through an OCI registry.+- :doc:`guides/first-upatch` writes a upatch of your own.+- :doc:`guides/publish-package` ships a upatch through an OCI registry.- :doc:`guides/attest-target` enrolls the target's TPM and verifies itsevidence.- :doc:`how-it-works` explains each step of this page.diff --git a/Documentation/start/what-is-shirudo.rst b/Documentation/start/what-is-shirudo.rstindex d2d14ced..87ac1d34 100644--- a/Documentation/start/what-is-shirudo.rst+++ b/Documentation/start/what-is-shirudo.rst@@ -61,11 +61,11 @@ What shirudo doesWhat shirudo does not do-------------------------- It does not judge what an upatch does. The signature proves who built the+- It does not judge what a upatch does. The signature proves who built thecode and that it was not tampered with. The kernel's BPF verifier stillchecks memory safety, but whether the program is a correct mitigation isthe author's responsibility.-- It does not replace kernel updates. An upatch covers the time until the+- It does not replace kernel updates. A upatch covers the time until themachine runs a fixed kernel.- It has no daemon, no listening socket, no push channel, no SSHintegration and no fleet inventory. Every target operation is a one-shot@@ -106,6 +106,6 @@ Next steps- :doc:`how-it-works` follows one upatch from a kernel fix to a measuredload and back.-- :doc:`quickstart` takes an upatch through its whole life on a test VM.+- :doc:`quickstart` takes a upatch through its whole life on a test VM.- :doc:`/security/security-model` summarizes what shirudo protects andwhere each mechanism stops.diff --git a/Documentation/start/who-is-shirudo-for.rst b/Documentation/start/who-is-shirudo-for.rstindex 20b44c1b..e1cb455a 100644--- a/Documentation/start/who-is-shirudo-for.rst+++ b/Documentation/start/who-is-shirudo-for.rst@@ -73,8 +73,8 @@ upatch authors--------------Kernel and BPF engineers who write mitigations, hardening, containment-and observability. An upatch is plain BPF C, compiled with clang and-checked by the BPF verifier, and CO-RE lets one artifact load on more+and observability. A upatch is plain BPF C, compiled with clang and+checked by the BPF verifier. CO-RE lets one artifact load on morethan one kernel build. Authors attach to LSM hooks, kernel functions,tracepoints, userspace functions, cgroup socket buffers and netfilter.@@ -134,7 +134,7 @@ Next steps----------- :doc:`what-is-shirudo` for what shirudo does and does not do-- :doc:`quickstart` to take an upatch through its whole life on a test+- :doc:`quickstart` to take a upatch through its whole life on a testVM- :doc:`/operate/plan/interoperability` for what enforcement refuses ona targetdiff --git a/Documentation/upatches/index.rst b/Documentation/upatches/index.rstindex d9240ad7..f1b46500 100644--- a/Documentation/upatches/index.rst+++ b/Documentation/upatches/index.rst@@ -17,7 +17,7 @@ published package. :doc:`/upatches/write/attach-kinds` andpackages- :doc:`write/index`: attach kinds, maps, arenas and serializers, Luadecoders, and memory consistency-- :doc:`test/index`: test an upatch on a target and debug a failed load+- :doc:`test/index`: test a upatch on a target and debug a failed load- :doc:`publish/index`: the Beefile and publishing a package.. toctree::diff --git a/Documentation/upatches/learn/concepts.rst b/Documentation/upatches/learn/concepts.rstindex 807d3aa1..ebe0c057 100644--- a/Documentation/upatches/learn/concepts.rst+++ b/Documentation/upatches/learn/concepts.rst@@ -8,12 +8,12 @@upatch concepts===============-An upatch is the unit of BPF code that shirudo installs on a target. The+A upatch is the unit of BPF code that shirudo installs on a target. Theauthor writes an ordinary BPF object in C. ``shirudo build`` turns it intoa signed ``.upatch`` file, and the target loads that file through the onepath the kernel accepts from userspace: a signed loader. This page explainswhat the author writes, what the build adds around it, what the target does-with it, and what an upatch cannot do.+with it, and what a upatch cannot do.We use the name "upatch" as an easier-to-type representation of "µpatch" or"micropatch".@@ -21,7 +21,7 @@ We use the name "upatch" as an easier-to-type representation of "µpatch" orBPF program------------The author's side of an upatch is libbpf-style BPF C: programs in+The author's side of a upatch is libbpf-style BPF C: programs in``SEC()`` sections, maps in ``SEC(".maps")``, types from ``vmlinux.h``.The smallest upatch the test suite builds is one ``fentry`` program:@@ -48,7 +48,7 @@ of every file that is compiled into a BPF object.The program reads kernel structures through CO-RE: clang records eachfield access as a relocation against the types in ``vmlinux.h``, and thetarget kernel resolves the relocations against its own BTF when the-program loads. CO-RE carries an upatch across builds of the same kernel+program loads. CO-RE carries a upatch across builds of the same kernelgeneration, not across kernels that removed or renamed what it reads. Ahard-coded offset signs as well as a CO-RE access and fails on the wrongkernel in the same way. :doc:`/concepts/background/co-re-btf` explains the@@ -202,7 +202,7 @@ carries an all-zero digest, so such a directive fails withNames------One name follows an upatch everywhere: the pin directory, the archive+One name follows a upatch everywhere: the pin directory, the archivefile, the eventlog record and the target of its unload directive... list-table::@@ -249,17 +249,17 @@ A program has one of three roles, all recorded in the signed attachmetadata. An attach program is linked to the site its section names. Aserializer renders one map into records when the map is exported. Atest-run program runs once at load, right after the attachments, which is-how an upatch initializes state such as an arena before its first export.+how a upatch initializes state such as an arena before its first export.A negative return from the test-run program fails the load.-An upatch that accumulates records keeps them in one BPF arena and ships a+A upatch that accumulates records keeps them in one BPF arena and ships aserializer that walks them. :doc:`/upatches/write/maps-arenas-serializers`explains why.A map becomes a log record or a metric through a decoder, a Lua functionthat the source declares in ``.rodata`` and the build signs into theupatch. :doc:`/upatches/write/decoders` shows how to write one.-What an upatch cannot do+What a upatch cannot do------------------------It cannot run code the operator did not sign. The kernel checks thediff --git a/Documentation/upatches/learn/index.rst b/Documentation/upatches/learn/index.rstindex 41ea7b72..1a7d68c9 100644--- a/Documentation/upatches/learn/index.rst+++ b/Documentation/upatches/learn/index.rst@@ -5,7 +5,7 @@Learn=====-What an upatch is and how it reaches a target, one upatch taken from a+What a upatch is and how it reaches a target, one upatch taken from areal kernel fix to a published package, and the example packages in thetree.diff --git a/Documentation/upatches/learn/kernel-fix-tutorial.rst b/Documentation/upatches/learn/kernel-fix-tutorial.rstindex 4e33ec44..9c1d5ac4 100644--- a/Documentation/upatches/learn/kernel-fix-tutorial.rst+++ b/Documentation/upatches/learn/kernel-fix-tutorial.rst@@ -5,7 +5,7 @@:page-type: Tutorial:audience: upatch authors-From a kernel fix to an upatch+From a kernel fix to a upatch==============================This tutorial takes one kernel fix to a signed upatch, loads it on a test@@ -66,7 +66,7 @@ interface's ``rpl_seg_enabled`` are both set.Choose the attach point------------------------An upatch can refuse the dangerous input or record it. Refusing needs a+A upatch can refuse the dangerous input or record it. Refusing needs ahook that can change the outcome:- ``fmod_ret`` would return early from ``ipv6_rpl_srh_rcv()`` or its@@ -434,4 +434,4 @@ Next steps- :doc:`/operate/run/deliver-packages` for what a target does with them- :doc:`/upatches/write/maps-arenas-serializers` and:doc:`/upatches/write/decoders` to export what the upatch records-- :doc:`/upatches/write/attach-kinds` for the other places an upatch can attach+- :doc:`/upatches/write/attach-kinds` for the other places a upatch can attachdiff --git a/Documentation/upatches/publish/publishing.rst b/Documentation/upatches/publish/publishing.rstindex f1ae44b8..79cb093d 100644--- a/Documentation/upatches/publish/publishing.rst+++ b/Documentation/upatches/publish/publishing.rst@@ -11,7 +11,7 @@ Publish a packagePublishing makes a package reachable for targets in two ways. ``bpmpush`` puts it into an OCI repository and adds it to the registry'ssigned index, for targets that install packages by name. ``bpm tree-append`` adds its tree entries to an upatch tree, for targets that follow+append`` adds its tree entries to a upatch tree, for targets that followthe tree without naming anything. The registry only transports: targetsverify the operator's signatures on the index, the tree and every upatch.diff --git a/Documentation/upatches/test/debugging.rst b/Documentation/upatches/test/debugging.rstindex e89964a8..9b885ffd 100644--- a/Documentation/upatches/test/debugging.rst+++ b/Documentation/upatches/test/debugging.rst@@ -44,7 +44,7 @@ Get the report:doc:`/reference/failure-categories` defines every category and theexit status of each command.- For an upatch that a package or the tree delivered, the same failure+ For a upatch that a package or the tree delivered, the same failureis in the journal:.. code-block:: console@@ -150,7 +150,7 @@ Find the causeor the uprobe binary changed.* - ``link_create``- ``unknown``- - Any other error. ``EEXIST``: an upatch of the same name is+ - Any other error. ``EEXIST``: a upatch of the same name isloaded. Unload it first. ``EINVAL``: the kernel refused theattachment, such as ``bpf_override_return()`` outside anerror-injection function. ``EADDRNOTAVAIL``: kallsyms lists thediff --git a/Documentation/upatches/test/index.rst b/Documentation/upatches/test/index.rstindex 7a08c0c0..ffdeb2f4 100644--- a/Documentation/upatches/test/index.rst+++ b/Documentation/upatches/test/index.rst@@ -5,7 +5,7 @@Test and debug==============-Load an upatch on a test target before you ship it, and find out why a+Load a upatch on a test target before you ship it, and find out why aload failed... toctree::diff --git a/Documentation/upatches/test/testing.rst b/Documentation/upatches/test/testing.rstindex aa5460ce..930419aa 100644--- a/Documentation/upatches/test/testing.rst+++ b/Documentation/upatches/test/testing.rst@@ -5,10 +5,10 @@:page-type: How-to:audience: upatch authors-Test an upatch on a target+Test a upatch on a target==========================-Load an upatch on a real target before it ships, read what it records,+Load a upatch on a real target before it ships, read what it records,and unload it again. The test VM in a shirudo checkout is such a target:it boots the dm-verity runtime image and a signed config image from adracut initrd, with a software TPM, and runs ``shirudo init`` there as a@@ -21,7 +21,7 @@ Before you begin- A shirudo checkout built with ``make`` and ``make shirudo-build``- A Linux host with KVM, root, and the host packages the test VM needs,listed in :doc:`/contribute/testing/testing`-- An upatch and its unload directive, built as in+- A upatch and its unload directive, built as in:doc:`/upatches/learn/kernel-fix-tutorial`, or one of the signed fixturesbelowdiff --git a/Documentation/upatches/write/attach-kinds.rst b/Documentation/upatches/write/attach-kinds.rstindex 99ea903d..16ae2357 100644--- a/Documentation/upatches/write/attach-kinds.rst+++ b/Documentation/upatches/write/attach-kinds.rst@@ -103,7 +103,7 @@ Every attached program becomes one link pinned at``/run/shirudo/bpffs/upatches/<name>/link`` when the upatch has one attachprogram, and at ``link_0``, ``link_1`` and so on, in the order of theobject, when it has several. ``<name>`` has every ``.`` written as ``~d``.-An upatch containing XDP always uses ``link_0``, ``link_1`` and so on,+A upatch containing XDP always uses ``link_0``, ``link_1`` and so on,because one program can attach to several interfaces.fentry and fexit@@ -392,7 +392,7 @@ shared class is checked at these places:the artifact.- ``parser_rejected``* - ``bpm tree append``- - An upatch selects a class another upatch of the tree selects on+ - A upatch selects a class another upatch of the tree selects onthe same nodes.- The append is refused and nothing is published.* - ``upatch load``@@ -462,7 +462,7 @@ driver's own errno.An XDP program with no device to attach to still loads: a pin of itsown, ``xdp_prog_<i>``, keeps it. Boot restore attaches the same way:it skips what a load skips and fails where a load fails, and ``init``-then stops with the register unbound. A device that an upatch restored+then stops with the register unbound. A device that a upatch restoredbefore this one holds fails the restore like any other, also one thatreconcile only warned about before the reboot.A setting root makes after boot is the reconcile pass's to meet, which@@ -528,7 +528,7 @@ Reconcile~~~~~~~~~The signed artifact and the TPM measurement cover the class policy, not-a fixed device inventory, so the devices an upatch runs on change after+a fixed device inventory, so the devices a upatch runs on change afterits load. :doc:`/reference/cli/upatch-reconcile` repeats the discoveryof load and restore later: it attaches a loaded upatch to any selecteddevice it does not run on yet and removes the pin of a link whose devicediff --git a/Documentation/upatches/write/decoders.rst b/Documentation/upatches/write/decoders.rstindex 6c6b7674..651b8a16 100644--- a/Documentation/upatches/write/decoders.rst+++ b/Documentation/upatches/write/decoders.rst@@ -17,7 +17,7 @@ This page shows how to declare one, write it, check it and run it.Before you begin------------------ An upatch source with the map to export, and the layout of that map:+- A upatch source with the map to export, and the layout of that map:the records its serializer writes, or its key and value types.:doc:`/upatches/write/maps-arenas-serializers` covers serializers.- The test VM or another target to run the decoder on, asdiff --git a/Documentation/upatches/write/index.rst b/Documentation/upatches/write/index.rstindex 3277a05e..389e50ae 100644--- a/Documentation/upatches/write/index.rst+++ b/Documentation/upatches/write/index.rst@@ -5,7 +5,7 @@Write=====-Where a program can attach, how an upatch keeps and exports its state in+Where a program can attach, how a upatch keeps and exports its state inmaps, arenas and serializers, how a Lua decoder turns that state intotelemetry, what a program can miss or cannot rely on, and how to testthe memory ordering that programs on several CPUs rely on.diff --git a/Documentation/upatches/write/maps-arenas-serializers.rst b/Documentation/upatches/write/maps-arenas-serializers.rstindex bb6b85b8..7791f05c 100644--- a/Documentation/upatches/write/maps-arenas-serializers.rst+++ b/Documentation/upatches/write/maps-arenas-serializers.rst@@ -8,7 +8,7 @@Maps, arenas and serializers============================-An upatch that observes builds up records in the kernel, and the operator+A upatch that observes builds up records in the kernel, and the operatorwants them out of the target at a steady rate, in complete and boundedsnapshots. This page explains why such state lives in a BPF arena, how aserializer program turns it into records, what draining and peeking mean,@@ -51,7 +51,7 @@ report the count with the snapshot.Userspace cannot iterate an arena through ``bpf()``: the kernel has nokey walk for it, and ``shirudo upatch map`` reports such a map as onewhose contents require a serializer. A program uses at most one arena, so-an upatch keeps all its tables in one. The arena needs a 64-bit kernel+a upatch keeps all its tables in one. The arena needs a 64-bit kernelwith an MMU and a BPF JIT that supports arenas: x86-64, arm64, andriscv64 on CPUs with the Zacas extension. :doc:`/contribute/arch-support`lists the conditions.@@ -111,7 +111,7 @@ with a ``__u32`` key and ``struct serial_chunk`` values that theupatch defines with 1 to 256 entries. :src:`bpf/lib/serializer.h`holds the definitions. The builder refuses a serializer that is not in``SEC("syscall")``, targets a map that does not exist or is-``shirudo_ser`` itself, or duplicates another one, and refuses an upatch+``shirudo_ser`` itself, or duplicates another one, and refuses a upatchwith a serializer and without a valid ``shirudo_ser``.``shirudo upatch map`` runs the serializer with ``BPF_PROG_TEST_RUN``,diff --git a/Documentation/upatches/write/memory-consistency/blitmus.rst b/Documentation/upatches/write/memory-consistency/blitmus.rstindex aa8687e7..9c712c5d 100644--- a/Documentation/upatches/write/memory-consistency/blitmus.rst+++ b/Documentation/upatches/write/memory-consistency/blitmus.rst@@ -13,11 +13,11 @@ test, the notation of the kernel's memory model for a pattern ofconcurrent accesses, into BPF programs. It runs each process of the teston a CPU of its own through ``BPF_PROG_TEST_RUN`` and counts how oftenthe outcome the test asks about occurs. The accesses go through the same-BPF JIT as an upatch's, on real hardware, so a run on each architecture-an upatch targets shows whether the ordering its programs rely on holds+BPF JIT as a upatch's, on real hardware, so a run on each architecture+a upatch targets shows whether the ordering its programs rely on holdsthere.-Use it for an upatch whose programs share state across CPUs: a table+Use it for a upatch whose programs share state across CPUs: a tablethat hooks fill while the serializer drains it, a record publishedthrough an index, or a lock or a lock-free list built from atomics. Thispage writes the insert path of the :src:`upatches/kernel-obs/obs_table.h`@@ -278,6 +278,6 @@ Next steps- :doc:`/upatches/write/maps-arenas-serializers` for the arena table andits serializer-- :doc:`/contribute/arch-support` for the architectures an upatch runs on+- :doc:`/contribute/arch-support` for the architectures a upatch runs on- The `blitmus README <https://github.com/puranjaymohan/blitmus#readme>`_for the annotations that test arena page reusediff --git a/Documentation/upatches/write/memory-consistency/hazards.rst b/Documentation/upatches/write/memory-consistency/hazards.rstindex b292c094..b7e89f20 100644--- a/Documentation/upatches/write/memory-consistency/hazards.rst+++ b/Documentation/upatches/write/memory-consistency/hazards.rst@@ -8,7 +8,7 @@Concurrency hazards===================-Runs of an upatch's programs overlap on different CPUs, and on one CPU+Runs of a upatch's programs overlap on different CPUs, and on one CPUa run can stop halfway while another one runs. Code that looks rightfor one run at a time loses updates, mixes up records or decides ondata that changed under it. This page lists the hazards that recur in@@ -148,7 +148,7 @@ halfway`_ says. Those of runs on different CPUs at once depend onneither and apply on every kernel. Fix a hazard where it applies and notelsewhere: a busy flag or an atomic that no interleaving needs coststime on every run and hides the reasoning behind the code that does need-one. An upatch whose correctness depends on the preemption model says in+one. A upatch whose correctness depends on the preemption model says inits ``README.md`` which model it is written for, as ``kernel-obs`` doesfor the test VM's kernel.diff --git a/Documentation/upatches/write/memory-consistency/index.rst b/Documentation/upatches/write/memory-consistency/index.rstindex a22ab9bb..0956d37d 100644--- a/Documentation/upatches/write/memory-consistency/index.rst+++ b/Documentation/upatches/write/memory-consistency/index.rst@@ -5,7 +5,7 @@Memory consistency==================-An upatch's programs run on every CPU at once. A hook on one CPU fills a+A upatch's programs run on every CPU at once. A hook on one CPU fills arecord in an arena while a hook on another CPU looks up the same key, andthe serializer reads a table that hooks may still write to. Each of themsees the others' stores in an order the CPU chooses, which need not be@@ -15,7 +15,7 @@ x86-64 keeps stores in program order and lets only a later load pass anearlier store, so code that lacks a barrier mostly works there. arm64 andriscv64 reorder far more. On them the same code can let a reader see apublished index before the record it points to. A test on an x86-64-build host therefore says little about the targets that run an upatch on+build host therefore says little about the targets that run a upatch onarm64 or riscv64.BPF gives a program three ways to order its accesses. The atomics thatdiff --git a/Documentation/upatches/write/pitfalls.rst b/Documentation/upatches/write/pitfalls.rstindex e90a0ff9..f30bcb0a 100644--- a/Documentation/upatches/write/pitfalls.rst+++ b/Documentation/upatches/write/pitfalls.rst@@ -11,7 +11,7 @@ PitfallsA program that loads and runs can still miss the events it is meant tosee, decide on data that is not what it looks like, or let through whatit is meant to refuse. Neither the verifier nor a test in a quiet VM-shows any of it. This page lists what the kernel does that an upatch has+shows any of it. This page lists what the kernel does that a upatch hasto plan for, for the attach kinds ``shirudo build`` accepts.:doc:`memory-consistency/hazards` covers the runs that interleave.@@ -24,7 +24,7 @@ program's ``recursion_misses``, which ``struct bpf_prog_info`` reports:- A ``kprobe`` or ``kretprobe`` run, while another ``kprobe`` or``kretprobe`` program runs on the CPU, and while the CPU is in a``bpf()`` call that looks up, updates or deletes a map element from- userspace, as shirudo makes when it reads an upatch's maps. A+ userspace, as shirudo makes when it reads a upatch's maps. A``kprobe`` hit inside the handler of another ``kprobe`` is missed bythe kprobe itself.- An ``fentry``, ``fexit``, ``fmod_ret`` or ``tp_btf`` run of a program@@ -162,4 +162,4 @@ Related- :doc:`attach-kinds` for each attach kind and what the kernel needs for it- :doc:`memory-consistency/hazards` for runs that interleave-- :doc:`maps-arenas-serializers` for the maps an upatch keeps state in+- :doc:`maps-arenas-serializers` for the maps a upatch keeps state in