Documentation/security/lsm-development.rst

Source file repositories/reference/linux-study-clean/Documentation/security/lsm-development.rst

File Facts

System
Linux kernel
Corpus path
Documentation/security/lsm-development.rst
Extension
.rst
Size
759 bytes
Lines
18
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

=================================
Linux Security Module Development
=================================

Based on https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org,
a new LSM is accepted into the kernel when its intent (a description of
what it tries to protect against and in what cases one would expect to
use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``.
This allows an LSM's code to be easily compared to its goals, and so
that end users and distros can make a more informed decision about which
LSMs suit their requirements.

For extensive documentation on the available LSM hook interfaces, please
see ``security/security.c`` and associated structures:

.. kernel-doc:: security/security.c
   :export:

Annotation

Implementation Notes