Lines Matching refs:ad
89 struct apparmor_audit_data *ad = aad(sa); in audit_cb() local
91 if (ad->mnt.type) { in audit_cb()
93 audit_log_untrustedstring(ab, ad->mnt.type); in audit_cb()
95 if (ad->mnt.src_name) { in audit_cb()
97 audit_log_untrustedstring(ab, ad->mnt.src_name); in audit_cb()
99 if (ad->mnt.trans) { in audit_cb()
101 audit_log_untrustedstring(ab, ad->mnt.trans); in audit_cb()
103 if (ad->mnt.flags) { in audit_cb()
105 audit_mnt_flags(ab, ad->mnt.flags); in audit_cb()
108 if (ad->mnt.data) { in audit_cb()
110 audit_log_untrustedstring(ab, ad->mnt.data); in audit_cb()
140 DEFINE_AUDIT_DATA(ad, LSM_AUDIT_DATA_NONE, AA_CLASS_MOUNT, op); in audit_mount()
171 ad.subj_cred = subj_cred; in audit_mount()
172 ad.name = name; in audit_mount()
173 ad.mnt.src_name = src_name; in audit_mount()
174 ad.mnt.type = type; in audit_mount()
175 ad.mnt.trans = trans; in audit_mount()
176 ad.mnt.flags = flags; in audit_mount()
178 ad.mnt.data = data; in audit_mount()
179 ad.info = info; in audit_mount()
180 ad.error = error; in audit_mount()
182 return aa_audit(audit_type, profile, &ad, audit_cb); in audit_mount()