Linux Security Module framework-------------------------------The Linux Security Module (LSM) framework provides a mechanism forvarious security checks to be hooked by new kernel extensions. The name"module" is a bit of a misnomer since these extensions are not actuallyloadable kernel modules. Instead, they are selectable at build-time viaCONFIG_DEFAULT_SECURITY and can be overridden at boot-time via the"security=..." kernel command line argument, in the case where multipleLSMs were built into a given kernel.The primary users of the LSM interface are Mandatory Access Control(MAC) extensions which provide a comprehensive security policy. Examplesinclude SELinux, Smack, Tomoyo, and AppArmor. In addition to the largerMAC extensions, other extensions can be built using the LSM to providespecific changes to system operation when these tweaks are not availablein the core functionality of Linux itself.Without a specific LSM built into the kernel, the default LSM will be theLinux capabilities system. Most LSMs choose to extend the capabilitiessystem, building their checks on top of the defined capability hooks.For more details on capabilities, see capabilities(7) in the Linuxman-pages project.Based on https://lkml.org/lkml/2007/10/26/215,a new LSM is accepted into the kernel when its intent (a description ofwhat it tries to protect against and in what cases one would expect touse it) has been appropriately documented in Documentation/security/.This allows an LSM's code to be easily compared to its goals, and sothat end users and distros can make a more informed decision about whichLSMs suit their requirements.For extensive documentation on the available LSM hook interfaces, pleasesee include/linux/security.h.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。