Home
last modified time | relevance | path

Searched refs:aa_get_ns (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/security/apparmor/
H A Dpolicy_ns.c178 ns = aa_get_ns(__aa_findn_ns(&root->sub_ns, name, n)); in aa_findn_ns()
247 ns = aa_get_ns(__aa_lookupn_ns(view, name, n)); in aa_lookupn_ns()
276 ns->parent = aa_get_ns(parent); in __aa_create_ns()
279 aa_get_ns(ns); in __aa_create_ns()
302 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in __aa_find_or_create_ns()
326 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in aa_prepare_ns()
416 root_ns->unconfined->ns = aa_get_ns(root_ns); in aa_alloc_root_ns()
H A Dapparmorfs.c446 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_load()
463 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_replace()
573 rev->ns = aa_get_ns(inode->i_private); in ns_revision_open()
1500 rawdata->ns = aa_get_ns(ns); in __aa_fs_create_rawdata()
1819 parent = aa_get_ns(dir->i_private); in ns_mkdir_op()
1869 parent = aa_get_ns(dir->i_private); in ns_rmdir_op()
1988 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
1995 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
2002 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
2009 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
[all …]
H A Dpolicy.c467 profile->ns = aa_get_ns(ns); in __create_missing_ancestors()
565 ns = aa_get_ns(labels_ns(base)); in aa_fqlookupn_profile()
609 profile->ns = aa_get_ns(parent->ns); in aa_alloc_null()
1087 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(label)); in aa_replace_profiles()
1128 ent->new->ns = aa_get_ns(ns); in aa_replace_profiles()
1323 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(subj)); in aa_remove_profiles()
H A Dpolicy_unpack.c118 struct aa_ns *ns = aa_get_ns(d->ns); in do_loaddata_free()
/openbmc/linux/security/apparmor/include/
H A Dcred.h169 ns = aa_get_ns(labels_ns(label)); in aa_get_current_ns()
H A Dpolicy_ns.h113 static inline struct aa_ns *aa_get_ns(struct aa_ns *ns) in aa_get_ns() function