eBPF-based security platform
skills: add a user-experience skill
Daniel Borkmannbe3238f2ac89
diff --git a/.agents/skills/user-experience/SKILL.md b/.agents/skills/user-experience/SKILL.mdnew file mode 100644index 00000000..9e8b6c87--- /dev/null+++ b/.agents/skills/user-experience/SKILL.md@@ -0,0 +1,290 @@+---+name: user-experience+description: Keeps what shirudo shows its users consistent from one command to the next. Covers the human report layout (labels, sections, tables, checklists, verdicts, folding), one name per field across text, tables and JSON, the --json forms written through util/json.c, messages through pr_err() and its kin, option names and forms through util/options.h, help text with usage and worked examples, exit statuses, and the pages, completion and tests a change to output touches. Use when adding or changing a command, subcommand, option, message, help text, report line, table or JSON key, and when reviewing what a command prints.+paths:+ - "shirudo.c"+ - "builtin-*.c"+ - "util/log.c"+ - "util/log.h"+ - "util/json.c"+ - "util/options.c"+ - "util/options.h"+ - "util/help.c"+ - "util/help.h"+ - "tools/shirudo-build/*.c"+ - "tools/gen-image/*"+ - "completion/**"+ - "Documentation/reference/cli/**"+ - "Documentation/reference/formats/**"+ - "Documentation/reference/failure-categories.rst"+---++# User experience++What a command prints is an interface: the report people read, the JSON+scripts parse, the messages the journal keeps, the help an agent learns+the command from, and the exit status. `shape.md` of the `coding` skill+says it of command output, JSON keys and exit statuses: changing them+breaks their users. Write output like the commands that already+print the same kind of thing, and read the printers named below before+adding one. [fields.md](fields.md) holds the names of the fields that+several commands show.++## Human output++Results go to standard output, messages and help to standard error+(`print_help()` and `util/log.c`); only the scripts under+`tools/gen-image/` print their help on standard output. A report is a+header line, then key-value lines, then sections:++```c+printf("%-22s %s\n", "Payload sha256:", hex); /* top level */+printf("\nSignature:\n"); /* a section */+printf(" %-22s %u bytes\n", "Length:", len); /* in a section */+```++- Labels are `%-22s`, two spaces in when they sit in a section, with+ their colon inside the padding, as in `builtin-status.c`,+ `builtin-upatch.c`, `util/upatch_maps.c`, `builtin-keys.c` and+ `util/image_runtime.c`. A label is sentence case and keeps acronyms as+ written: "Payload sha256:", "SPKI fingerprint:", "TPM:".+- A section heading is sentence case and ends in a colon, after a blank+ line. A section that lists items carries their count: "Loaded upatches+ (1):", "Pinned maps (2):", "Members (3):". A section that groups the+ fields of one thing has none: "Signature:", "Loader:".+- An empty list prints one line, ` none`. A value that is absent prints+ `none`, a value that cannot be read or formatted `?`, with the reason+ where one is known ("unavailable: %s").+- A table is indented two spaces, its first column `%-*s` as wide as the+ longest name and at least `NAME_COLUMN_MIN` (`util/format.h`), two+ spaces between columns, and a header row in upper case: NAME, LOADED,+ TYPE, KIND, PAYLOAD in `upatch list`; NAME, LOCATION, MAPS, MISSED,+ STATUS, AGE in `status`; UPATCH, MAP, TYPE in `upatch map`;+ TYPE, STATUS, DETAIL for conditions; NAME, VERSION, SOURCE in+ `bpm list`. The header row is printed only above rows; with none, the+ heading takes ` none`.+- A checklist line is ` OK text`, ` FAIL text` or ` NOTE text`:+ upper case, the text at column 8. `say()` and `note()` in+ `util/attest.c` write them for `attest verify` and `attest challenge`,+ `print_preflight()` in `builtin-init.c` for `init --check-only`. The+ last line is `verdict: ok` or `verdict: fail`.+- `status` folds a section whose condition is OK unless `--show-full` is+ given, and its last line names every section it folded. A section+ that is long and usually healthy folds the same way.+- Values are lower case words (`yes`, `no`, `load`, `unload`, `bpf`),+ digests full lower-case hex; a table column may cut a digest to 16+ digits and `..`. Condition statuses (`OK`, `WARN`, `ALERT`) and the+ checklist marks are the upper-case exceptions, in text and JSON alike.+- shirudo and upatch stay lower case in output as in prose, at the start+ of a line too, and so does any name the command prints. Text that comes+ from outside, a name from a file or a registry's error body, goes out+ through `fputs_sanitized()` or `text_sanitize()`.++## One name per field++A field that several commands show has one name: the same label in+text, the same column header in tables and the matching JSON key.++- The JSON key is the label in lower case without its colon, spaces and+ hyphens turned into underscores: "Payload sha256:" is `payload_sha256`,+ "File size:" is `file_size`, "Frozen serial:" is `frozen_serial`.+ A label inside a section takes the section's word where the key would+ otherwise clash: "Name:" under "Signed sections:" is `signed_name`.+- The column header is the label's head noun in upper case, the shortest+ that stays unambiguous in that table: "Payload sha256:" is PAYLOAD in+ `upatch list`.+- A value keeps its meaning under its name everywhere: "Fingerprint:"+ and `fingerprint` are the SHA-256 of a certificate's SPKI, the value+ `bpm key fingerprint` prints, and "Certificate sha256:" and+ `cert_sha256` the SHA-256 of its DER.+- Before naming a field, look it up in [fields.md](fields.md) and grep+ for it: `git grep -n '"<key>"' -- '*.c'` and+ `git grep -n '"<Label>:"' -- '*.c'`. A field shown for the first time+ gets its row there.++## Structured output++These commands take `--json`: `status`, `init --check-only`,+`keys`, `upatch list`, `upatch info`, `upatch get`, `upatch map`,+`attest verify`, `attest predict`, `image status`, `bpm list`,+`bpm key list`, `bpm config register list` and `bpm info data`.+`upatch map --json=<path>` appends to a file. An operation writes its+report with `--report=<path>`: `upatch load`, `unload` and `reconcile`+through `util/report.c`, `-` for standard output, and `bpm tree sync`.+A command that prints a report people read and gains a JSON form takes+`--json`.++- The JSON form is complete: every field the text shows, with the same+ value in its raw form, a number as a number, a flag as a boolean,+ absent or unreadable as `null`. Text may fold or cut; JSON does+ neither. A row the text shows, an unreadable entry included, is a row+ in the JSON.+- Write it through `util/json.c` only: `struct json_emit`,+ `json_obj_open()`, `json_kv_string()`, `json_kv_int()`, `json_kv_u64()`,+ `json_kv_bool()`, `json_kv_null()`, `json_arr_open()` and their+ closers, and `json_kv_string_lossy()` and kin for text from outside.+ Check `e.err` before `puts()`. Never `printf()` a JSON document.+- Every top-level object starts with `"schema": 1`. One document goes+ to standard output; messages stay on standard error.+- Keys are snake_case. Enumerated values are lower case: `ok`, `fail`,+ `note` in checklists, `load` and `unload`, `bpf` and `java`. Formats+ shirudo does not own keep their spelling (`mediaType` in OCI,+ `stringValue` in OTLP), only in `util/bpm_oci.c`,+ `util/bpm_package.c`, `util/upatch_decode.c`, `util/upatch_maps_otel.c`+ and `tools/shirudo-build/bpm-publish.c`.+- Keys are stable. Adding a key is compatible; renaming or removing one,+ or changing a value's type or meaning, breaks the scripts that read it+ and changes the format page in the same commit.++## Messages++Every message goes through `pr_err()`, `pr_warn()`, `pr_info()` or+`pr_audit()` (`util/log.h`): syslog under `LOG_AUTHPRIV` and standard+error, once only under a systemd unit. A usage error goes through+`opt_usage()`. There is no `pr_hint()` on this tree; put what to check+in the message itself.++- Start with the command as typed, `upatch load: `, or for a step many+ commands share its subsystem in lower case, `tpm: `, `seal: `. Then a+ statement in natural English: what failed, on what, and why. No+ question, no " -- " and no " + ", no shouting ("NOT"), no closing+ period. Name a command to run in backticks with `shirudo`, as+ `` `shirudo image update` ``.+- Keep each message one literal on one source line, however long, with+ its arguments on the next lines, so that `git grep` finds the text+ users report. `check-style.sh` lets `LONG_LINE_STRING` pass for that+ reason. Help strings may break after a `\n`.+- No `\n` in a message: `escape()` in `util/log.c` prints every+ non-printable byte as a backslash and three octal digits, so a line+ break shows up as `\012`. `util/log.c` does not wrap; a message is one+ line on the terminal and in the journal.+- Never name a page under `Documentation/`: a target may not ship the+ docs. Name the command, the file, the setting (`eventlog.max_bytes`)+ or the kernel option (`CONFIG_CRYPTO_MLDSA`).+- Where shirudo treats the node or the input as tampered or untrusted,+ the message states what does not match and stops there. It never+ suggests retrying, re-issuing with a refreshed value, unloading,+ rebooting or any other way around; the advice is to keep the eventlog+ and the journal as evidence and handle the node as an incident. A+ known benign cause may be stated as a fact. Retry advice belongs to+ operational failures only: network, disk, lock, TPM busy, stale index.+- `pr_audit()` records a change of state, one line per change, in the+ same sentence form ("upatch load: %s loaded, %u programs, keyring %d").+- A usage error reads `<command>: <what is wrong>` and the command+ returns `EXIT_USAGE`. Say what the command takes: "takes <file.upatch>",+ "takes <package-file> and <repository>", "unexpected argument '%s'",+ "--all goes with upatches alone". `opt_next()` already says+ "unknown option", "takes a value", "takes no value", "given twice".++## Options++Every command parses its options with `util/options.h`: a+`struct opt_spec` table indexed by the command's enum, `OPT_INIT()`, and+a loop over `opt_next()` that returns 0 on `OPT_DONE`, `EXIT_USAGE` on+`OPT_USAGE` and on an `OPT_ARG` it does not take. `opt_u64()` and+`OPT_CHOICE()` read numbers and names; `OPT_REPEAT`, `OPT_EMPTY` and+`OPT_OPTIONAL` mark the exceptions. The parser gives every command the+same rules: `--opt=value` and `--opt value`, `-h` and `--help`,+`--list-opts` for completion, `--` to end the options, a did-you-mean+after an unknown option.++- The same function has the same name: `-o`/`--output` for a file to+ write, `--cert` for a certificate, `--key` for a signing key,+ `--keys-dir` for the directory of both, `--file` for a Beefile,+ `--json` for the JSON form, `--report` for an operation's report,+ `--vmlinux`, `--version`. `-f` is `--force`, in `genkey` alone; the+ only other short options are `-o` and `-h`.+- A value's placeholder is one already in use for that kind of value:+ `<dir>`, `<path>`, `<hex>`, `<cert.der>`, `<signing_key.pem>`,+ `<version>`, `<url>`. `completion/shirudo.bash` offers files for any+ placeholder `_shirudo_value()` does not list, so a placeholder for a+ value that is not a file gets its case there.+- `HELP_OPTIONS()` puts the table in the help, and `--list-opts` prints+ it, so help, completion and parser cannot drift. A subcommand group+ answers `--list-cmds` through `print_subcmd_list()` and resolves names+ with `resolve_subcommand()`. `image build` alone is parsed by+ `tools/gen-image/shirudo-gen-verity`, and completion lists its options+ by hand.++## Help text++`print_help()` (`util/help.c`) prints a `struct help`: `usage: ` and+the usage lines, the summary, the sections, then the footer.++- Every command and subcommand has usage, a summary and, where it takes+ options, `HELP_OPTIONS("options:", <table>)`. Section headings are lower+ case ("options:", "subcommands:", "sync options:").+- Every command and subcommand ends its help with an `Examples:` footer+ of at least one worked example, the most common use first. A change+ to a command whose help has none adds them.+- An example is a whole command line from `shirudo`, indented two+ spaces, without a prompt: the prompts `operator$` and `target#`+ belong to the docs' console blocks (`writing-docs.rst`). It uses the+ real option names in their long form, values a reader can copy (a+ package of `upatches/`, `cve-2026-31431`, `kernel-obs`), and+ `<lowercase-words>` where no real value exists. Never `$(...)` or+ `foo`. A long line continues with ` \` and four spaces.+- Usage lines write an option as the options section does,+ `--cert <cert.der>`, and `--json[=<path>]` for one whose value is+ optional, with the placeholders of the option table.+- `print_help()` wraps only the item summaries, at `HELP_WIDTH` (90).+ Break the summary and the footer with `\n` yourself, under 80 columns.+- A subcommand the core binary hands to `shirudo-build` prints the+ helper's help, so `--help` and `--list-opts` describe the same+ options.++## Exit statuses and failure categories++0 is success, 1 a refusal or failure, `EXIT_USAGE` (2) a usage error,+127 a `shirudo-build` helper that cannot run. `upatch load`, `unload`+and `reconcile` also name a phase and a category in their report.+`Documentation/reference/failure-categories.rst` is the home of the+categories and of the exit statuses of every command; each page under+`Documentation/reference/cli/` repeats its command's own in its "Exit+status" section. A change to an exit status changes both in the same+commit, and a new category goes into `failure-categories.rst` with the+phases that reach it.++## What a change to output touches++The `docs` skill lists the pages; for output they are:++- `Documentation/reference/cli/<command>.rst`: usage, options, output,+ examples and exit status.+- `Documentation/reference/cheat-sheet.rst` and the guides under+ `Documentation/start/` and `Documentation/operate/` that run the+ command: `git grep -n '<old wording>' Documentation`.+- The format page of a JSON form: `reference/formats/status-json.rst`,+ `keepalive.rst`, `map-export.rst`, `otlp.rst`, `bpm-formats.rst`,+ `upatch-tree.rst`.+- `completion/shirudo.bash` for an option it lists by hand or a+ placeholder that is not a file.+- Transcripts on a page are captured from a run in the test VM (the+ `testing` skill boots one), never typed or edited by hand.+- Tests grep output: `git grep -n '<old wording>' testing/` before+ rewording a label, heading, message or key, and change the tests in+ the same commit.++## Check++Before handing over a change to output:++- [ ] Run the changed command with and without `--json` and read both:+ the same fields, the same values, `"schema": 1` first.+- [ ] Labels `%-22s`, headings in sentence case with a count on a list,+ ` none` when empty, table headers in upper case.+- [ ] Every field name the change prints found in [fields.md](fields.md),+ or added there.+- [ ] Every message: a prefix, a statement, one literal on one line, no+ `\n`, no " -- ", no " + ", no `Documentation/`, no retry or+ workaround on a tampered state.+- [ ] `<command> --help` shows usage, options and an example;+ `<command> --list-opts` lists the same options.+- [ ] An option that does what another command's does has its name and+ placeholder.+- [ ] Exit statuses checked against `failure-categories.rst` and the+ command's page.+- [ ] `git grep` of every old label, message and key in `testing/`,+ `Documentation/` and `.agents/skills/` comes back empty or changed.+- [ ] `.github/scripts/check-docs.sh` passes; transcripts recaptured in+ the test VM.diff --git a/.agents/skills/user-experience/fields.md b/.agents/skills/user-experience/fields.mdnew file mode 100644index 00000000..88d67e99--- /dev/null+++ b/.agents/skills/user-experience/fields.md@@ -0,0 +1,80 @@+# Field names++The names of the fields that more than one command shows, in text, in a+table and in JSON. A field gets one row; a command that shows it uses+the row's names. The last column lists the spellings the tree also+carries for the same field, which a change copies nowhere and a change+to that command brings in line.++- [Upatches](#upatches)+- [Certificates and keys](#certificates-and-keys)+- [Measurement](#measurement)+- [Packages](#packages)+- [Results](#results)++## Upatches++| Field | Label | Column | JSON key | Shown by | Also spelled |+|---|---|---|---|---|---|+| Name of the upatch | `Name:` | NAME | `name` | `upatch info`, `upatch list`, `upatch get`, `status` | |+| Name under the signature | `Name:` under `Signed sections:` | | `signed_name` | `upatch info` | |+| Load or unload | `Type:` | TYPE | `type`, `load` or `unload` | `upatch info`, `upatch list` | `LOAD`, `UNLOAD-directive` in `upatch info` text |+| Payload kind | `Payload type:` | KIND, as TYPE is taken | `payload_type`, `bpf` or `java` | `upatch info`, `upatch list` | |+| Payload digest | `Payload sha256:` | PAYLOAD | `payload_sha256` | `upatch info`, `upatch get`, `upatch list` | |+| Payload an unload names | `Unload payload:` | | `unload_payload_sha256` | `upatch info` | |+| Path of the file | `Path:` | | `path` | `upatch info`, `keys` | `File:` in `upatch info` |+| Size of the file | `File size:` | | `file_size` | `upatch info` | |+| Whether it is loaded | `Loaded:` | LOADED | `loaded` | `upatch list` | |+| Whether it is archived | `Archived:` | | `archived` | `upatch list` | |+| Where a program attaches | `Location:` | LOCATION | `location` | `upatch get`, `status` | |+| Runs the kernel skipped | `Missed runs:` | MISSED | `missed_runs` | `upatch get`, `status` | |+| Kernel program ID | `Program ID:` | | `program_id` | `upatch get` | `prog_id` in `upatch get` JSON |+| Upatch a map belongs to | `Upatch:` | UPATCH | `upatch` | `upatch map` | `Name:` in the map dump, whose JSON `name` is the map |+| Name of a map | `Map:` | MAP | `name` in a map object | `upatch map`, `upatch get` | |+| Capacity of a map | `Max entries:` | MAX ENTRIES | `max_entries` | `upatch map` | ENTRIES with `max=<n>` cells in the map list |++## Certificates and keys++| Field | Label | Column | JSON key | Shown by | Also spelled |+|---|---|---|---|---|---|+| SHA-256 of the certificate's SPKI | `Fingerprint:` | FINGERPRINT | `fingerprint` | `keys`, `status`, `bpm key fingerprint`, `bpm key list`, `keys vouch`, `keys revoke` | `SPKI fingerprint:` and `spki_fingerprint` in `keys` cert and signing key; `spki_sha256_fingerprint` in the package format |+| SHA-256 of the certificate's DER | `Certificate sha256:` | | `cert_sha256` | `keys`, `status`, `init`, `keys revoke`, eventlog | `Fingerprint:` and `fingerprint` in `keys` cert; `sha256` in `keys` trusted set and `status` |+| Subject | `Subject:` | | `subject` | `keys`, `status` | |+| Issuer | `Issuer:` | | `issuer` | `keys` | |+| Key algorithm | `Algorithm:` | | `algorithm` | `keys`, `status` | `Public key:` in `keys` cert |+| Start of validity | `Not before:` | | `not_before` | `keys`, `status` | `Issued:` in `keys`, `issued` in `status` text |+| Keyring serial | `Serial:` | | `serial` | `keys`, `status` | `keyring_serial` in a `status` section |+| Serial `init` froze | `Frozen serial:` | | `frozen_serial` | `keys`, `status` | `serial_pinned`, `keyring_serial_pinned` in `status` |+| Key in a keyring | `Serial:`, `Description:` | SERIAL, DESCRIPTION | `serial`, `description` | `keys`, `status` | `key_serial`, `key_description` in `status`; `serial=` cells in `keys` text |++## Measurement++| Field | Label | Column | JSON key | Shown by | Also spelled |+|---|---|---|---|---|---|+| Digest of the enrolled set | `Set digest:` | | `set_digest` | `attest predict`, `init`, `status` eventlog | `set_sha256` in the keepalive |+| Value of the measurement register | `Chain:` | | `chain` | `status`, `--expect-chain` | `tpm.chain_after` in the operation report, `register.value` in evidence, `register %s` in messages |+| Register after `init` | `Register at boot:` | | `register_at_boot` | `attest predict` | text `register_at_boot:` |+| Digest of an event | `Digest:` | DIGEST | `digest` | `status` eventlog | |+| Name of the register's NV index | `NV name:` | | `nv_name` | `status` | `Register name:` in `status` text |+| Root hash of the active config | `Root hash:` | | `root_hash` | `image status`, `status` | `Config root hash:` in `image status`; `config_root` in the keepalive |+| TPM resets so far | `Reset count:` | | `reset_count` | `image status`, `status` | `TPM reset count:` in `image status` |++## Packages++| Field | Label | Column | JSON key | Shown by | Also spelled |+|---|---|---|---|---|---|+| Package name | `Name:` | NAME | `name` | `bpm list` | |+| Package version | `Version:` | VERSION | `version` | `bpm list` | |+| Where it came from | `Source:` | SOURCE | `source` | `bpm list` | |+| Manifest digest of a package | | | `manifest_digest` | `bpm tree show`, the signed index | the options `--package-digest` and `--base-digest` take it |++## Results++| Field | Label | Column | JSON key | Shown by | Also spelled |+|---|---|---|---|---|---|+| Outcome of a check | `OK`, `FAIL`, `NOTE` marks | | `result`, `ok`, `fail` or `note` | `attest verify`, `attest challenge`, `init --check-only` | `ok` as a boolean in `init --check-only` |+| Outcome of the whole run | `verdict:` | | `verdict`, `ok` or `fail` | `attest verify`, `attest challenge` | `N of M passed` in `init --check-only` |+| Verdict on the host | `Status:` | | `status` | `status` | `verdict` in the keepalive |+| State of a condition | | STATUS | `status`, `OK`, `WARN` or `ALERT` | `status` | |+| Outcome of an operation | | | `result`, `ok` or `failed` | `--report` of `upatch load`, `unload`, `reconcile` | none in the `bpm tree sync` report |+| Format version | | | `schema` | every JSON document | missing in `image status` |diff --git a/AGENTS.md b/AGENTS.mdindex 5e266f26..0c9c35ad 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -26,6 +26,8 @@ as well:- `docs` for documentation- `upatch` for a upatch- `kernel` for the kernel shirudo needs and its carried patches+- `user-experience` for anything a user sees: command output, JSON,+ messages, options and helpClaude Code lists a skill with `paths:` only once the session has reada file it matches, never one in another worktree; until then, read@@ -75,7 +77,7 @@ change, and a check of whether a reported issue is real, follow the| `Documentation/upatches/` | Authoring and shipping upatches: attach kinds, maps and serializers, decoders, the Beefile, publishing, debugging a failed load. || `Documentation/reference/` | Every command (`reference/cli/`), the formats (`reference/formats/`, including the `.upatch` container), the settings (`configuration.rst`), the eventlog, failure categories and exit status, files, units, environment variables, the cheat sheet. || `Documentation/contribute/` | Developer guide, test tiers and the test VM (read `testing.rst` before adding or moving a test), test coverage, the kernel coding style, commits and sign-off (read `contributing.rst` before crafting a commit), and the documentation style guide `writing-docs.rst`. |-| `.agents/skills/` | Skills for coding agents in the `SKILL.md` format of agentskills.io, which Codex reads there and Claude Code through the `.claude/skills` link, each a `SKILL.md` with the reference files it links beside it: `coding` writes C in the tree's style and grows `util/`, `commits` writes commit messages and shapes a series, `shell` writes POSIX shell for dash, `testing` runs the test tiers and the test VM, `unit-tests`, `functional-tests` and `end2end-tests` write a test in each tier, `pre-submit` the checks CI runs on a series, `upatch` writes for the target's preemption model and a low cost, builds, packages and publishes an upatch, `bpf-concurrency` checks upatch code whose runs share state, `bpf-coccinelle` runs and extends the Coccinelle rules for it, `docs` finds and checks the pages a change touches, `fuzz-target` adds a libFuzzer target for a parser, `proofs` runs and writes the CBMC and Lean 4 proofs, `kernel` moves the bpf-next pin and carries, rebases and drops kernel patches, `security-audit` audits the tree against the threat model, and the threat model and the proofs against the tree. |+| `.agents/skills/` | Skills for coding agents in the `SKILL.md` format of agentskills.io, which Codex reads there and Claude Code through the `.claude/skills` link, each a `SKILL.md` with the reference files it links beside it: `coding` writes C in the tree's style and grows `util/`, `commits` writes commit messages and shapes a series, `shell` writes POSIX shell for dash, `testing` runs the test tiers and the test VM, `unit-tests`, `functional-tests` and `end2end-tests` write a test in each tier, `pre-submit` the checks CI runs on a series, `upatch` writes for the target's preemption model and a low cost, builds, packages and publishes an upatch, `bpf-concurrency` checks upatch code whose runs share state, `bpf-coccinelle` runs and extends the Coccinelle rules for it, `docs` finds and checks the pages a change touches, `fuzz-target` adds a libFuzzer target for a parser, `user-experience` keeps command output, JSON, messages, options and help consistent across commands, `proofs` runs and writes the CBMC and Lean 4 proofs, `kernel` moves the bpf-next pin and carries, rebases and drops kernel patches, `security-audit` audits the tree against the threat model, and the threat model and the proofs against the tree. |The kernel side of the signing design is the kernel's own`Documentation/bpf/signing.rst`; `bpf_prog_verify_signature()` runs