]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
landlock: Add errata documentation section
authorSamasth Norway Ananda <samasth.norway.ananda@oracle.com>
Wed, 28 Jan 2026 03:18:11 +0000 (19:18 -0800)
committerMickaël Salaün <mic@digikod.net>
Fri, 6 Feb 2026 16:54:43 +0000 (17:54 +0100)
commitfe72ce6710cba088b67e3279de87d7341fafc357
tree2f9e307b6177857a2ba83374cdece39ed302edbf
parent6100f2904e0ea1f2c832ab6e93573fae47d3b13e
landlock: Add errata documentation section

Add errata section with code examples for querying errata and a warning
that most applications should not check errata. Use kernel-doc directives
to include errata descriptions from the header files instead of manual
links.

Also enhance existing DOC sections in security/landlock/errata/abi-*.h
files with Impact sections, and update the code comment in syscalls.c
to remind developers to update errata documentation when applicable.

This addresses the gap where the kernel implements errata tracking
but provides no user-facing documentation on how to use it, while
improving the existing technical documentation in-place rather than
duplicating it.

Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@oracle.com>
Reviewed-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20260128031814.2945394-3-samasth.norway.ananda@oracle.com
[mic: Cosmetic fix]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Documentation/userspace-api/landlock.rst
security/landlock/errata/abi-1.h
security/landlock/errata/abi-4.h
security/landlock/errata/abi-6.h
security/landlock/syscalls.c