^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) =================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Linux Security Module Development
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) =================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Based on https://lkml.org/lkml/2007/10/26/215,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) a new LSM is accepted into the kernel when its intent (a description of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) what it tries to protect against and in what cases one would expect to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) use it) has been appropriately documented in ``Documentation/admin-guide/LSM/``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) This allows an LSM's code to be easily compared to its goals, and so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) that end users and distros can make a more informed decision about which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) LSMs suit their requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) For extensive documentation on the available LSM hook interfaces, please
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) see ``include/linux/lsm_hooks.h`` and associated structures:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) .. kernel-doc:: include/linux/lsm_hooks.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) :internal: