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