Home
last modified time | relevance | path

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

/linux-6.6.21/security/apparmor/
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()
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()
483 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_remove()
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()
1815 parent = aa_get_ns(dir->i_private); in ns_mkdir_op()
1865 parent = aa_get_ns(dir->i_private); in ns_rmdir_op()
1874 ns = aa_get_ns(__aa_findn_ns(&parent->sub_ns, dentry->d_name.name, in ns_rmdir_op()
1984 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
1991 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
[all …]
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()
Dpolicy_unpack.c118 struct aa_ns *ns = aa_get_ns(d->ns); in do_loaddata_free()
/linux-6.6.21/security/apparmor/include/
Dcred.h169 ns = aa_get_ns(labels_ns(label)); in aa_get_current_ns()
Dpolicy_ns.h113 static inline struct aa_ns *aa_get_ns(struct aa_ns *ns) in aa_get_ns() function