Skip to content

eBPF-based security platform

treewide: write shirudo and upatch in lower case everywhere

Daniel Borkmannbc722d2216a2
diff --git a/.github/scripts/tests.sh b/.github/scripts/tests.sh
index 7416da3e..0ebf9a10 100755
--- a/.github/scripts/tests.sh
+++ b/.github/scripts/tests.sh
@@ -4,7 +4,7 @@
#
# .github/scripts/tests.sh -- run every test as make tests does on a
# developer's host. setup makes the runner the VM host: KVM, the VM's
-# packages, a compatible LVH kernel or the Shirudo test kernel cache, and
+# packages, a compatible LVH kernel or the shirudo test kernel cache, and
# the OpenSSL 3.5 toolchain from vm-toolchain.sh. run builds and runs the
# unit, ci-checks, functional and end2end tests, each family of target tests
# in a VM of its own, or one part of them: unit runs the unit and
diff --git a/.github/workflows/kernel-obs.yml b/.github/workflows/kernel-obs.yml
index 9ec8700e..47369928 100644
--- a/.github/workflows/kernel-obs.yml
+++ b/.github/workflows/kernel-obs.yml
@@ -92,7 +92,7 @@ jobs:
path: source-code
persist-credentials: false
- - name: Download Shirudo operator package
+ - name: Download shirudo operator package
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: shirudo-deb
diff --git a/AGENTS.md b/AGENTS.md
index cf5a660b..5f81b8bb 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -236,7 +236,7 @@ one usually still compiles and passes tests.
Every signed load and unload directive goes through the same load path.
The embedded LSM bootstrap loads during `init`, before its admission
gates attach. Production deployments authenticate it through the initrd.
- Authorized Shirudo tasks may attach, pin and run the signed-loader data-map
+ Authorized shirudo tasks may attach, pin and run the signed-loader data-map
pattern, because none of those can introduce unsigned code; detach,
update and corruption of BPF objects from userspace are denied by the
LSM. In the `lsm/bpf` hook the `bool kernel` argument is the
@@ -256,7 +256,7 @@ one usually still compiles and passes tests.
and the artifacts or reports the caller names. No hidden caches,
state files, logs or staging directories; `--expect-chain` comes
from the caller or from `shirudo attest predict`.
-- **Upatch state changes extend the TPM measurement register**
+- **upatch state changes extend the TPM measurement register**
with a domain-separated tag, in deterministic order. Commands refuse
on drift (`tampered`) rather than retrying. Boot restore is exactly one
register event and a re-run of `init` adds none. The register follows
@@ -270,7 +270,7 @@ one usually still compiles and passes tests.
into the same register. A TPM 2.0 is mandatory; there is no
unmeasured mode. Image config activation extends the separate PCR
selected in authenticated bootstrap settings. A durable pending selection
- requires manual reboot after any interruption; Shirudo never reboots the
+ requires manual reboot after any interruption; shirudo never reboots the
node automatically. There is no same-boot recovery or
ambiguous-extension retry. Trusted startup verifies that selection and
records a fresh BOOT event before completing initialization.
@@ -325,12 +325,12 @@ one usually still compiles and passes tests.
- **BPF targets instruction set v4.** Every `clang -target bpf` in the
tree passes `-mcpu=v4`: the upatch build, the embedded objects, the
configure probe and the tests. Not `-mcpu=probe`, which describes the
- build host's kernel, not the targets'. Upatches are therefore compiled
+ build host's kernel, not the targets'. upatches are therefore compiled
with the full BPF instruction set: load-acquire and store-release,
sign-extending loads and moves, and signed division and modulo are all
there, so write the code that needs them directly and do not work
around their absence.
-- **Upatch state lives in BPF arenas where possible.** A upatch that
+- **upatch state lives in BPF arenas where possible.** A upatch that
accumulates records keeps them in its one `BPF_MAP_TYPE_ARENA` map and
ships a `shirudo_serialize__<map>` program that walks them; hash and
array maps are for what cannot live in an arena: task, socket and
diff --git a/Documentation/contribute/documentation/writing-docs.rst b/Documentation/contribute/documentation/writing-docs.rst
index aed5c5d7..e0e6fffd 100644
--- a/Documentation/contribute/documentation/writing-docs.rst
+++ b/Documentation/contribute/documentation/writing-docs.rst
@@ -136,9 +136,11 @@ Words
-----
- Write American English: initialize, behavior, license.
-- shirudo and upatch are always lowercase, also at the start of a
- sentence or in a heading. Rephrase a sentence rather than capitalize
- them.
+- shirudo, upatch and upatches are always lowercase: at the start of a
+ sentence, in a heading, in a navigation label and in a compound such
+ as "shirudo-patched". Rephrase a sentence rather than capitalize them.
+ The rule holds for the text the programs print, which pages quote, and
+ for code comments and commit messages too.
- Use one term for one concept and define it in the
:doc:`/concepts/glossary`. Link the term with ``:term:`` where a reader
may not know it.
diff --git a/Documentation/operate/troubleshoot/troubleshooting.rst b/Documentation/operate/troubleshoot/troubleshooting.rst
index 0a7a8611..916fb7a0 100644
--- a/Documentation/operate/troubleshoot/troubleshooting.rst
+++ b/Documentation/operate/troubleshoot/troubleshooting.rst
@@ -404,7 +404,7 @@ Meaning
pre-flight prints ``upatch: pre-flight refused (category:
kernel_abi_unsupported, message: <detail>)``, where the detail names
the missing piece, for example ``struct bpf_map.excl_prog_sha is
- missing; boot a Shirudo-patched kernel``. The same category ends a
+ missing; boot a shirudo-patched kernel``. The same category ends a
load whose attach kind the kernel does not support.
Causes
diff --git a/Documentation/reference/formats/otlp.rst b/Documentation/reference/formats/otlp.rst
index 5a6208c9..5df9173a 100644
--- a/Documentation/reference/formats/otlp.rst
+++ b/Documentation/reference/formats/otlp.rst
@@ -51,7 +51,7 @@ Transport
* - Headers
- ``Content-Type: application/json``,
``Content-Encoding: gzip`` when compression is on,
- ``User-Agent: Shirudo OTel-OTLP-Exporter-C/1``, the configured
+ ``User-Agent: shirudo OTel-OTLP-Exporter-C/1``, the configured
headers and ``X-Tenant-ID``.
* - Compression
- ``none`` (default) or ``gzip``.
diff --git a/Documentation/upatches/write/attach-kinds.rst b/Documentation/upatches/write/attach-kinds.rst
index e3ba2df1..eb031783 100644
--- a/Documentation/upatches/write/attach-kinds.rst
+++ b/Documentation/upatches/write/attach-kinds.rst
@@ -275,7 +275,7 @@ it generates a loader.
- ``unsupported sk_skb section '<section>'; supported network packet
sections are cgroup_skb/ingress, cgroup_skb/egress, and netfilter``
* - ``socket``, ``socket_filter`` and their ``/`` forms
- - ``unsupported socket filter section '<section>'; Shirudo upatches
+ - ``unsupported socket filter section '<section>'; shirudo upatches
require a pinnable bpf_link lifecycle``
* - ``cgroup_skb``, ``cgroup/skb``, other ``cgroup_skb/*``
- ``unsupported cgroup_skb section '<section>'; use cgroup_skb/ingress
diff --git a/bpf/bpf2.c b/bpf/bpf2.c
index 17e3e60a..c707111b 100644
--- a/bpf/bpf2.c
+++ b/bpf/bpf2.c
@@ -2,7 +2,7 @@
/* Copyright (c) 2026 Authors of shirudo */
/*
- * Shirudo authorizes tasks marked after exec from the authenticated runtime.
+ * shirudo authorizes tasks marked after exec from the authenticated runtime.
* These hooks track verity devices, restrict DM controls, and protect the
* runtime/config mounts alongside the shared bpffs and BPF admission checks.
*/
@@ -328,7 +328,7 @@ int BPF_PROG(shirudo_lsm_key_permission, key_ref_t key_ref,
}
/*
- * A TPM signature alone cannot change Shirudo's NV register. Restrict
+ * A TPM signature alone cannot change shirudo's NV register. Restrict
* extension of its frozen index while leaving unrelated TPM signing alone.
*/
SEC("lsm/tpm_command")
diff --git a/bpf/seal.c b/bpf/seal.c
index 9d098c53..323a3d59 100644
--- a/bpf/seal.c
+++ b/bpf/seal.c
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
/* Copyright (c) 2026 Authors of shirudo */
-/* Shirudo retains the writable-state label seal and trusts runtime execs. */
+/* shirudo retains the writable-state label seal and trusts runtime execs. */
#include "verity_policy.h"
#include "xattr.h"
@@ -455,7 +455,7 @@ static __always_inline bool shirudo_task_has_seccomp(struct task_struct *task)
}
/*
- * Shirudo grants authority only to a direct file on the verified runtime.
+ * shirudo grants authority only to a direct file on the verified runtime.
* Overlay copies cannot qualify. Ptrace or seccomp supplied before exec must
* not control the new trusted process. A failed exec retains the old mark.
*/
diff --git a/testing/functional/build/t1003-static-target.sh b/testing/functional/build/t1003-static-target.sh
index fdbd6a7c..9f5fb4b9 100644
--- a/testing/functional/build/t1003-static-target.sh
+++ b/testing/functional/build/t1003-static-target.sh
@@ -76,7 +76,7 @@ test_expect_success 'target has no libssh dependency' '
! readelf -d "$TARGET" | grep -Eq "libssh\\.so"
'
-test_expect_success 'target Shirudo runtime libraries are static' '
+test_expect_success 'target shirudo runtime libraries are static' '
! readelf -d "$TARGET" | grep -Eq "lib(z|tss2-esys|tss2-tctildr|elf|luajit-5\\.1)\\.so"
'
diff --git a/testing/functional/build/t1007-test-vm-cli.sh b/testing/functional/build/t1007-test-vm-cli.sh
index 918e9f03..c854e7b1 100755
--- a/testing/functional/build/t1007-test-vm-cli.sh
+++ b/testing/functional/build/t1007-test-vm-cli.sh
@@ -432,7 +432,7 @@ test_expect_success 'test-vm imports the host-built payload' '
grep -q "vm/prepare-runtime.sh" ../testing/Makefile &&
grep -q "virt-customize" vm/build-bundle.sh &&
grep -q "mount_tag=shirudo-bundle" vm/run.sh &&
- grep -q "importing host-built Shirudo payload" \
+ grep -q "importing host-built shirudo payload" \
vm/guest.sh &&
grep -q "mountpoint -q /run/shirudo/runtime" vm/guest.sh &&
! grep -q "vmlinux.h" vm/guest.sh &&
diff --git a/testing/functional/otel/t8006-otel-transport.sh b/testing/functional/otel/t8006-otel-transport.sh
index 3a536e88..d23a3fa3 100644
--- a/testing/functional/otel/t8006-otel-transport.sh
+++ b/testing/functional/otel/t8006-otel-transport.sh
@@ -120,7 +120,7 @@ test_expect_success 'signal headers replace the generic ones, trimmed and decode
[ "$(meta headers.authorization)" = "Bearer specific" ] &&
[ -z "$(meta headers.x-generic)" ] &&
[ "$(meta headers.content-type)" = application/json ] &&
- [ "$(meta headers.user-agent)" = "Shirudo OTel-OTLP-Exporter-C/1" ]
+ [ "$(meta headers.user-agent)" = "shirudo OTel-OTLP-Exporter-C/1" ]
'
test_expect_success 'malformed, reserved and oversized headers are refused before any request' '
diff --git a/testing/functional/tamperproof/t6110-pr-set-mm-identity.py b/testing/functional/tamperproof/t6110-pr-set-mm-identity.py
index 02357df1..372cb67a 100644
--- a/testing/functional/tamperproof/t6110-pr-set-mm-identity.py
+++ b/testing/functional/tamperproof/t6110-pr-set-mm-identity.py
@@ -61,7 +61,7 @@ def assert_frozen_runtime():
if fd >= 0:
os.close(fd)
assert fd < 0 and error == errno.EACCES, \
- ("identity map opened by a non-Shirudo caller", fd, error)
+ ("identity map opened by a non-shirudo caller", fd, error)
assert probe_identity("runtime_root").strip("0"), "runtime hash missing"
assert int(probe_identity("nv_index")), "NV index missing"
executable = os.path.realpath(SHIRUDO)
@@ -161,11 +161,11 @@ def mm_map_result(path):
assert_frozen_runtime()
assert child_succeeds(lambda: exe_file_result(SHIRUDO)), \
- "PR_SET_MM_EXE_FILE was allowed for a non-Shirudo caller"
+ "PR_SET_MM_EXE_FILE was allowed for a non-shirudo caller"
assert child_succeeds(lambda: exe_file_result(OTHER)), \
"PR_SET_MM_EXE_FILE accepted an unrelated executable"
assert child_succeeds(lambda: mm_map_result(SHIRUDO)), \
- "PR_SET_MM_MAP was allowed for a non-Shirudo caller"
+ "PR_SET_MM_MAP was allowed for a non-shirudo caller"
assert child_succeeds(lambda: mm_map_result(OTHER)), \
"PR_SET_MM_MAP accepted an unrelated executable"
@@ -178,5 +178,5 @@ def invalid_fd_then_exec():
assert child_succeeds(invalid_fd_then_exec), \
- "failed PR_SET_MM left state that blocked ordinary Shirudo execution"
+ "failed PR_SET_MM left state that blocked ordinary shirudo execution"
print("PR_SET_MM identity guard passed")
diff --git a/testing/functional/tamperproof/t6110-pr-set-mm-identity.sh b/testing/functional/tamperproof/t6110-pr-set-mm-identity.sh
index b7df8777..db7c62cc 100644
--- a/testing/functional/tamperproof/t6110-pr-set-mm-identity.sh
+++ b/testing/functional/tamperproof/t6110-pr-set-mm-identity.sh
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2026 Authors of shirudo
#
-# t6110 -- non-Shirudo callers cannot change executable identity with
+# t6110 -- non-shirudo callers cannot change executable identity with
# PR_SET_MM.
cd "$(dirname "$0")/../.."
@@ -17,7 +17,7 @@ caps = next(line.split()[1] for line in status if line.startswith("CapEff:"))
sys.exit(0 if int(caps, 16) & (1 << 24) else 1)
' || test_skip_all "CAP_SYS_RESOURCE unavailable"
-test_expect_success 'PR_SET_MM executable changes require Shirudo identity' '
+test_expect_success 'PR_SET_MM executable changes require shirudo identity' '
python3 functional/tamperproof/t6110-pr-set-mm-identity.py "$SHIRUDO_BIN"
'
diff --git a/testing/functional/tpm/t4103-nv-writer.sh b/testing/functional/tpm/t4103-nv-writer.sh
index e13c1559..dff170b1 100644
--- a/testing/functional/tpm/t4103-nv-writer.sh
+++ b/testing/functional/tpm/t4103-nv-writer.sh
@@ -72,7 +72,7 @@ test_expect_success 'unrelated TPM signing works on both device nodes' '
./helper/test-nv-writer sign-allowed-inherited device:/dev/tpmrm0
'
-test_expect_success 'untrusted root cannot extend the Shirudo register' '
+test_expect_success 'untrusted root cannot extend the shirudo register' '
./helper/test-nv-writer raw-extend /dev/tpmrm0 &&
./helper/test-nv-writer raw-extend /dev/tpm0
'
diff --git a/testing/functional/upatch/t3010-unsupported-network-sections.sh b/testing/functional/upatch/t3010-unsupported-network-sections.sh
index 323f2bed..860ff2c0 100644
--- a/testing/functional/upatch/t3010-unsupported-network-sections.sh
+++ b/testing/functional/upatch/t3010-unsupported-network-sections.sh
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2026 Authors of shirudo
#
-# t3010 -- unsupported network attach kinds are rejected with Shirudo-specific
+# t3010 -- unsupported network attach kinds are rejected with shirudo-specific
# diagnostics.
cd "$(dirname "$0")/../.."
diff --git a/testing/fuzz/corpus/beefile/kernel-cve b/testing/fuzz/corpus/beefile/kernel-cve
index e4e8c9c7..d679bae1 100644
--- a/testing/fuzz/corpus/beefile/kernel-cve
+++ b/testing/fuzz/corpus/beefile/kernel-cve
@@ -1,8 +1,8 @@
[package]
name = "kernel-cve-upatches"
-description = "Exported Shirudo kernel CVE upatch sources"
+description = "Exported shirudo kernel CVE upatch sources"
license = "GPL-2.0 OR BSD-2-Clause"
-authors = ["Shirudo Campaign Export"]
+authors = ["shirudo Campaign Export"]
[[upatches]]
source = "sources/cve-2025-71093-e1000-oob-e1000-tbi-should-accept/observability/cve-2025-71093-e1000-tbi-detector.bpf.c"
diff --git a/testing/helper/test-oci-registry.py b/testing/helper/test-oci-registry.py
index b5825d61..faeed77c 100644
--- a/testing/helper/test-oci-registry.py
+++ b/testing/helper/test-oci-registry.py
@@ -3,7 +3,7 @@
# Copyright (c) 2026 Authors of shirudo
"""Small OCI Registry HTTP fixture for shirudo tests.
-The fixture implements the OCI distribution GET surface needed by Shirudo
+The fixture implements the OCI distribution GET surface needed by shirudo
tree synchronization and, with --writable, the push surface used by
`shirudo bpm push` and `shirudo bpm tree append` (monolithic blob uploads
and manifest puts). Files are laid out as:
diff --git a/testing/vm/build-bundle.sh b/testing/vm/build-bundle.sh
index c9441a1d..ee457d95 100755
--- a/testing/vm/build-bundle.sh
+++ b/testing/vm/build-bundle.sh
@@ -299,7 +299,7 @@ if bundle_is_current; then
exit 0
fi
-log "building host Shirudo payload and test helpers"
+log "building host shirudo payload and test helpers"
make -C "$REPO_ROOT" all shirudo-build
make -C "$REPO_ROOT/testing" test-helpers
diff --git a/testing/vm/build-kernel.sh b/testing/vm/build-kernel.sh
index 986434d5..125c320d 100755
--- a/testing/vm/build-kernel.sh
+++ b/testing/vm/build-kernel.sh
@@ -754,7 +754,7 @@ fi
cp "$TEST_VM_ARCH_KIMAGE_SRC" "$VMLINUX_PATH"
cp .config "${OUTPUT_DIR}/kernel.config"
-# Keep the exact detached BTF used by this kernel build. It lets Shirudo
+# Keep the exact detached BTF used by this kernel build. It lets shirudo
# generate vendor/linux/vmlinux.h against the artifact kernel before that kernel is
# booted, rather than accidentally using the build host's /sys BTF.
if [[ ! -s vmlinux ]]; then
diff --git a/testing/vm/guest.sh b/testing/vm/guest.sh
index e79383ac..73d90d46 100755
--- a/testing/vm/guest.sh
+++ b/testing/vm/guest.sh
@@ -293,7 +293,7 @@ log "installing networking modules from the booted kernel artifact"
install_kernel_modules
install_kernel_config
-log "importing host-built Shirudo payload"
+log "importing host-built shirudo payload"
log "host bundle dependency mode: $(<"$BUNDLE/dependency-mode")"
install -d /usr/local/bin
# Booted from the shirudo initrd the binary is already in place and its
@@ -338,7 +338,7 @@ if ! grep -F 'keyring .bpf' /proc/keys; then
fi
if [[ "$VM_INITRD" == 1 ]]; then
- log "initrd Shirudo journal"
+ log "initrd shirudo journal"
journalctl -b -u shirudo-initrd.service --no-pager | tail -40 || true
fi
diff --git a/testing/vm/run.sh b/testing/vm/run.sh
index 28ba61bf..f5405e11 100755
--- a/testing/vm/run.sh
+++ b/testing/vm/run.sh
@@ -893,7 +893,7 @@ print_test_summary()
fi
fi
if [[ "$bpffs_warning" -eq 1 ]]; then
- summary_log "cleanup: ${COLOR_YELLOW}bpffs unmount denied by Shirudo lockdown (expected)${COLOR_RESET}"
+ summary_log "cleanup: ${COLOR_YELLOW}bpffs unmount denied by shirudo lockdown (expected)${COLOR_RESET}"
fi
if [[ "$result_share_warning" -eq 1 ]]; then
summary_log "cleanup: ${COLOR_YELLOW}9p result share was busy during shutdown (non-fatal)${COLOR_RESET}"
diff --git a/tools/shirudo-build/package.c b/tools/shirudo-build/package.c
index 6c0d0d19..e1228ae2 100644
--- a/tools/shirudo-build/package.c
+++ b/tools/shirudo-build/package.c
@@ -1289,7 +1289,7 @@ static int build_prog_metadata(struct bpf_object *obj, __u32 nr_maps,
goto err_free;
}
if (unsupported_socket_filter_section(sec)) {
- pr_err("unsupported socket filter section '%s'; Shirudo upatches require a pinnable bpf_link lifecycle",
+ pr_err("unsupported socket filter section '%s'; shirudo upatches require a pinnable bpf_link lifecycle",
sec);
err = -EOPNOTSUPP;
goto err_free;
@@ -1555,7 +1555,7 @@ static int finalize_object(struct bpf_object *obj, const char *out_path,
* after BPF_PROG_TEST_RUN -- it has only the .upatch, not the
* object. Iteration order here matches gen_loader's. Build
* attach metadata before loader generation so unsupported section
- * names fail with Shirudo's own diagnostics instead of depending
+ * names fail with shirudo's own diagnostics instead of depending
* on host kernel load behavior.
*/
bpf_object__for_each_map(m, obj)
diff --git a/upatches/kernel-cve/kernel-cve.bee b/upatches/kernel-cve/kernel-cve.bee
index 82f51e08..11412f70 100644
--- a/upatches/kernel-cve/kernel-cve.bee
+++ b/upatches/kernel-cve/kernel-cve.bee
@@ -1,8 +1,8 @@
[package]
name = "kernel-cve-upatches"
-description = "Exported Shirudo kernel CVE upatch sources"
+description = "Exported shirudo kernel CVE upatch sources"
license = "GPL-2.0 OR BSD-2-Clause"
-authors = ["Shirudo Campaign Export"]
+authors = ["shirudo Campaign Export"]
[[upatches]]
source = "sources/cve-2025-71093-e1000-oob-e1000-tbi-should-accept/observability/cve-2025-71093-e1000-tbi-detector.bpf.c"
diff --git a/util/elf_target.c b/util/elf_target.c
index 6dca915c..0b3773cc 100644
--- a/util/elf_target.c
+++ b/util/elf_target.c
@@ -26,7 +26,7 @@
* libbpf uses this resolver for its uprobe.multi attach path. It is not yet
* part of libbpf's installed public headers, so keep the narrow declaration
* local instead of including libbpf_internal.h (which requires kernel-only
- * headers that are not part of Shirudo's userspace build).
+ * headers that are not part of shirudo's userspace build).
*/
extern int elf_resolve_pattern_offsets(const char *binary_path,
const char *pattern,
@@ -172,7 +172,7 @@ int elf_target_resolve(const char *path, const char *pattern,
/*
* libbpf owns the ELF symbol matching and virtual-address-to-file-offset
* conversion used by uprobe.multi. Keep only the build-ID extraction above
- * in this Shirudo-specific adapter.
+ * in this shirudo-specific adapter.
*/
err = elf_resolve_pattern_offsets(path, pattern,
&resolved_offsets, &nr_resolved);
diff --git a/util/kernel_abi.c b/util/kernel_abi.c
index f4b86486..f2ade000 100644
--- a/util/kernel_abi.c
+++ b/util/kernel_abi.c
@@ -113,12 +113,12 @@ int kernel_abi_validate_btf(const struct btf *btf,
detail[0] = '\0';
if (!btf)
return abi_fail(detail, detail_sz,
- "kernel BTF is unavailable; boot a Shirudo-patched kernel");
+ "kernel BTF is unavailable; boot a shirudo-patched kernel");
map_id = btf__find_by_name_kind(btf, "bpf_map", BTF_KIND_STRUCT);
if (map_id < 0)
return abi_fail(detail, detail_sz,
- "kernel BTF has no struct bpf_map; boot a Shirudo-patched kernel");
+ "kernel BTF has no struct bpf_map; boot a shirudo-patched kernel");
map = btf__type_by_id(btf, (__u32)map_id);
if (!map)
return abi_fail(detail, detail_sz,
@@ -127,7 +127,7 @@ int kernel_abi_validate_btf(const struct btf *btf,
sha = find_member(btf, map, "sha", &member_idx);
if (!sha)
return abi_fail(detail, detail_sz,
- "struct bpf_map.sha is missing; boot a Shirudo-patched kernel");
+ "struct bpf_map.sha is missing; boot a shirudo-patched kernel");
if (btf_member_bitfield_size(map, member_idx) != 0)
return abi_fail(detail, detail_sz,
"struct bpf_map.sha must be a non-bitfield");
@@ -145,7 +145,7 @@ int kernel_abi_validate_btf(const struct btf *btf,
excl_prog_sha = find_member(btf, map, "excl_prog_sha", &member_idx);
if (!excl_prog_sha)
return abi_fail(detail, detail_sz,
- "struct bpf_map.excl_prog_sha is missing; boot a Shirudo-patched kernel");
+ "struct bpf_map.excl_prog_sha is missing; boot a shirudo-patched kernel");
if (btf_member_bitfield_size(map, member_idx) != 0)
return abi_fail(detail, detail_sz,
"struct bpf_map.excl_prog_sha must be a non-bitfield");
@@ -161,7 +161,7 @@ int kernel_abi_validate_btf(const struct btf *btf,
aux_id = btf__find_by_name_kind(btf, "bpf_prog_aux", BTF_KIND_STRUCT);
if (aux_id < 0)
return abi_fail(detail, detail_sz,
- "kernel BTF has no struct bpf_prog_aux; boot a Shirudo-patched kernel");
+ "kernel BTF has no struct bpf_prog_aux; boot a shirudo-patched kernel");
aux = btf__type_by_id(btf, (__u32)aux_id);
if (!aux)
return abi_fail(detail, detail_sz,
@@ -170,7 +170,7 @@ int kernel_abi_validate_btf(const struct btf *btf,
sig = find_member(btf, aux, "sig", &member_idx);
if (!sig)
return abi_fail(detail, detail_sz,
- "struct bpf_prog_aux.sig is missing; boot a Shirudo-patched kernel");
+ "struct bpf_prog_aux.sig is missing; boot a shirudo-patched kernel");
sig_type = unwrap_type(btf, sig->type);
if (!sig_type || !btf_is_struct(sig_type))
return abi_fail(detail, detail_sz,
@@ -207,7 +207,7 @@ int kernel_abi_check(char *detail, size_t detail_sz)
err = libbpf_get_error(btf);
if (err)
return abi_fail(detail, detail_sz,
- "cannot read target kernel BTF: %s; boot a Shirudo-patched kernel",
+ "cannot read target kernel BTF: %s; boot a shirudo-patched kernel",
strerror((int)-err));
ret = kernel_abi_validate_btf(btf, detail, detail_sz);
diff --git a/util/kernel_abi.h b/util/kernel_abi.h
index ea16c579..02e39cdc 100644
--- a/util/kernel_abi.h
+++ b/util/kernel_abi.h
@@ -2,7 +2,7 @@
/*
* Copyright (c) 2026 Authors of shirudo
*
- * Live-kernel capability checks required by Shirudo's signed BPF loader.
+ * Live-kernel capability checks required by shirudo's signed BPF loader.
*/
#ifndef SHIRUDO_KERNEL_ABI_H
diff --git a/util/upatch_maps_otel.c b/util/upatch_maps_otel.c
index 9e4f780c..ef7f478a 100644
--- a/util/upatch_maps_otel.c
+++ b/util/upatch_maps_otel.c
@@ -1537,7 +1537,7 @@ static noinline_for_stack int otel_post(struct otel_state *st,
(curl_off_t)body_len);
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, st->headers);
curl_easy_setopt(curl, CURLOPT_USERAGENT,
- "Shirudo OTel-OTLP-Exporter-C/1");
+ "shirudo OTel-OTLP-Exporter-C/1");
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, response_write);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &response);
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, response_header);
@@ -2356,7 +2356,7 @@ static noinline_for_stack int s3_put(struct otel_s3_state *st,
curl_easy_setopt(curl, CURLOPT_AWS_SIGV4, sigv4);
curl_easy_setopt(curl, CURLOPT_USERPWD, st->credentials);
curl_easy_setopt(curl, CURLOPT_USERAGENT,
- "Shirudo-S3-Exporter-C/1");
+ "shirudo-S3-Exporter-C/1");
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, response_write);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &response);
curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, response_header);