Home
last modified time | relevance | path

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

/Linux-v4.19/security/apparmor/
Dpolicy_ns.c171 ns = aa_get_ns(__aa_findn_ns(&root->sub_ns, name, n)); in aa_findn_ns()
240 ns = aa_get_ns(__aa_lookupn_ns(view, name, n)); in aa_lookupn_ns()
269 ns->parent = aa_get_ns(parent); in __aa_create_ns()
272 aa_get_ns(ns); in __aa_create_ns()
295 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in __aa_find_or_create_ns()
319 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in aa_prepare_ns()
Dapparmorfs.c438 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_load()
455 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_replace()
475 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_remove()
564 rev->ns = aa_get_ns(inode->i_private); in ns_revision_open()
1392 rawdata->ns = aa_get_ns(ns); in __aa_fs_create_rawdata()
1696 parent = aa_get_ns(dir->i_private); in ns_mkdir_op()
1745 parent = aa_get_ns(dir->i_private); in ns_rmdir_op()
1754 ns = aa_get_ns(__aa_findn_ns(&parent->sub_ns, dentry->d_name.name, in ns_rmdir_op()
1864 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
1871 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
[all …]
Dpolicy.c472 ns = aa_get_ns(labels_ns(base)); in aa_fqlookupn_profile()
548 profile->ns = aa_get_ns(parent->ns); in aa_new_null_profile()
912 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(label)); in aa_replace_profiles()
949 ent->new->ns = aa_get_ns(ns); in aa_replace_profiles()
1124 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(subj)); in aa_remove_profiles()
Dpolicy_unpack.c158 struct aa_ns *ns = aa_get_ns(d->ns); in do_loaddata_free()
/Linux-v4.19/security/apparmor/include/
Dcred.h170 ns = aa_get_ns(labels_ns(label)); in aa_get_current_ns()
Dpolicy_ns.h116 static inline struct aa_ns *aa_get_ns(struct aa_ns *ns) in aa_get_ns() function