Searched refs:RealUid (Results 1 – 18 of 18) sorted by relevance
/freebsd/contrib/sendmail/src/ |
H A D | main.c | 255 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 D | deliver.c | 3293 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 D | err.c | 204 pw = sm_getpwuid(RealUid); 210 (void) sm_snprintf(ubuf, sizeof(ubuf), "UID%d", (int) RealUid);
|
H A D | recipient.c | 1347 euid = RealUid; 1710 if (setreuid(RealUid, 0) < 0) 1712 (long) RealUid, (long) getuid(),
|
H A D | readcf.c | 1224 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 D | conf.c | 295 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 D | envelope.c | 1172 e->e_from.q_uid = RealUid;
|
H A D | queue.c | 4140 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 D | srvrsmtp.c | 2989 if (RealUid != 0 && OpMode == MD_SMTP && 3650 (RealUid != 0 && RealUid != TrustedUid &&
|
H A D | savemail.c | 378 if (RealUid == 0)
|
H A D | daemon.c | 3361 (RealUid == 0 || RealUid == RunAsUid)); in restart_daemon()
|
H A D | util.c | 617 if (TrustedUid != 0 && RealUid == TrustedUid)
|
H A D | sendmail.h | 2657 EXTERN uid_t RealUid; /* real uid of caller */ variable
|
/freebsd/contrib/sendmail/editmap/ |
H A D | editmap.c | 46 uid_t RealUid; variable 120 RunAsUid = RealUid = getuid(); 122 pw = getpwuid(RealUid); 127 "Unknown UID %d", (int) RealUid);
|
/freebsd/contrib/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);
|
/freebsd/contrib/sendmail/makemap/ |
H A D | makemap.c | 45 uid_t RealUid; 403 RunAsUid = RealUid = getuid(); 405 pw = getpwuid(RealUid); 410 "Unknown UID %d", (int) RealUid);
|
/freebsd/contrib/sendmail/vacation/ |
H A D | vacation.c | 42 uid_t RealUid; 163 RunAsUid = RealUid = getuid(); 165 pw = getpwuid(RealUid); 174 "Unknown UID %d", (int) RealUid);
|
/freebsd/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 77 if (RealUid != 0 && RunAsUid == RealUid) 723 rval = safefile(fn, RealUid, RealGid, RealUserName,
|