162306a36Sopenharmony_ci================================= 262306a36Sopenharmony_ciLinux Security Module Development 362306a36Sopenharmony_ci================================= 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciBased on https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org, 662306a36Sopenharmony_cia new LSM is accepted into the kernel when its intent (a description of 762306a36Sopenharmony_ciwhat it tries to protect against and in what cases one would expect to 862306a36Sopenharmony_ciuse it) has been appropriately documented in ``Documentation/admin-guide/LSM/``. 962306a36Sopenharmony_ciThis allows an LSM's code to be easily compared to its goals, and so 1062306a36Sopenharmony_cithat end users and distros can make a more informed decision about which 1162306a36Sopenharmony_ciLSMs suit their requirements. 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciFor extensive documentation on the available LSM hook interfaces, please 1462306a36Sopenharmony_cisee ``security/security.c`` and associated structures: 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci.. kernel-doc:: security/security.c 1762306a36Sopenharmony_ci :export: 18