Home
last modified time | relevance | path

Searched refs:subj_label (Results 1 – 11 of 11) sorted by relevance

/linux/security/apparmor/
H A Daudit.c117 if (ad->subj_label) { in audit_pre()
118 struct aa_label *label = ad->subj_label; in audit_pre()
181 ad->subj_label = &profile->label; in aa_audit_perm_error()
224 ad->subj_label = &profile->label; in aa_audit()
H A Dtask.c248 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_ptrace_cb()
297 ad->subj_label = &tracer->label; in profile_tracer_perm()
381 ad->subj_label = &profile->label; in aa_profile_ns_perm()
H A Dipc.c74 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_signal_cb()
H A Dresource.c39 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_cb()
H A Dpolicy.c862 static int audit_policy(struct aa_label *subj_label, const char *op, in audit_policy() argument
872 ad.subj_label = subj_label; in audit_policy()
H A Dlib.c453 ad->subj_label = &profile->label; in aa_check_perms()
H A Dnet.c162 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_net_cb()
H A Dlsm.c620 aa_label_xaudit(ab, labels_ns(ad->subj_label), in audit_uring_cb()
915 ad.subj_label = begin_current_label_crit_section(&needput); in do_setattr()
924 end_current_label_crit_section(ad.subj_label, needput); in do_setattr()
H A Dfile.c71 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in file_audit_cb()
/linux/security/apparmor/include/
H A Daudit.h118 struct aa_label *subj_label; member
H A Dlabel.h466 static inline bool __aa_subj_label_is_cached(const struct aa_label *subj_label, in __aa_subj_label_is_cached() argument
469 return aa_label_is_subset(obj_label, subj_label); in __aa_subj_label_is_cached()