Searched refs:TrustedUid (Results 1 - 14 of 14) sorted by relevance

/freebsd-9.3-release/contrib/sendmail/editmap/
H A Deditmap.c53 uid_t TrustedUid = 0; variable
240 TrustedUid = atoi(b);
243 TrustedUid = 0;
249 TrustedUid = pw->pw_uid;
253 if (TrustedUid > UID_MAX)
257 (long) TrustedUid,
259 TrustedUid = 0;
308 if (geteuid() == 0 && TrustedUid != 0)
310 errno = database->smdb_set_owner(database, TrustedUid, -1);
/freebsd-9.3-release/contrib/sendmail/makemap/
H A Dmakemap.c49 uid_t TrustedUid = 0; variable
268 TrustedUid = atoi(b);
271 TrustedUid = 0;
278 TrustedUid = pw->pw_uid;
282 if (TrustedUid > UID_MAX)
287 (long) TrustedUid,
289 TrustedUid = 0;
346 if (!unmake && geteuid() == 0 && TrustedUid != 0)
348 errno = database->smdb_set_owner(database, TrustedUid, -1);
/freebsd-9.3-release/contrib/sendmail/src/
H A Dcontrol.c120 else if (TrustedUid != 0)
121 u = TrustedUid;
H A Dreadcf.c3537 TrustedUid = atoi(val);
3542 TrustedUid = 0;
3550 TrustedUid = pw->pw_uid;
3554 if (TrustedUid > UID_MAX)
3557 (long) TrustedUid, (long) UID_MAX);
3558 TrustedUid = 0;
H A Dqueue.c4054 st.st_uid != TrustedUid &&
4141 if (st.st_uid != geteuid() && st.st_uid != TrustedUid)
6797 if (TrustedUid != 0 && RealUid == TrustedUid)
6853 if (RealUid == 0 || (TrustedUid != 0 && RealUid == TrustedUid))
H A Dutil.c588 if (TrustedUid != 0 && RealUid == TrustedUid)
H A Dmap.c1634 if (geteuid() == 0 && TrustedUid != 0)
1637 if (fchown(dfd, TrustedUid, -1) < 0 ||
1638 fchown(pfd, TrustedUid, -1) < 0)
2249 if (geteuid() == 0 && TrustedUid != 0)
2252 if (fchown(fd, TrustedUid, -1) < 0)
H A Dmain.c1445 RealUid != 0 && RealUid != TrustedUid && LogLevel > 1)
1498 RealUid != TrustedUid)
H A Dsendmail.h2419 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */ variable
H A Dconf.c305 TrustedUid = 0;
H A Dsrvrsmtp.c3031 (RealUid != 0 && RealUid != TrustedUid &&
/freebsd-9.3-release/contrib/sendmail/libsmutil/
H A Dsafefile.c105 st->st_uid != TrustedUid)
213 else if (uid == 0 && stbuf.st_uid == TrustedUid)
327 else if (uid == 0 && st->st_uid == TrustedUid)
358 st->st_uid == TrustedUid ||
/freebsd-9.3-release/contrib/sendmail/praliases/
H A Dpraliases.c52 uid_t TrustedUid = 0; variable
/freebsd-9.3-release/contrib/sendmail/vacation/
H A Dvacation.c53 uid_t TrustedUid = 0; variable

Completed in 274 milliseconds