Adding YAMA hooks also when YAMA is not stacked.
Subsystems (2)
PATCH v2 1/1 Adding YAMA hooks also when YAMA is not stacked.
Without this patch YAMA will not work at all if it is chosen as the primary LSM instead of being "stacked".
Signed-off-by Salvatore Mesoraca <[email protected]>
---V1->V2:
Tabs issue fixed.
--- security/yama/yama_lsm.c | 1 + 1 file changed, 1 insertion(+)
security/yama/yama_lsm.c +1 -0
@@ -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" );
--
2.3.6