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

/freebsd-10.2-release/contrib/sendmail/editmap/
H A Deditmap.c53 uid_t TrustedUid = 0; variable
235 TrustedUid = atoi(b);
238 TrustedUid = 0;
244 TrustedUid = pw->pw_uid;
248 if (TrustedUid > UID_MAX)
252 (long) TrustedUid,
254 TrustedUid = 0;
303 if (geteuid() == 0 && TrustedUid != 0)
305 errno = database->smdb_set_owner(database, TrustedUid, -1);
/freebsd-10.2-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.2-release/contrib/sendmail/src/
H A Dcontrol.c120 else if (TrustedUid != 0)
121 u = TrustedUid;
H A Dreadcf.c4043 TrustedUid = atoi(val);
4048 TrustedUid = 0;
4056 TrustedUid = pw->pw_uid;
4060 if (TrustedUid > UID_MAX)
4063 (long) TrustedUid, (long) UID_MAX);
4064 TrustedUid = 0;
H A Dqueue.c4049 st.st_uid != TrustedUid &&
4137 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.c1648 if (geteuid() == 0 && TrustedUid != 0)
1651 if (fchown(dfd, TrustedUid, -1) < 0 ||
1652 fchown(pfd, TrustedUid, -1) < 0)
2263 if (geteuid() == 0 && TrustedUid != 0)
2266 if (fchown(fd, TrustedUid, -1) < 0)
H A Dmain.c1454 RealUid != 0 && RealUid != TrustedUid && LogLevel > 1)
1507 RealUid != TrustedUid)
H A Dsendmail.h2472 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */ variable
H A Dconf.c303 TrustedUid = 0;
H A Dsrvrsmtp.c3293 (RealUid != 0 && RealUid != TrustedUid &&
/freebsd-10.2-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.2-release/contrib/sendmail/praliases/
H A Dpraliases.c52 uid_t TrustedUid = 0; variable
/freebsd-10.2-release/contrib/sendmail/vacation/
H A Dvacation.c53 uid_t TrustedUid = 0; variable

Completed in 383 milliseconds