]> www.infradead.org Git - users/jedix/linux-maple.git/commit
landlock: Add user and kernel documentation
authorMickaël Salaün <mic@linux.microsoft.com>
Wed, 7 Apr 2021 16:07:26 +0000 (18:07 +0200)
committerJames Morris <jamorris@linux.microsoft.com>
Fri, 9 Apr 2021 01:37:59 +0000 (18:37 -0700)
commit00439cddfcfbcde1df984678e4087698cdda703f
tree74f98af828ca72f8c2cda9fa4eb634e6b71d3071
parentc7cdbef681bc3adac9a9f268babcf6dd87228a03
landlock: Add user and kernel documentation

Add a first document describing userspace API: how to define and enforce
a Landlock security policy.  This is explained with a simple example.
The Landlock system calls are described with their expected behavior and
current limitations.

Another document is dedicated to kernel developers, describing guiding
principles and some important kernel structures.

This documentation can be built with the Sphinx framework.

Cc: James Morris <jmorris@namei.org>
Cc: Jann Horn <jannh@google.com>
Cc: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com>
Reviewed-by: Vincent Dagonneau <vincent.dagonneau@ssi.gouv.fr>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210407160726.542794-13-mic@digikod.net
Signed-off-by: James Morris <jamorris@linux.microsoft.com>
Documentation/security/index.rst
Documentation/security/landlock.rst [new file with mode: 0644]
Documentation/userspace-api/index.rst
Documentation/userspace-api/landlock.rst [new file with mode: 0644]
MAINTAINERS