Searched refs:TrustedUid (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/cmd/sendmail/util/ |
H A D | editmap.c | 53 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 D | makemap.c | 48 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 D | praliases.c | 52 uid_t TrustedUid = 0; variable
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 105 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 D | control.c | 120 else if (TrustedUid != 0) in opencontrolsocket() 121 u = TrustedUid; in opencontrolsocket()
|
H A D | readcf.c | 3477 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 D | util.c | 588 if (TrustedUid != 0 && RealUid == TrustedUid)
|
H A D | queue.c | 4040 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 D | map.c | 1639 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 D | main.c | 1446 RealUid != 0 && RealUid != TrustedUid && LogLevel > 1) 1499 RealUid != TrustedUid)
|
H A D | sendmail.h | 2323 EXTERN uid_t TrustedUid; /* uid of trusted user for files and startup */ variable
|
H A D | conf.c | 308 TrustedUid = 0;
|
H A D | srvrsmtp.c | 3020 (RealUid != 0 && RealUid != TrustedUid &&
|