Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/sendmail/util/
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);
H A Dmakemap.c48 uid_t TrustedUid = 0; variable
264 TrustedUid = atoi(b);
267 TrustedUid = 0;
274 TrustedUid = pw->pw_uid;
278 if (TrustedUid > UID_MAX)
283 (long) TrustedUid,
285 TrustedUid = 0;
341 if (!unmake && geteuid() == 0 && TrustedUid != 0)
343 errno = database->smdb_set_owner(database, TrustedUid, -1);
H A Dpraliases.c52 uid_t TrustedUid = 0; variable
/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 ||
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcontrol.c120 else if (TrustedUid != 0) in opencontrolsocket()
121 u = TrustedUid; in opencontrolsocket()
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 Dutil.c588 if (TrustedUid != 0 && RealUid == TrustedUid)
H A Dqueue.c4040 st.st_uid != TrustedUid &&
4127 if (st.st_uid != geteuid() && st.st_uid != TrustedUid)
6774 if (TrustedUid != 0 && RealUid == TrustedUid)
6830 if (RealUid == 0 || (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.c308 TrustedUid = 0;
H A Dsrvrsmtp.c3020 (RealUid != 0 && RealUid != TrustedUid &&