mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull security layer fix from James Morris: "Yama initialization fix" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: Adding YAMA hooks also when YAMA is not stacked.
This commit is contained in:
commit
665aadc1d6
|
@ -406,6 +406,7 @@ static __init int yama_init(void)
|
|||
*/
|
||||
if (!security_module_enable("yama"))
|
||||
return 0;
|
||||
yama_add_hooks();
|
||||
#endif
|
||||
pr_info("Yama: becoming mindful.\n");
|
||||
|
||||
|
|
Loading…
Reference in New Issue