path: root/security/yama
diff options
authorCasey Schaufler <>2015-05-02 15:10:46 -0700
committerJames Morris <>2015-05-12 15:00:16 +1000
commit3c4ed7bdf5997d8020cbb8d4abbef2fcfb9f1284 (patch)
tree6137d6577f72d7f15b2693b44a973bc94cad1b6e /security/yama
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
LSM: Split security.h
The security.h header file serves two purposes, interfaces for users of the security modules and interfaces for security modules. Users of the security modules don't need to know about what's in the security_operations structure, so pull it out into it's own header, lsm_hooks.h Signed-off-by: Casey Schaufler <> Acked-by: John Johansen <> Acked-by: Kees Cook <> Acked-by: Paul Moore <> Acked-by: Stephen Smalley <> Acked-by: Tetsuo Handa <> Signed-off-by: James Morris <>
Diffstat (limited to 'security/yama')
1 files changed, 1 insertions, 1 deletions
diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c
index 24aae2ae2b30..14557ffa7b4d 100644
--- a/security/yama/yama_lsm.c
+++ b/security/yama/yama_lsm.c
@@ -12,7 +12,7 @@
-#include <linux/security.h>
+#include <linux/lsm_hooks.h>
#include <linux/sysctl.h>
#include <linux/ptrace.h>
#include <linux/prctl.h>