Home
last modified time | relevance | path

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

/linux-6.1.9/security/apparmor/
Dlabel.c82 &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()
1262 return aa_ns_visible(profile->ns, labels_ns(label), true); in label_is_visible()
1455 if (label->hname || labels_ns(label) != ns) in aa_update_label_name()
[all …]
Dtask.c70 if (unconfined(label) || (labels_ns(old) != labels_ns(label))) in aa_replace_current_label()
222 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_ptrace_cb()
Dpolicy.c466 ns = aa_lookupn_ns(labels_ns(base), ns_name, ns_len); in aa_fqlookupn_profile()
470 ns = aa_get_ns(labels_ns(base)); in aa_fqlookupn_profile()
940 ns = aa_prepare_ns(policy_ns ? policy_ns : labels_ns(label), in aa_replace_profiles()
951 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(label)); in aa_replace_profiles()
1160 ns = aa_lookupn_ns(policy_ns ? policy_ns : labels_ns(subj), in aa_remove_profiles()
1169 ns = aa_get_ns(policy_ns ? policy_ns : labels_ns(subj)); in aa_remove_profiles()
Dprocattr.c33 struct aa_ns *ns = labels_ns(label); in aa_getprocattr()
Dipc.c73 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in audit_signal_cb()
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.c1055 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat()
1091 label_for_each_in_ns(it, labels_ns(label), label, profile) { in change_hat()
1102 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.c789 label_for_each_in_ns(i, labels_ns(label), label, profile) { in query_label()
1170 if (profile->ns != labels_ns(label)) { in seq_ns_nsstacked_show()
1187 seq_printf(seq, "%d\n", labels_ns(label)->level); in seq_ns_level_show()
1196 seq_printf(seq, "%s\n", labels_ns(label)->base.name); in seq_ns_name_show()
Dfile.c69 aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, in file_audit_cb()
Dlsm.c1121 slen = aa_label_asxprint(&name, labels_ns(label), peer, in apparmor_socket_getpeersec_stream()
/linux-6.1.9/security/apparmor/include/
Dlabel.h147 #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); \
Dcred.h182 ns = aa_get_ns(labels_ns(label)); in aa_get_current_ns()
Dlib.h295 __fn_build_in_ns(labels_ns(L), (P), (NS_FN), (OTHER_FN))); \