Lines Matching refs:aad
61 aa_audit_type[aad(sa)->type]); in audit_pre()
64 if (aad(sa)->op) { in audit_pre()
65 audit_log_format(ab, " operation=\"%s\"", aad(sa)->op); in audit_pre()
68 if (aad(sa)->info) { in audit_pre()
69 audit_log_format(ab, " info=\"%s\"", aad(sa)->info); in audit_pre()
70 if (aad(sa)->error) in audit_pre()
71 audit_log_format(ab, " error=%d", aad(sa)->error); in audit_pre()
74 if (aad(sa)->label) { in audit_pre()
75 struct aa_label *label = aad(sa)->label; in audit_pre()
94 if (aad(sa)->name) { in audit_pre()
96 audit_log_untrustedstring(ab, aad(sa)->name); in audit_pre()
108 aad(sa)->type = type; in aa_audit_msg()
129 if (likely(!aad(sa)->error)) { in aa_audit()
141 return aad(sa)->error; in aa_audit()
146 aad(sa)->label = &profile->label; in aa_audit()
150 if (aad(sa)->type == AUDIT_APPARMOR_KILL) in aa_audit()
155 if (aad(sa)->type == AUDIT_APPARMOR_ALLOWED) in aa_audit()
156 return complain_error(aad(sa)->error); in aa_audit()
158 return aad(sa)->error; in aa_audit()