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

/freebsd-10.0-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-10.0-release/contrib/sendmail/makemap/
H A Dmakemap.c49 uid_t TrustedUid = 0; variable
265 TrustedUid = atoi(b);
268 TrustedUid = 0;
275 TrustedUid = pw->pw_uid;
279 if (TrustedUid > UID_MAX)
284 (long) TrustedUid,
286 TrustedUid = 0;
342 if (!unmake && geteuid() == 0 && TrustedUid != 0)
344 errno = database->smdb_set_owner(database, TrustedUid, -1);
/freebsd-10.0-release/contrib/sendmail/src/
H A Dcontrol.c120 else if (TrustedUid != 0)
121 u = TrustedUid;
H A Dreadcf.c3516 TrustedUid = atoi(val);
3521 TrustedUid = 0;
3529 TrustedUid = pw->pw_uid;
3533 if (TrustedUid > UID_MAX)
3536 (long) TrustedUid, (long) UID_MAX);
3537 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.c1443 RealUid != 0 && RealUid != TrustedUid && LogLevel > 1)
1496 RealUid != TrustedUid)
H A Dsendmail.h2418 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-10.0-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-10.0-release/contrib/sendmail/praliases/
H A Dpraliases.c52 uid_t TrustedUid = 0; variable
/freebsd-10.0-release/contrib/sendmail/vacation/
H A Dvacation.c53 uid_t TrustedUid = 0; variable

Completed in 180 milliseconds