linux/Documentation/security
Mickaël Salaün 172b6a6d84
landlock: Document tracepoints
Until now, Landlock observability documentation covered only audit
records.  The tracepoints added by the previous commits introduce a
second channel with different semantics (firing regardless of audit
configuration and domain log flags, exposing the full ruleset and domain
state to eBPF via BTF), which kernel developers, administrators, and
userspace tool authors need to discover and compare against audit.

Add a dedicated "Landlock Trace Events" reference covering the event
categories, enabling events via tracefs, ruleset versioning, eBPF access
through BPF_RAW_TRACEPOINT, and the same_exec and logged denial fields
(logged being the kernel's audit-logging decision, so a stateless ftrace
filter can select the denials audit would record with logged==1).
Cross-reference it from the administrator, kernel-internals, and
userspace API documents, contrasting tracepoints with audit: when each
channel is preferred, what each guarantees, and how NOAUDIT hooks and
audit rate limiting affect them.

Also document the relational other-party domain fields the scope and
ptrace denial tracepoints expose (tracee_domain, target_domain,
peer_domain; 0 when the other party is unsandboxed), so a consumer can
resolve them against the lifecycle events and reproduce the two-domain
verdict.

Cc: Günther Noack <gnoack@google.com>
Cc: Tingmao Wang <m@maowtm.org>
Link: https://patch.msgid.link/20260811094338.288094-20-mic@digikod.net
[mic: Update dates]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2026-08-17 10:17:19 +02:00
..
keys docs: trusted-encryped: add PKWM as a new trust source 2026-01-30 09:27:27 +05:30
secrets Documentation: Fix typos 2023-08-18 11:29:03 -06:00
tpm Documentation: tpm: Add documentation for the CRB FF-A interface 2025-03-27 15:34:05 +02:00
credentials.rst Documentation: fix typo and formattting in security/credentials.rst 2026-05-15 08:09:46 -06:00
digsig.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
IMA-export-delete.rst doc: security: Add documentation of exporting and deleting IMA measurements 2026-06-08 11:43:36 -04:00
IMA-templates.rst ima: support fs-verity file digest based version 3 signatures 2022-05-05 17:41:51 -04:00
index.rst doc: security: Add documentation of exporting and deleting IMA measurements 2026-06-08 11:43:36 -04:00
ipe.rst docs: security: ipe: fix typos and grammar 2026-04-13 15:58:49 -07:00
landlock.rst landlock: Document tracepoints 2026-08-17 10:17:19 +02:00
lsm-development.rst lsm: move hook comments docs to security/security.c 2023-04-28 11:58:34 -04:00
lsm.rst lsm: move hook comments docs to security/security.c 2023-04-28 11:58:34 -04:00
sak.rst
SCTP.rst Docs: typos/spelling 2024-05-02 10:02:29 -06:00
self-protection.rst stackleak: Rename STACKLEAK to KSTACK_ERASE 2025-07-21 21:35:01 -07:00
siphash.rst Documentation: siphash: Fix typo in the name of offsetofend macro 2022-07-13 14:01:22 -06:00
snp-tdx-threat-model.rst docs/MAINTAINERS: Update my email address 2024-04-26 07:42:47 -06:00