diff options
Diffstat (limited to 'security/tomoyo/memory.c')
-rw-r--r-- | security/tomoyo/memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/tomoyo/memory.c b/security/tomoyo/memory.c index 598282cd0bdd..7a0493943d6d 100644 --- a/security/tomoyo/memory.c +++ b/security/tomoyo/memory.c | |||
@@ -213,6 +213,8 @@ void __init tomoyo_mm_init(void) | |||
213 | for (idx = 0; idx < TOMOYO_MAX_HASH; idx++) | 213 | for (idx = 0; idx < TOMOYO_MAX_HASH; idx++) |
214 | INIT_LIST_HEAD(&tomoyo_name_list[idx]); | 214 | INIT_LIST_HEAD(&tomoyo_name_list[idx]); |
215 | INIT_LIST_HEAD(&tomoyo_kernel_domain.acl_info_list); | 215 | INIT_LIST_HEAD(&tomoyo_kernel_domain.acl_info_list); |
216 | for (idx = 0; idx < TOMOYO_MAX_ACL_GROUPS; idx++) | ||
217 | INIT_LIST_HEAD(&tomoyo_acl_group[idx]); | ||
216 | tomoyo_kernel_domain.domainname = tomoyo_get_name(TOMOYO_ROOT_NAME); | 218 | tomoyo_kernel_domain.domainname = tomoyo_get_name(TOMOYO_ROOT_NAME); |
217 | list_add_tail_rcu(&tomoyo_kernel_domain.list, &tomoyo_domain_list); | 219 | list_add_tail_rcu(&tomoyo_kernel_domain.list, &tomoyo_domain_list); |
218 | idx = tomoyo_read_lock(); | 220 | idx = tomoyo_read_lock(); |