aboutsummaryrefslogtreecommitdiffstats
path: root/security/apparmor/include
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2013-07-11 00:11:43 -0400
committerJohn Johansen <john.johansen@canonical.com>2013-08-14 14:42:06 -0400
commit8651e1d6572bc2c061073f05fabcd7175789259d (patch)
tree84f6bb6271463b5d247d7a63d163c3ae37a1d7ea /security/apparmor/include
parent742058b0f3a2ed32e2a7349aff97989dc4e32452 (diff)
apparmor: make free_profile available outside of policy.c
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r--security/apparmor/include/policy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h
index 4eafdd88f44e..8a68226ff7f7 100644
--- a/security/apparmor/include/policy.h
+++ b/security/apparmor/include/policy.h
@@ -228,6 +228,7 @@ struct aa_namespace *aa_find_namespace(struct aa_namespace *root,
228void aa_free_replacedby_kref(struct kref *kref); 228void aa_free_replacedby_kref(struct kref *kref);
229struct aa_profile *aa_alloc_profile(const char *name); 229struct aa_profile *aa_alloc_profile(const char *name);
230struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat); 230struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat);
231void aa_free_profile(struct aa_profile *profile);
231void aa_free_profile_kref(struct kref *kref); 232void aa_free_profile_kref(struct kref *kref);
232struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name); 233struct aa_profile *aa_find_child(struct aa_profile *parent, const char *name);
233struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *name); 234struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *name);