diff options
Diffstat (limited to 'security/tomoyo/common.c')
-rw-r--r-- | security/tomoyo/common.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/security/tomoyo/common.c b/security/tomoyo/common.c index 0c7ea51e7a45..634f7449e8ba 100644 --- a/security/tomoyo/common.c +++ b/security/tomoyo/common.c | |||
@@ -13,8 +13,6 @@ | |||
13 | #include <linux/security.h> | 13 | #include <linux/security.h> |
14 | #include <linux/hardirq.h> | 14 | #include <linux/hardirq.h> |
15 | #include "common.h" | 15 | #include "common.h" |
16 | #include "realpath.h" | ||
17 | #include "tomoyo.h" | ||
18 | 16 | ||
19 | /* Lock for protecting policy. */ | 17 | /* Lock for protecting policy. */ |
20 | DEFINE_MUTEX(tomoyo_policy_lock); | 18 | DEFINE_MUTEX(tomoyo_policy_lock); |
@@ -1040,27 +1038,6 @@ static int tomoyo_read_profile(struct tomoyo_io_buffer *head) | |||
1040 | } | 1038 | } |
1041 | 1039 | ||
1042 | /* | 1040 | /* |
1043 | * tomoyo_policy_manager_entry is a structure which is used for holding list of | ||
1044 | * domainnames or programs which are permitted to modify configuration via | ||
1045 | * /sys/kernel/security/tomoyo/ interface. | ||
1046 | * It has following fields. | ||
1047 | * | ||
1048 | * (1) "list" which is linked to tomoyo_policy_manager_list . | ||
1049 | * (2) "manager" is a domainname or a program's pathname. | ||
1050 | * (3) "is_domain" is a bool which is true if "manager" is a domainname, false | ||
1051 | * otherwise. | ||
1052 | * (4) "is_deleted" is a bool which is true if marked as deleted, false | ||
1053 | * otherwise. | ||
1054 | */ | ||
1055 | struct tomoyo_policy_manager_entry { | ||
1056 | struct list_head list; | ||
1057 | /* A path to program or a domainname. */ | ||
1058 | const struct tomoyo_path_info *manager; | ||
1059 | bool is_domain; /* True if manager is a domainname. */ | ||
1060 | bool is_deleted; /* True if this entry is deleted. */ | ||
1061 | }; | ||
1062 | |||
1063 | /* | ||
1064 | * tomoyo_policy_manager_list is used for holding list of domainnames or | 1041 | * tomoyo_policy_manager_list is used for holding list of domainnames or |
1065 | * programs which are permitted to modify configuration via | 1042 | * programs which are permitted to modify configuration via |
1066 | * /sys/kernel/security/tomoyo/ interface. | 1043 | * /sys/kernel/security/tomoyo/ interface. |