Searched refs:aa_namespace (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/security/apparmor/include/ |
D | policy.h | 130 struct aa_namespace { struct 132 struct aa_namespace *parent; argument 204 struct aa_namespace *ns; 227 extern struct aa_namespace *root_ns; 232 bool aa_ns_visible(struct aa_namespace *curr, struct aa_namespace *view); 233 const char *aa_ns_name(struct aa_namespace *parent, struct aa_namespace *child); 238 struct aa_namespace *aa_find_namespace(struct aa_namespace *root, 248 struct aa_profile *aa_lookup_profile(struct aa_namespace *ns, const char *name); 249 struct aa_profile *aa_match_profile(struct aa_namespace *ns, const char *name); 378 static inline struct aa_namespace *aa_get_namespace(struct aa_namespace *ns) in aa_get_namespace() [all …]
|
D | apparmorfs.h | 65 struct aa_namespace; 100 void __aa_fs_namespace_rmdir(struct aa_namespace *ns); 101 int __aa_fs_namespace_mkdir(struct aa_namespace *ns, struct dentry *parent,
|
/linux-4.4.14/security/apparmor/ |
D | policy.c | 93 struct aa_namespace *root_ns; 230 bool aa_ns_visible(struct aa_namespace *curr, struct aa_namespace *view) in aa_ns_visible() 249 const char *aa_ns_name(struct aa_namespace *curr, struct aa_namespace *view) in aa_ns_name() 274 static struct aa_namespace *alloc_namespace(const char *prefix, in alloc_namespace() 277 struct aa_namespace *ns; in alloc_namespace() 319 static void free_namespace(struct aa_namespace *ns) in free_namespace() 341 static struct aa_namespace *__aa_find_namespace(struct list_head *head, in __aa_find_namespace() 344 return (struct aa_namespace *)__policy_find(head, name); in __aa_find_namespace() 357 struct aa_namespace *aa_find_namespace(struct aa_namespace *root, in aa_find_namespace() 360 struct aa_namespace *ns = NULL; in aa_find_namespace() [all …]
|
D | apparmorfs.c | 477 void __aa_fs_namespace_rmdir(struct aa_namespace *ns) in __aa_fs_namespace_rmdir() 479 struct aa_namespace *sub; in __aa_fs_namespace_rmdir() 501 int __aa_fs_namespace_mkdir(struct aa_namespace *ns, struct dentry *parent, in __aa_fs_namespace_mkdir() 504 struct aa_namespace *sub; in __aa_fs_namespace_mkdir() 569 static struct aa_namespace *__next_namespace(struct aa_namespace *root, in __next_namespace() 570 struct aa_namespace *ns) in __next_namespace() 572 struct aa_namespace *parent, *next; in __next_namespace() 605 static struct aa_profile *__first_profile(struct aa_namespace *root, in __first_profile() 606 struct aa_namespace *ns) in __first_profile() 628 struct aa_namespace *ns = p->ns; in __next_profile() [all …]
|
D | domain.c | 96 struct aa_namespace *ns, in change_profile_perms() 173 static struct aa_profile *find_attach(struct aa_namespace *ns, in find_attach() 242 struct aa_namespace *ns = profile->ns; in x_table_lookup() 250 struct aa_namespace *new_ns; in x_table_lookup() 304 struct aa_namespace *ns = profile->ns; in x_to_profile() 341 struct aa_namespace *ns; in apparmor_bprm_set_creds() 748 struct aa_namespace *ns = NULL; in aa_change_profile()
|
D | procattr.c | 42 struct aa_namespace *ns = profile->ns; in aa_getprocattr() 43 struct aa_namespace *current_ns = __aa_current_profile()->ns; in aa_getprocattr()
|