Home
last modified time | relevance | path

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

/freebsd/contrib/sendmail/src/
H A Dmain.c255 RealUid = getuid();
259 extraprivs = (RealUid != 0 &&
556 pw = sm_getpwuid(RealUid);
561 (int) RealUid);
577 if (RealUid != 0 && geteuid() == RealUid)
581 (int) RealUid);
582 RunAsUid = RealUid;
588 if (RealUid != 0 && EffGid == RealGid)
883 if (RealUid != 0)
1312 if (RealUid != 0 && RealUid != geteuid())
[all …]
H A Ddeliver.c3293 if (RealUid != 0 && RealUid != getuid())
3297 if (setreuid(RealUid, geteuid()) < 0)
3300 (int) RealUid, (int) geteuid());
3306 new_ruid = RealUid;
6542 RealUid = RunAsUid;
6544 RealUid = mailer->m_uid;
6545 if (RunAsUid != 0 && RealUid != RunAsUid)
6549 (long) RunAsUid, (long) RealUid);
6556 RealUid = stb.st_uid;
6564 RealUid = ctladdr->q_uid;
[all …]
H A Derr.c204 pw = sm_getpwuid(RealUid);
210 (void) sm_snprintf(ubuf, sizeof(ubuf), "UID%d", (int) RealUid);
H A Drecipient.c1347 euid = RealUid;
1710 if (setreuid(RealUid, 0) < 0)
1712 (long) RealUid, (long) getuid(),
H A Dreadcf.c1224 else if (RealUid == 0)
3371 if (!safe && RealUid == 0)
3745 if (RealUid != 0 && !safe)
4454 if (!bitset(SUBMIT_MSA, SubmitMode) && RealUid != 0 &&
4455 RunAsUid != RealUid)
H A Dconf.c295 FileMode = (RealUid != geteuid()) ? 0644 : 0600;
297 QueueFileMode = (RealUid != geteuid()) ? 0644 : 0600;
1202 pw = sm_getpwuid(RealUid); in username()
1208 uid_t uid = RealUid; in username()
H A Denvelope.c1172 e->e_from.q_uid = RealUid;
H A Dqueue.c4140 geteuid() != RealUid;
4956 if (bitset(PRIV_RESTRICTMAILQ, PrivacyFlags) && RealUid != 0)
7033 if (TrustedUid != 0 && RealUid == TrustedUid)
7089 if (RealUid == 0 || (TrustedUid != 0 && RealUid == TrustedUid))
H A Dsrvrsmtp.c2989 if (RealUid != 0 && OpMode == MD_SMTP &&
3650 (RealUid != 0 && RealUid != TrustedUid &&
H A Dsavemail.c378 if (RealUid == 0)
H A Ddaemon.c3361 (RealUid == 0 || RealUid == RunAsUid)); in restart_daemon()
H A Dutil.c617 if (TrustedUid != 0 && RealUid == TrustedUid)
H A Dsendmail.h2657 EXTERN uid_t RealUid; /* real uid of caller */ variable
/freebsd/contrib/sendmail/editmap/
H A Deditmap.c46 uid_t RealUid; variable
120 RunAsUid = RealUid = getuid();
122 pw = getpwuid(RealUid);
127 "Unknown UID %d", (int) RealUid);
/freebsd/contrib/sendmail/praliases/
H A Dpraliases.c44 uid_t RealUid; variable
75 RunAsUid = RealUid = getuid();
77 pw = getpwuid(RealUid);
86 "Unknown UID %d", (int) RealUid);
/freebsd/contrib/sendmail/makemap/
H A Dmakemap.c45 uid_t RealUid;
403 RunAsUid = RealUid = getuid();
405 pw = getpwuid(RealUid);
410 "Unknown UID %d", (int) RealUid);
/freebsd/contrib/sendmail/vacation/
H A Dvacation.c42 uid_t RealUid;
163 RunAsUid = RealUid = getuid();
165 pw = getpwuid(RealUid);
174 "Unknown UID %d", (int) RealUid);
/freebsd/contrib/sendmail/libsmutil/
H A Dsafefile.c77 if (RealUid != 0 && RunAsUid == RealUid)
723 rval = safefile(fn, RealUid, RealGid, RealUserName,