eBPF-based security platform
AGENTS.md: say that upatches get the full BPF instruction set
Daniel Borkmann7f56c52d854b
diff --git a/AGENTS.md b/AGENTS.mdindex d6d71e69..cf5a660b 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -325,7 +325,11 @@ one usually still compiles and passes tests.- **BPF targets instruction set v4.** Every `clang -target bpf` in thetree passes `-mcpu=v4`: the upatch build, the embedded objects, theconfigure probe and the tests. Not `-mcpu=probe`, which describes the- build host's kernel, not the targets'.+ 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 thataccumulates records keeps them in its one `BPF_MAP_TYPE_ARENA` map andships a `shirudo_serialize__<map>` program that walks them; hash and