]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
landlock: Add documentation for UDP support
authorMatthieu Buffet <matthieu@buffet.re>
Thu, 11 Jun 2026 16:21:06 +0000 (18:21 +0200)
committerMickaël Salaün <mic@digikod.net>
Sun, 14 Jun 2026 18:17:16 +0000 (20:17 +0200)
commit299eccf996681273da0290f47db710de8d61c163
tree610008760de76f8463370d4d34a31c0586c08fe2
parenta1b0b278455a70e2567bdf77e6fda23438280987
landlock: Add documentation for UDP support

Add example of UDP usage, without detailing the two access right.
Slightly change the example used in code blocks: build a ruleset for a
DNS client, so that it uses both TCP and UDP.

Test coverage for security/landlock is 91.3% of 2245 lines according to
LLVM 22.

Signed-off-by: Matthieu Buffet <matthieu@buffet.re>
Link: https://patch.msgid.link/20260611162107.49278-7-matthieu@buffet.re
[mic: Fix doc formatting, update audit doc, add test coverage]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Documentation/admin-guide/LSM/landlock.rst
Documentation/userspace-api/landlock.rst