Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/mail/
H A Dsendlist.c149 uid_t useruid, saved_uid; in send_mbox() local
167 saved_uid = geteuid(); in send_mbox()
203 seteuid(saved_uid); in send_mbox()
/titanic_44/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)) {
931 (void)seteuid(saved_uid);
980 (void)seteuid(saved_uid);
/titanic_44/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.c509 pid_t saved_uid; in parse_conf_file() local
587 saved_uid = getuid(); in parse_conf_file()
605 if (setreuid(saved_uid, -1) == -1) { in parse_conf_file()
607 whoami, saved_uid, strerror(errno)); in parse_conf_file()