aboutsummaryrefslogtreecommitdiffstats
path: root/security/tomoyo/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/tomoyo/common.h')
-rw-r--r--security/tomoyo/common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/tomoyo/common.h b/security/tomoyo/common.h
index 521b4b5addaf..1c8c97a4c069 100644
--- a/security/tomoyo/common.h
+++ b/security/tomoyo/common.h
@@ -638,6 +638,11 @@ int tomoyo_check_rewrite_permission(struct tomoyo_domain_info *domain,
638 struct file *filp); 638 struct file *filp);
639int tomoyo_find_next_domain(struct linux_binprm *bprm); 639int tomoyo_find_next_domain(struct linux_binprm *bprm);
640 640
641/* Run garbage collector. */
642void tomoyo_run_gc(void);
643
644void tomoyo_memory_free(void *ptr);
645
641/********** External variable definitions. **********/ 646/********** External variable definitions. **********/
642 647
643/* Lock for GC. */ 648/* Lock for GC. */
@@ -646,6 +651,16 @@ extern struct srcu_struct tomoyo_ss;
646/* The list for "struct tomoyo_domain_info". */ 651/* The list for "struct tomoyo_domain_info". */
647extern struct list_head tomoyo_domain_list; 652extern struct list_head tomoyo_domain_list;
648 653
654extern struct list_head tomoyo_domain_initializer_list;
655extern struct list_head tomoyo_domain_keeper_list;
656extern struct list_head tomoyo_alias_list;
657extern struct list_head tomoyo_globally_readable_list;
658extern struct list_head tomoyo_pattern_list;
659extern struct list_head tomoyo_no_rewrite_list;
660extern struct list_head tomoyo_policy_manager_list;
661extern struct list_head tomoyo_name_list[TOMOYO_MAX_HASH];
662extern struct mutex tomoyo_name_list_lock;
663
649/* Lock for protecting policy. */ 664/* Lock for protecting policy. */
650extern struct mutex tomoyo_policy_lock; 665extern struct mutex tomoyo_policy_lock;
651 666