+ size_t audit_size;
+ audit_token_t const *audit =
+ (audit_token_t const *)xpc_dictionary_get_data(event, "audit", &audit_size);
+
+ if (audit != NULL && audit_size != sizeof(audit_token_t)) {
+ Syslog::error("audit token has unexpected size %zu", audit_size);
+ return;
+ }
+