2017-05-13 19:51:43 +08:00
|
|
|
=================================
|
|
|
|
Linux Security Module Development
|
|
|
|
=================================
|
|
|
|
|
2021-01-11 04:41:44 +08:00
|
|
|
Based on https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org,
|
2017-05-13 19:51:43 +08:00
|
|
|
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
|
2018-10-09 08:46:04 +08:00
|
|
|
use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``.
|
2017-05-13 19:51:43 +08:00
|
|
|
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
|
2023-04-28 11:09:16 +08:00
|
|
|
see ``security/security.c`` and associated structures:
|
2019-02-18 06:19:01 +08:00
|
|
|
|
2023-04-28 11:09:16 +08:00
|
|
|
.. kernel-doc:: security/security.c
|
|
|
|
:export:
|