1
Index: b/security/apparmor/apparmor.h
2
===================================================================
3
--- a/security/apparmor/apparmor.h
4
+++ b/security/apparmor/apparmor.h
5
@@ -119,6 +119,9 @@ struct aa_profile {
9
+extern struct list_head profile_list;
10
+extern rwlock_t profile_list_lock;
13
* struct aa_task_context - primary label for confined tasks
14
* @profile: the current profile
15
Index: b/security/apparmor/list.c
16
===================================================================
17
--- a/security/apparmor/list.c
18
+++ b/security/apparmor/list.c
22
/* list of all profiles and lock */
23
-static LIST_HEAD(profile_list);
24
-static rwlock_t profile_list_lock = RW_LOCK_UNLOCKED;
25
+LIST_HEAD(profile_list);
26
+rwlock_t profile_list_lock = RW_LOCK_UNLOCKED;
28
/* list of all task_contexts and lock */
29
static LIST_HEAD(task_context_list);