Searched refs:labels_ns (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/security/apparmor/ |
D | label.c | 82 &labels_ns(orig)->lock); in __aa_proxy_redirect() 354 aa_free_ns(labels_ns(label)); in label_free_switch() 373 struct aa_ns *ns = labels_ns(label); in aa_label_kref() 781 res = __label_remove(label, ns_unconfined(labels_ns(label))); in aa_label_remove() 800 if (name_is_shared(old, new) && labels_ns(old) == labels_ns(new)) { in aa_label_replace() 814 if (labels_ns(old) != labels_ns(new)) { in aa_label_replace() 1122 struct aa_ns *nsa = labels_ns(a); in labelset_of_merge() 1123 struct aa_ns *nsb = labels_ns(b); in labelset_of_merge() 1454 if (label->hname || labels_ns(label) != ns) in aa_update_label_name() 1479 if (label->hname && (!ns || labels_ns(label) == ns) && in use_label_hname() [all …]
|
D | task.c | 70 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label() 223 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_ptrace_cb()
|
D | policy.c | 561 ns = aa_lookupn_ns(labels_ns(base), ns_name, ns_len); in aa_fqlookupn_profile() 565 ns = aa_get_ns(labels_ns(base)); in aa_fqlookupn_profile() 1076 ns = aa_prepare_ns(policy_ns ? policy_ns : labels_ns(label), in aa_replace_profiles() 1087 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(label)); in aa_replace_profiles() 1314 ns = aa_lookupn_ns(policy_ns ? policy_ns : labels_ns(subj), in aa_remove_profiles() 1323 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(subj)); in aa_remove_profiles()
|
D | procattr.c | 32 struct aa_ns *ns = labels_ns(label); in aa_getprocattr()
|
D | ipc.c | 74 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_signal_cb()
|
D | resource.c | 39 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_cb()
|
D | net.c | 103 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_net_cb()
|
D | lib.c | 301 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in aa_audit_perms_cb()
|
D | domain.c | 1080 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat() 1116 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat() 1127 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat()
|
D | apparmorfs.c | 791 label_for_each_in_ns(i, labels_ns(label), label, profile) { in query_label() 1172 if (profile->ns != labels_ns(label)) { in seq_ns_nsstacked_show() 1189 seq_printf(seq, "%d\n", labels_ns(label)->level); in seq_ns_level_show() 1198 seq_printf(seq, "%s\n", labels_ns(label)->base.name); in seq_ns_name_show()
|
D | file.c | 70 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in file_audit_cb()
|
D | lsm.c | 1169 slen = aa_label_asxprint(&name, labels_ns(label), peer, in apparmor_socket_getpeersec_stream()
|
/linux-6.6.21/security/apparmor/include/ |
D | label.h | 147 #define labels_ns(X) (vec_ns(&((X)->vec[0]), (X)->size)) macro 148 #define labels_set(X) (&labels_ns(X)->labels) 149 #define labels_view(X) labels_ns(X) 221 struct aa_ns *__ns = labels_ns(L); \
|
D | cred.h | 169 ns = aa_get_ns(labels_ns(label)); in aa_get_current_ns()
|
D | lib.h | 301 __fn_build_in_ns(labels_ns(L), (P), (NS_FN), (OTHER_FN))); \
|