2017-05-13 18:51:43 +07:00
|
|
|
=================================
|
|
|
|
Linux Security Module Development
|
|
|
|
=================================
|
|
|
|
|
|
|
|
Based on https://lkml.org/lkml/2007/10/26/215,
|
|
|
|
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 07:46:04 +07:00
|
|
|
use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``.
|
2017-05-13 18:51:43 +07: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
|
2019-02-18 05:19:01 +07:00
|
|
|
see ``include/linux/lsm_hooks.h`` and associated structures:
|
|
|
|
|
|
|
|
.. kernel-doc:: include/linux/lsm_hooks.h
|
|
|
|
:internal:
|