Searched refs:RealUid (Results 1 - 18 of 18) sorted by relevance
/sendmail/praliases/ |
H A D | praliases.c | 44 uid_t RealUid; variable 75 RunAsUid = RealUid = getuid(); 77 pw = getpwuid(RealUid); 86 "Unknown UID %d", (int) RealUid);
|
/sendmail/editmap/ |
H A D | editmap.c | 45 uid_t RealUid; variable 120 RunAsUid = RealUid = getuid(); 122 pw = getpwuid(RealUid); 127 "Unknown UID %d", (int) RealUid);
|
/sendmail/makemap/ |
H A D | makemap.c | 41 uid_t RealUid; variable 125 RunAsUid = RealUid = getuid(); 127 pw = getpwuid(RealUid); 132 "Unknown UID %d", (int) RealUid);
|
/sendmail/sendmail/ |
H A D | main.c | 239 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 D | deliver.c | 2576 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 D | err.c | 205 pw = sm_getpwuid(RealUid); 211 (void) sm_snprintf(ubuf, sizeof(ubuf), "UID%d", (int) RealUid);
|
H A D | recipient.c | 1328 euid = RealUid; 1692 if (setreuid(RealUid, 0) < 0) 1694 (int) RealUid, (int) getuid(),
|
H A D | readcf.c | 1131 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 D | conf.c | 286 FileMode = (RealUid != geteuid()) ? 0644 : 0600; 288 QueueFileMode = (RealUid != geteuid()) ? 0644 : 0600; 1128 pw = sm_getpwuid(RealUid); 1134 uid_t uid = RealUid;
|
H A D | envelope.c | 1160 e->e_from.q_uid = RealUid;
|
H A D | queue.c | 4055 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 D | daemon.c | 3144 ** be root, and RealUid should be either 0 or RunAsUid. 3148 (RealUid == 0 || RealUid == RunAsUid));
|
H A D | savemail.c | 376 if (RealUid == 0)
|
H A D | srvrsmtp.c | 2420 if (RealUid != 0 && OpMode == MD_SMTP && 3031 (RealUid != 0 && RealUid != TrustedUid &&
|
H A D | util.c | 588 if (TrustedUid != 0 && RealUid == TrustedUid)
|
H A D | sendmail.h | 2417 EXTERN uid_t RealUid; /* real uid of caller */ variable
|
/sendmail/vacation/ |
H A D | vacation.c | 45 uid_t RealUid; variable 165 RunAsUid = RealUid = getuid(); 167 pw = getpwuid(RealUid); 176 "Unknown UID %d", (int) RealUid);
|
/sendmail/libsmutil/ |
H A D | safefile.c | 78 if (RealUid != 0 && RunAsUid == RealUid) 724 rval = safefile(fn, RealUid, RealGid, RealUserName,
|
Completed in 767 milliseconds