Home
last modified time | relevance | path

Searched refs:labels_profile (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/
H A Dresource.c148 old = labels_profile(old_l); in __aa_transition_rlimits()
149 new = labels_profile(new_l); in __aa_transition_rlimits()
H A Daudit.c78 struct aa_profile *profile = labels_profile(label); in audit_pre()
H A Dapparmorfs.c1070 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show()
1081 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show()
1092 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show()
1108 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show()
1620 profile = labels_profile(label); in rawdata_get_link_base()
H A Ddomain.c1047 if (PROFILE_IS_HAT(labels_profile(label))) in change_hat()
1349 * TODO: fixme using labels_profile is not right - do profile in aa_change_profile()
1353 !COMPLAIN_MODE(labels_profile(label))) in aa_change_profile()
1356 tprofile = aa_new_null_profile(labels_profile(label), false, in aa_change_profile()
H A Dfile.c164 labels_profile(label)->disconnected); in path_name()
H A Dpolicy_unpack.c109 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface()
H A Dlabel.c353 aa_free_profile(labels_profile(label)); in label_free_switch()
377 /* TODO: update labels_profile macro so it works here */ in aa_label_kref()
/kernel/linux/linux-6.6/security/apparmor/
H A Dresource.c161 old = labels_profile(old_l); in __aa_transition_rlimits()
162 new = labels_profile(new_l); in __aa_transition_rlimits()
H A Daudit.c120 struct aa_profile *profile = labels_profile(label); in audit_pre()
H A Dapparmorfs.c1074 struct aa_profile *profile = labels_profile(label); in seq_profile_name_show()
1085 struct aa_profile *profile = labels_profile(label); in seq_profile_mode_show()
1096 struct aa_profile *profile = labels_profile(label); in seq_profile_attach_show()
1112 struct aa_profile *profile = labels_profile(label); in seq_profile_hash_show()
1639 profile = labels_profile(label); in rawdata_get_link_base()
H A Ddomain.c1074 if (PROFILE_IS_HAT(labels_profile(label))) in change_hat()
1384 * TODO: fixme using labels_profile is not right - do profile in aa_change_profile()
1388 !COMPLAIN_MODE(labels_profile(label))) in aa_change_profile()
1391 tprofile = aa_new_learning_profile(labels_profile(label), false, in aa_change_profile()
H A Dfile.c170 labels_profile(label)->disconnected); in path_name()
H A Dpolicy_unpack.c66 struct aa_profile *profile = labels_profile(aa_current_raw_label()); in audit_iface()
H A Dlabel.c356 aa_free_profile(labels_profile(label)); in label_free_switch()
380 /* TODO: update labels_profile macro so it works here */ in aa_label_kref()
/kernel/linux/linux-5.10/security/apparmor/include/
H A Dpolicy.h213 return labels_profile(aa_get_newest_label(&p->label)); in aa_get_newest_profile()
H A Dlib.h267 (P) = labels_profile(L); \
H A Dlabel.h151 #define labels_profile(X) ((X)->vec[(X)->size - 1]) macro
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dlib.h278 (P) = labels_profile(L); \
H A Dpolicy.h272 return labels_profile(aa_get_newest_label(&p->label)); in aa_get_newest_profile()
H A Dlabel.h150 #define labels_profile(X) ((X)->vec[(X)->size - 1]) macro

Completed in 26 milliseconds