File Index
Files and directories
Sign in
FILE

lsm-development.rst

File preview with syntax highlighting.

linux-6.19.14/Documentation/security/lsm-development.rst RESTRUCTUREDTEXT
 1=================================
 2Linux Security Module Development
 3=================================
 4
 5Based on https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org,
 6a new LSM is accepted into the kernel when its intent (a description of
 7what it tries to protect against and in what cases one would expect to
 8use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``.
 9This allows an LSM's code to be easily compared to its goals, and so
10that end users and distros can make a more informed decision about which
11LSMs suit their requirements.
12
13For extensive documentation on the available LSM hook interfaces, please
14see ``security/security.c`` and associated structures:
15
16.. kernel-doc:: security/security.c
17   :export:
~/ Read-only file preview.