Lines Matching refs:ucred
825 rex_startup(rst, ucred, message, calleraddr)
827 struct authunix_parms *ucred;
858 if (ValidUser(ucred->aup_machname,
859 (uid_t)ucred->aup_uid,
860 (gid_t)ucred->aup_gid,
1175 ucred->aup_machname,
1177 ucred->aup_uid,
1178 ucred->aup_gid,
1186 if (setgid(ucred->aup_gid) == -1) {
1191 if (setgroups(ucred->aup_len, (gid_t *)ucred->aup_gids) == -1) {
1198 ucred->aup_machname,
1200 ucred->aup_uid,
1201 ucred->aup_gid,
1208 audit_rexd_success(ucred->aup_machname,
1210 ucred->aup_uid,
1211 ucred->aup_gid,
1216 if (setuid(ucred->aup_uid) == -1) {
1228 ucred->aup_uid, ucred->aup_gid, errno);