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

/illumos-gate/usr/src/cmd/sendmail/aux/
H A Deditmap.c55 uid_t TrustedUid = 0; variable
242 TrustedUid = atoi(b);
245 TrustedUid = 0;
251 TrustedUid = pw->pw_uid;
255 if (TrustedUid > UID_MAX)
259 (long) TrustedUid,
261 TrustedUid = 0;
310 if (geteuid() == 0 && TrustedUid != 0)
312 errno = database->smdb_set_owner(database, TrustedUid, -1);
H A Dmakemap.c51 uid_t TrustedUid = 0; variable
267 TrustedUid = atoi(b);
270 TrustedUid = 0;
277 TrustedUid = pw->pw_uid;
281 if (TrustedUid > UID_MAX)
286 (long) TrustedUid,
288 TrustedUid = 0;
344 if (!unmake && geteuid() == 0 && TrustedUid != 0)
346 errno = database->smdb_set_owner(database, TrustedUid, -1);
H A Dpraliases.c52 uid_t TrustedUid = 0; variable
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcontrol.c122 else if (TrustedUid != 0)
123 u = TrustedUid;
H A Dreadcf.c3477 TrustedUid = atoi(val);
3482 TrustedUid = 0;
3490 TrustedUid = pw->pw_uid;
3494 if (TrustedUid > UID_MAX)
3497 (long) TrustedUid, (long) UID_MAX);
3498 TrustedUid = 0;
H A Dqueue.c4040 st.st_uid != TrustedUid &&
4127 if (st.st_uid != geteuid() && st.st_uid != TrustedUid)
6773 if (TrustedUid != 0 && RealUid == TrustedUid)
6829 if (RealUid == 0 || (TrustedUid != 0 && RealUid == TrustedUid))
H A Dutil.c588 if (TrustedUid != 0 && RealUid == TrustedUid)
H A Dmap.c1639 if (geteuid() == 0 && TrustedUid != 0)
1642 if (fchown(dfd, TrustedUid, -1) < 0 ||
1643 fchown(pfd, TrustedUid, -1) < 0)
2254 if (geteuid() == 0 && TrustedUid != 0)
2257 if (fchown(fd, TrustedUid, -1) < 0)
H A Dmain.c1446 RealUid != 0 && RealUid != TrustedUid && LogLevel > 1)
1499 RealUid != TrustedUid)
H A Dsendmail.h2323 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */ variable
H A Dconf.c307 TrustedUid = 0;
H A Dsrvrsmtp.c3020 (RealUid != 0 && RealUid != TrustedUid &&
/illumos-gate/usr/src/cmd/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 ||

Completed in 191 milliseconds