18c2ecf20Sopenharmony_ci================================= 28c2ecf20Sopenharmony_ciLinux Security Module Development 38c2ecf20Sopenharmony_ci================================= 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciBased on https://lkml.org/lkml/2007/10/26/215, 68c2ecf20Sopenharmony_cia new LSM is accepted into the kernel when its intent (a description of 78c2ecf20Sopenharmony_ciwhat it tries to protect against and in what cases one would expect to 88c2ecf20Sopenharmony_ciuse it) has been appropriately documented in ``Documentation/admin-guide/LSM/``. 98c2ecf20Sopenharmony_ciThis allows an LSM's code to be easily compared to its goals, and so 108c2ecf20Sopenharmony_cithat end users and distros can make a more informed decision about which 118c2ecf20Sopenharmony_ciLSMs suit their requirements. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciFor extensive documentation on the available LSM hook interfaces, please 148c2ecf20Sopenharmony_cisee ``include/linux/lsm_hooks.h`` and associated structures: 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci.. kernel-doc:: include/linux/lsm_hooks.h 178c2ecf20Sopenharmony_ci :internal: 18