Home
last modified time | relevance | path

Searched refs:sad (Results 1 – 3 of 3) sorted by relevance

/security/smack/
Dsmack_access.c323 struct smack_audit_data *sad = ad->smack_audit_data; in smack_log_callback() local
326 sad->result ? "denied" : "granted"); in smack_log_callback()
328 audit_log_untrustedstring(ab, sad->subject); in smack_log_callback()
330 audit_log_untrustedstring(ab, sad->object); in smack_log_callback()
331 if (sad->request[0] == '\0') in smack_log_callback()
334 audit_log_format(ab, " requested=%s", sad->request); in smack_log_callback()
356 struct smack_audit_data *sad; in smack_log() local
365 sad = a->smack_audit_data; in smack_log()
367 if (sad->function == NULL) in smack_log()
368 sad->function = "unknown"; in smack_log()
[all …]
Dsmack.h285 struct smack_audit_data sad; member
413 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init()
415 a->a.smack_audit_data = &a->sad; in smk_ad_init()
/security/selinux/
Davc.c746 struct selinux_audit_data sad; in slow_avc_audit() local
764 sad.tclass = tclass; in slow_avc_audit()
765 sad.requested = requested; in slow_avc_audit()
766 sad.ssid = ssid; in slow_avc_audit()
767 sad.tsid = tsid; in slow_avc_audit()
768 sad.audited = audited; in slow_avc_audit()
769 sad.denied = denied; in slow_avc_audit()
770 sad.result = result; in slow_avc_audit()
772 a->selinux_audit_data = &sad; in slow_avc_audit()