diff options
Diffstat (limited to 'security/tomoyo')
| -rw-r--r-- | security/tomoyo/common.c | 1 | ||||
| -rw-r--r-- | security/tomoyo/domain.c | 1 | ||||
| -rw-r--r-- | security/tomoyo/file.c | 1 | ||||
| -rw-r--r-- | security/tomoyo/gc.c | 1 | ||||
| -rw-r--r-- | security/tomoyo/realpath.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c index ef89947a774b..975c45d88baa 100644 --- a/security/tomoyo/common.c +++ b/security/tomoyo/common.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/uaccess.h> | 12 | #include <linux/uaccess.h> |
| 13 | #include <linux/slab.h> | ||
| 13 | #include <linux/security.h> | 14 | #include <linux/security.h> |
| 14 | #include <linux/hardirq.h> | 15 | #include <linux/hardirq.h> |
| 15 | #include "common.h" | 16 | #include "common.h" |
diff --git a/security/tomoyo/domain.c b/security/tomoyo/domain.c index 66caaa1b842a..acb8c397d5cf 100644 --- a/security/tomoyo/domain.c +++ b/security/tomoyo/domain.c | |||
| @@ -11,6 +11,7 @@ | |||
| 11 | 11 | ||
| 12 | #include "common.h" | 12 | #include "common.h" |
| 13 | #include <linux/binfmts.h> | 13 | #include <linux/binfmts.h> |
| 14 | #include <linux/slab.h> | ||
| 14 | 15 | ||
| 15 | /* Variables definitions.*/ | 16 | /* Variables definitions.*/ |
| 16 | 17 | ||
diff --git a/security/tomoyo/file.c b/security/tomoyo/file.c index 1b24304edb7d..6f3fe76a1fde 100644 --- a/security/tomoyo/file.c +++ b/security/tomoyo/file.c | |||
| @@ -10,6 +10,7 @@ | |||
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include "common.h" | 12 | #include "common.h" |
| 13 | #include <linux/slab.h> | ||
| 13 | 14 | ||
| 14 | /* Keyword array for single path operations. */ | 15 | /* Keyword array for single path operations. */ |
| 15 | static const char *tomoyo_path_keyword[TOMOYO_MAX_PATH_OPERATION] = { | 16 | static const char *tomoyo_path_keyword[TOMOYO_MAX_PATH_OPERATION] = { |
diff --git a/security/tomoyo/gc.c b/security/tomoyo/gc.c index 9645525ccdd4..d9ad35bc7fa8 100644 --- a/security/tomoyo/gc.c +++ b/security/tomoyo/gc.c | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | 9 | ||
| 10 | #include "common.h" | 10 | #include "common.h" |
| 11 | #include <linux/kthread.h> | 11 | #include <linux/kthread.h> |
| 12 | #include <linux/slab.h> | ||
| 12 | 13 | ||
| 13 | enum tomoyo_gc_id { | 14 | enum tomoyo_gc_id { |
| 14 | TOMOYO_ID_DOMAIN_INITIALIZER, | 15 | TOMOYO_ID_DOMAIN_INITIALIZER, |
diff --git a/security/tomoyo/realpath.c b/security/tomoyo/realpath.c index cf7d61f781b9..c225c65ce426 100644 --- a/security/tomoyo/realpath.c +++ b/security/tomoyo/realpath.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/fs_struct.h> | 15 | #include <linux/fs_struct.h> |
| 16 | #include <linux/hash.h> | 16 | #include <linux/hash.h> |
| 17 | #include <linux/magic.h> | 17 | #include <linux/magic.h> |
| 18 | #include <linux/slab.h> | ||
| 18 | #include "common.h" | 19 | #include "common.h" |
| 19 | 20 | ||
| 20 | /** | 21 | /** |
