Lines Matching refs:ad
33 struct apparmor_audit_data *ad = aad(sa); in audit_cb() local
36 rlim_names[ad->rlim.rlim], ad->rlim.max); in audit_cb()
37 if (ad->peer) { in audit_cb()
39 aa_label_xaudit(ab, labels_ns(ad->subj_label), ad->peer, in audit_cb()
61 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_NONE, AA_CLASS_RLIMITS, in audit_resource()
64 ad.subj_cred = subj_cred; in audit_resource()
65 ad.rlim.rlim = resource; in audit_resource()
66 ad.rlim.max = value; in audit_resource()
67 ad.peer = peer; in audit_resource()
68 ad.info = info; in audit_resource()
69 ad.error = error; in audit_resource()
71 return aa_audit(AUDIT_APPARMOR_AUTO, profile, &ad, audit_cb); in audit_resource()