mac_cred_check_setauid
error = mac_cred_check_setauid(oldcred, id);
int mac_cred_check_setauid(struct ucred *cred, uid_t auid);