mac_cred_check_setaudit
error = mac_cred_check_setaudit(oldcred, &ai);
int mac_cred_check_setaudit(struct ucred *cred, struct auditinfo *ai);