Searched refs:RealUid (Results 1 – 17 of 17) sorted by relevance
/titanic_50/usr/src/cmd/sendmail/src/ |
H A D | main.c | 243 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 D | deliver.c | 2568 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 D | err.c | 207 pw = sm_getpwuid(RealUid); 213 (void) sm_snprintf(ubuf, sizeof(ubuf), "UID%d", (int) RealUid);
|
H A D | recipient.c | 1330 euid = RealUid; 1694 if (setreuid(RealUid, 0) < 0) 1696 (int) RealUid, (int) getuid(),
|
H A D | readcf.c | 1122 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 D | conf.c | 288 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 D | queue.c | 4041 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 D | envelope.c | 1158 e->e_from.q_uid = RealUid;
|
H A D | srvrsmtp.c | 2409 if (RealUid != 0 && OpMode == MD_SMTP && 3020 (RealUid != 0 && RealUid != TrustedUid &&
|
H A D | savemail.c | 376 if (RealUid == 0)
|
H A D | daemon.c | 3141 (RealUid == 0 || RealUid == RunAsUid)); in restart_daemon()
|
H A D | util.c | 588 if (TrustedUid != 0 && RealUid == TrustedUid)
|
H A D | sendmail.h | 2321 EXTERN uid_t RealUid; /* real uid of caller */ variable
|
/titanic_50/usr/src/cmd/sendmail/aux/ |
H A D | editmap.c | 47 uid_t RealUid; variable 122 RunAsUid = RealUid = getuid(); 124 pw = getpwuid(RealUid); 129 "Unknown UID %d", (int) RealUid);
|
H A D | praliases.c | 44 uid_t RealUid; variable 75 RunAsUid = RealUid = getuid(); 77 pw = getpwuid(RealUid); 86 "Unknown UID %d", (int) RealUid);
|
H A D | makemap.c | 43 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 D | safefile.c | 78 if (RealUid != 0 && RunAsUid == RealUid) 724 rval = safefile(fn, RealUid, RealGid, RealUserName,
|