Searched refs:RealUid (Results 1 - 18 of 18) sorted by relevance

/sendmail/praliases/
H A Dpraliases.c44 uid_t RealUid; variable
75 RunAsUid = RealUid = getuid();
77 pw = getpwuid(RealUid);
86 "Unknown UID %d", (int) RealUid);
/sendmail/editmap/
H A Deditmap.c45 uid_t RealUid; variable
120 RunAsUid = RealUid = getuid();
122 pw = getpwuid(RealUid);
127 "Unknown UID %d", (int) RealUid);
/sendmail/makemap/
H A Dmakemap.c41 uid_t RealUid; variable
125 RunAsUid = RealUid = getuid();
127 pw = getpwuid(RealUid);
132 "Unknown UID %d", (int) RealUid);
/sendmail/sendmail/
H A Dmain.c239 RealUid = getuid();
243 extraprivs = (RealUid != 0 &&
541 pw = sm_getpwuid(RealUid);
546 (int) RealUid);
562 if (RealUid != 0 && geteuid() == RealUid)
565 sm_dprintf("Non-set-user-ID binary: RunAsUid = RealUid = %d\n",
566 (int) RealUid);
567 RunAsUid = RealUid;
573 if (RealUid !
[all...]
H A Ddeliver.c2576 if (RealUid != 0 && RealUid != getuid())
2580 if (setreuid(RealUid, geteuid()) < 0)
2583 (int) RealUid, (int) geteuid());
2589 new_ruid = RealUid;
5324 RealUid = RunAsUid;
5326 RealUid = mailer->m_uid;
5327 if (RunAsUid != 0 && RealUid != RunAsUid)
5330 syserr("mailfile: insufficient privileges to change uid, RunAsUid=%d, RealUid=%d",
5331 (int) RunAsUid, (int) RealUid);
[all...]
H A Derr.c205 pw = sm_getpwuid(RealUid);
211 (void) sm_snprintf(ubuf, sizeof(ubuf), "UID%d", (int) RealUid);
H A Drecipient.c1328 euid = RealUid;
1692 if (setreuid(RealUid, 0) < 0)
1694 (int) RealUid, (int) getuid(),
H A Dreadcf.c1131 else if (RealUid == 0)
2571 if (!safe && RealUid == 0)
2937 if (RealUid != 0 && !safe)
3628 if (!bitset(SUBMIT_MSA, SubmitMode) && RealUid != 0 &&
3629 RunAsUid != RealUid)
H A Dconf.c286 FileMode = (RealUid != geteuid()) ? 0644 : 0600;
288 QueueFileMode = (RealUid != geteuid()) ? 0644 : 0600;
1128 pw = sm_getpwuid(RealUid);
1134 uid_t uid = RealUid;
H A Denvelope.c1160 e->e_from.q_uid = RealUid;
H A Dqueue.c4055 geteuid() != RealUid;
4835 if (bitset(PRIV_RESTRICTMAILQ, PrivacyFlags) && RealUid != 0)
6797 if (TrustedUid != 0 && RealUid == TrustedUid)
6853 if (RealUid == 0 || (TrustedUid != 0 && RealUid == TrustedUid))
H A Ddaemon.c3144 ** be root, and RealUid should be either 0 or RunAsUid.
3148 (RealUid == 0 || RealUid == RunAsUid));
H A Dsavemail.c376 if (RealUid == 0)
H A Dsrvrsmtp.c2420 if (RealUid != 0 && OpMode == MD_SMTP &&
3031 (RealUid != 0 && RealUid != TrustedUid &&
H A Dutil.c588 if (TrustedUid != 0 && RealUid == TrustedUid)
H A Dsendmail.h2417 EXTERN uid_t RealUid; /* real uid of caller */ variable
/sendmail/vacation/
H A Dvacation.c45 uid_t RealUid; variable
165 RunAsUid = RealUid = getuid();
167 pw = getpwuid(RealUid);
176 "Unknown UID %d", (int) RealUid);
/sendmail/libsmutil/
H A Dsafefile.c78 if (RealUid != 0 && RunAsUid == RealUid)
724 rval = safefile(fn, RealUid, RealGid, RealUserName,

Completed in 767 milliseconds