Searched refs:saved_uid (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Dsendlist.c149 uid_t useruid, saved_uid; local
167 saved_uid = geteuid();
203 seteuid(saved_uid);
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmail.local.c117 static uid_t src_uid, targ_uid, saved_uid; variable
179 saved_uid = geteuid();
182 if (saved_uid != 0) {
766 if ((saved_uid != 0) && (src_uid != targ_uid)) {
768 * If saved_uid == 0 (root), anything is OK; this is
931 (void)seteuid(saved_uid);
980 (void)seteuid(saved_uid);
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c509 pid_t saved_uid; local
587 saved_uid = getuid();
605 if (setreuid(saved_uid, -1) == -1) {
607 whoami, saved_uid, strerror(errno));

Completed in 85 milliseconds