Home
last modified time | relevance | path

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

/Linux-v5.15/security/apparmor/
Dpolicy_ns.c167 ns = aa_get_ns(__aa_findn_ns(&root->sub_ns, name, n)); in aa_findn_ns()
236 ns = aa_get_ns(__aa_lookupn_ns(view, name, n)); in aa_lookupn_ns()
265 ns->parent = aa_get_ns(parent); in __aa_create_ns()
268 aa_get_ns(ns); in __aa_create_ns()
291 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in __aa_find_or_create_ns()
315 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in aa_prepare_ns()
Dapparmorfs.c443 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_load()
460 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_replace()
480 struct aa_ns *ns = aa_get_ns(f->f_inode->i_private); in profile_remove()
569 rev->ns = aa_get_ns(inode->i_private); in ns_revision_open()
1485 rawdata->ns = aa_get_ns(ns); in __aa_fs_create_rawdata()
1790 parent = aa_get_ns(dir->i_private); in ns_mkdir_op()
1839 parent = aa_get_ns(dir->i_private); in ns_rmdir_op()
1848 ns = aa_get_ns(__aa_findn_ns(&parent->sub_ns, dentry->d_name.name, in ns_rmdir_op()
1958 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
1965 aa_get_ns(ns); in __aafs_ns_mkdir_entries()
[all …]
Dpolicy.c471 ns = aa_get_ns(labels_ns(base)); in aa_fqlookupn_profile()
547 profile->ns = aa_get_ns(parent->ns); in aa_new_null_profile()
911 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(label)); in aa_replace_profiles()
948 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.c157 struct aa_ns *ns = aa_get_ns(d->ns); in do_loaddata_free()
/Linux-v5.15/security/apparmor/include/
Dcred.h182 ns = aa_get_ns(labels_ns(label)); in aa_get_current_ns()
Dpolicy_ns.h112 static inline struct aa_ns *aa_get_ns(struct aa_ns *ns) in aa_get_ns() function