Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sendmail/src/
H A Dmain.c243 RealUid = getuid();
247 extraprivs = (RealUid != 0 &&
542 pw = sm_getpwuid(RealUid);
547 (int) RealUid);
563 if (RealUid != 0 && geteuid() == RealUid)
567 (int) RealUid);
568 RunAsUid = RealUid;
574 if (RealUid != 0 && EffGid == RealGid)
842 if (RealUid != 0)
1266 if (RealUid != 0 && RealUid != geteuid())
[all …]
H A Ddeliver.c2568 if (RealUid != 0 && RealUid != getuid())
2572 if (setreuid(RealUid, geteuid()) < 0)
2575 (int) RealUid, (int) geteuid());
2581 new_ruid = RealUid;
5316 RealUid = RunAsUid;
5318 RealUid = mailer->m_uid;
5319 if (RunAsUid != 0 && RealUid != RunAsUid)
5323 (int) RunAsUid, (int) RealUid);
5330 RealUid = stb.st_uid;
5338 RealUid = ctladdr->q_uid;
[all …]
H A Derr.c207 pw = sm_getpwuid(RealUid);
213 (void) sm_snprintf(ubuf, sizeof(ubuf), "UID%d", (int) RealUid);
H A Drecipient.c1330 euid = RealUid;
1694 if (setreuid(RealUid, 0) < 0)
1696 (int) RealUid, (int) getuid(),
H A Dreadcf.c1122 else if (RealUid == 0)
2512 if (!safe && RealUid == 0)
2877 if (RealUid != 0 && !safe)
3568 if (!bitset(SUBMIT_MSA, SubmitMode) && RealUid != 0 &&
3569 RunAsUid != RealUid)
H A Dconf.c288 FileMode = (RealUid != geteuid()) ? 0644 : 0600;
290 QueueFileMode = (RealUid != geteuid()) ? 0644 : 0600;
1123 pw = sm_getpwuid(RealUid); in username()
1129 uid_t uid = RealUid; in username()
H A Dqueue.c4041 geteuid() != RealUid;
4821 if (bitset(PRIV_RESTRICTMAILQ, PrivacyFlags) && RealUid != 0)
6773 if (TrustedUid != 0 && RealUid == TrustedUid)
6829 if (RealUid == 0 || (TrustedUid != 0 && RealUid == TrustedUid))
H A Denvelope.c1158 e->e_from.q_uid = RealUid;
H A Dsrvrsmtp.c2409 if (RealUid != 0 && OpMode == MD_SMTP &&
3020 (RealUid != 0 && RealUid != TrustedUid &&
H A Dsavemail.c376 if (RealUid == 0)
H A Ddaemon.c3141 (RealUid == 0 || RealUid == RunAsUid)); in restart_daemon()
H A Dutil.c588 if (TrustedUid != 0 && RealUid == TrustedUid)
H A Dsendmail.h2321 EXTERN uid_t RealUid; /* real uid of caller */ variable
/titanic_50/usr/src/cmd/sendmail/aux/
H A Deditmap.c47 uid_t RealUid; variable
122 RunAsUid = RealUid = getuid();
124 pw = getpwuid(RealUid);
129 "Unknown UID %d", (int) RealUid);
H A Dpraliases.c44 uid_t RealUid; variable
75 RunAsUid = RealUid = getuid();
77 pw = getpwuid(RealUid);
86 "Unknown UID %d", (int) RealUid);
H A Dmakemap.c43 uid_t RealUid;
127 RunAsUid = RealUid = getuid();
129 pw = getpwuid(RealUid);
134 "Unknown UID %d", (int) RealUid);
/titanic_50/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c78 if (RealUid != 0 && RunAsUid == RealUid)
724 rval = safefile(fn, RealUid, RealGid, RealUserName,