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:
Linus Torvalds 2015-08-03 11:00:53 -07:00
commit 665aadc1d6
1 changed files with 1 additions and 0 deletions

View File

@ -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");