* [PATCH V2] Adding YAMA hooks also when YAMA is not stacked.
@ 2015-08-03 10:40 Salvatore Mesoraca
0 siblings, 0 replies; 2+ messages in thread
From: Salvatore Mesoraca @ 2015-08-03 10:40 UTC (permalink / raw)
To: linux-kernel, linux-security-module
Cc: James Morris, Kees Cook, Casey Schaufler, Salvatore Mesoraca
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 <s.mesoraca16@gmail.com>
---
V1->V2:
Tabs issue fixed.
---
security/yama/yama_lsm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c
index 9ed3250..5ebb896 100644
--- a/security/yama/yama_lsm.c
+++ b/security/yama/yama_lsm.c
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH V2] Adding YAMA hooks also when YAMA is not stacked.
@ 2015-07-31 7:17 Salvatore Mesoraca
0 siblings, 0 replies; 2+ messages in thread
From: Salvatore Mesoraca @ 2015-07-31 7:17 UTC (permalink / raw)
To: linux-kernel, linux-security-module
Cc: James Morris, Kees Cook, Casey Schaufler, Salvatore Mesoraca
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 <s.mesoraca16@gmail.com>
---
V1->V2:
Tabs issue fixed.
---
security/yama/yama_lsm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c
index 9ed3250..5ebb896 100644
--- a/security/yama/yama_lsm.c
+++ b/security/yama/yama_lsm.c
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-03 10:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 10:40 [PATCH V2] Adding YAMA hooks also when YAMA is not stacked Salvatore Mesoraca
-- strict thread matches above, loose matches on Subject: below --
2015-07-31 7:17 Salvatore Mesoraca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome