Home
last modified time | relevance | path

Searched refs:labels_ns (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/
Dlabel.c82 &labels_ns(orig)->lock); in __aa_proxy_redirect()
351 aa_free_ns(labels_ns(label)); in label_free_switch()
370 struct aa_ns *ns = labels_ns(label); in aa_label_kref()
779 res = __label_remove(label, ns_unconfined(labels_ns(label))); in aa_label_remove()
798 if (name_is_shared(old, new) && labels_ns(old) == labels_ns(new)) { in aa_label_replace()
812 if (labels_ns(old) != labels_ns(new)) { in aa_label_replace()
1121 struct aa_ns *nsa = labels_ns(a); in labelset_of_merge()
1122 struct aa_ns *nsb = labels_ns(b); in labelset_of_merge()
1261 return aa_ns_visible(profile->ns, labels_ns(label), true); in label_is_visible()
1454 if (label->hname || labels_ns(label) != ns) in aa_update_label_name()
[all …]
Dtask.c65 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
Dipc.c57 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_ptrace_cb()
183 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_signal_cb()
Dpolicy.c467 ns = aa_lookupn_ns(labels_ns(base), ns_name, ns_len); in aa_fqlookupn_profile()
471 ns = aa_get_ns(labels_ns(base)); in aa_fqlookupn_profile()
900 ns = aa_prepare_ns(policy_ns ? policy_ns : labels_ns(label), in aa_replace_profiles()
911 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(label)); in aa_replace_profiles()
1115 ns = aa_lookupn_ns(policy_ns ? policy_ns : labels_ns(subj), in aa_remove_profiles()
1124 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(subj)); in aa_remove_profiles()
Dprocattr.c35 struct aa_ns *ns = labels_ns(label); in aa_getprocattr()
Dresource.c38 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_cb()
Dnet.c102 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_net_cb()
Ddomain.c1053 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat()
1089 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat()
1100 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat()
Dlib.c279 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in aa_audit_perms_cb()
Dapparmorfs.c786 label_for_each_in_ns(i, labels_ns(label), label, profile) { in query_label()
1166 if (profile->ns != labels_ns(label)) { in seq_ns_nsstacked_show()
1183 seq_printf(seq, "%d\n", labels_ns(label)->level); in seq_ns_level_show()
1192 seq_printf(seq, "%s\n", labels_ns(label)->base.name); in seq_ns_name_show()
Dfile.c67 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in file_audit_cb()
Dlsm.c1088 slen = aa_label_asxprint(&name, labels_ns(label), peer, in apparmor_socket_getpeersec_stream()
/kernel/linux/linux-5.10/security/apparmor/include/
Dcred.h182 ns = aa_get_ns(labels_ns(label)); in aa_get_current_ns()
Dlabel.h149 #define labels_ns(X) (vec_ns(&((X)->vec[0]), (X)->size)) macro
150 #define labels_set(X) (&labels_ns(X)->labels)
222 struct aa_ns *__ns = labels_ns(L); \
Dlib.h285 __fn_build_in_ns(labels_ns(L), (P), (NS_FN), (OTHER_FN))); \