Home
last modified time | relevance | path

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

/freebsd/contrib/sendmail/editmap/
H A Deditmap.c54 uid_t TrustedUid = 0; variable
236 TrustedUid = atoi(b);
239 TrustedUid = 0;
245 TrustedUid = pw->pw_uid;
249 if (TrustedUid > UID_MAX)
253 (long) TrustedUid,
255 TrustedUid = 0;
304 if (geteuid() == 0 && TrustedUid != 0)
306 errno = database->smdb_set_owner(database, TrustedUid, -1);
/freebsd/contrib/sendmail/makemap/
H A Dmakemap.c53 uid_t TrustedUid = 0; variable
230 TrustedUid = atoi(b);
235 TrustedUid = 0;
242 TrustedUid = pw->pw_uid;
246 if (TrustedUid > UID_MAX)
251 (long) TrustedUid,
253 TrustedUid = 0;
640 if (!unmake && geteuid() == 0 && TrustedUid != 0)
642 errno = database->smdb_set_owner(database, TrustedUid, -1);
/freebsd/contrib/sendmail/libsmutil/
H A Dsafefile.c104 st->st_uid != TrustedUid)
212 else if (uid == 0 && stbuf.st_uid == TrustedUid)
326 else if (uid == 0 && st->st_uid == TrustedUid)
357 st->st_uid == TrustedUid ||
/freebsd/contrib/sendmail/src/
H A Dcontrol.c119 else if (TrustedUid != 0) in opencontrolsocket()
120 u = TrustedUid; in opencontrolsocket()
H A Dreadcf.c4363 TrustedUid = atoi(val);
4368 TrustedUid = 0;
4376 TrustedUid = pw->pw_uid;
4380 if (TrustedUid > UID_MAX)
4383 (long) TrustedUid, (long) UID_MAX);
4384 TrustedUid = 0;
H A Dutil.c617 if (TrustedUid != 0 && RealUid == TrustedUid)
H A Dqueue.c4139 st.st_uid != TrustedUid &&
4227 if (st.st_uid != geteuid() && st.st_uid != TrustedUid)
7033 if (TrustedUid != 0 && RealUid == TrustedUid)
7089 if (RealUid == 0 || (TrustedUid != 0 && RealUid == TrustedUid))
H A Dmain.c1500 RealUid != 0 && RealUid != TrustedUid && LogLevel > 1)
1553 RealUid != TrustedUid)
H A Dmap.c656 if (!(geteuid() == 0 && TrustedUid != 0))
659 if (fchown(fd0, TrustedUid, -1) < 0 ||
660 (fd1 >= 0 && fchown(fd1, TrustedUid, -1) < 0))
H A Dsendmail.h2659 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */ variable
H A Dconf.c314 TrustedUid = 0;
H A Dsrvrsmtp.c3650 (RealUid != 0 && RealUid != TrustedUid &&
/freebsd/contrib/sendmail/praliases/
H A Dpraliases.c52 uid_t TrustedUid = 0; variable
/freebsd/contrib/sendmail/vacation/
H A Dvacation.c50 uid_t TrustedUid = 0; variable