Searched refs:geteuid (Results 1 - 22 of 22) sorted by relevance
/sendmail/test/ |
H A D | t_setuid.c | 37 (int) getuid(), (int) geteuid()); 50 if (geteuid() != 0) 66 if (geteuid() != 1) 91 if (geteuid() != 1)
|
H A D | t_seteuid.c | 42 (int) getuid(), (int) geteuid()); 55 if (geteuid() != 0) 71 if (geteuid() != 1) 86 if (geteuid() != 0) 105 if (geteuid() != 2) 120 if (geteuid() != 0)
|
H A D | t_setreuid.c | 39 (int) getuid(), (int) geteuid()); 52 if (geteuid() != 0) 77 if (geteuid() != 1) 98 if (geteuid() != 0) 117 if (geteuid() != 2) 144 if (geteuid() != 0)
|
H A D | t_pathconf.c | 42 if (geteuid() == 0)
|
/sendmail/sendmail/ |
H A D | recipient.c | 1314 if (geteuid() != 0) 1316 euid = geteuid(); 1364 if (geteuid() == 0 && 1450 (int) getuid(), (int) geteuid()); 1459 (int) getuid(), (int) geteuid()); 1482 if ((geteuid() != 0 || RunAsUid != 0) && 1487 (int) geteuid(), (int) RunAsUid); 1506 saveduid = geteuid(); 1546 uid, (int) getuid(), (int) geteuid()); 1555 uid, (int) getuid(), (int) geteuid()); [all...] |
H A D | main.c | 244 (geteuid() != getuid() || getegid() != getgid())); 562 if (RealUid != 0 && geteuid() == RealUid) 569 else if (geteuid() != 0) 570 RunAsUid = geteuid(); 579 (int) geteuid(), (int) getuid(), 1265 if (RealUid != 0 && RealUid != geteuid()) 1267 uid_t new_uid = geteuid(); 1281 if (setreuid(new_uid, geteuid()) < 0) 1284 (int) new_uid, (int) geteuid()); 1290 (int) geteuid(), (in [all...] |
H A D | control.c | 114 if (geteuid() == 0)
|
H A D | queue.c | 408 tf, (int) geteuid(), tfd, tfp); 431 tf, (int) geteuid(), 477 tf, (int) geteuid()); 522 queuename(e, DATAFL_LETTER), (int) geteuid()); 564 df, (int) geteuid()); 599 df, (int) geteuid()); 892 tf, qf, (int) geteuid()); 2014 if (geteuid() == (uid_t) 0) 4053 bogus = st.st_uid != geteuid() && 4055 geteuid() ! [all...] |
H A D | deliver.c | 1342 suidwarn = geteuid() == 0; 2580 if (setreuid(RealUid, geteuid()) < 0) 2583 (int) RealUid, (int) geteuid()); 2645 if (new_euid != geteuid() && setuid(new_euid) < 0 && suidwarn) 2666 (int) getuid(), (int) geteuid(), 5117 bool suidwarn = geteuid() == 0; 5478 (int) getuid(), (int) geteuid(),
|
H A D | collect.c | 1030 dfname, msg, (int) geteuid(), (int) getegid());
|
H A D | util.c | 2127 if (setgid(DefGid) < 0 && geteuid() == 0) 2132 if (setuid(DefUid) < 0 && geteuid() == 0)
|
H A D | conf.c | 286 FileMode = (RealUid != geteuid()) ? 0644 : 0600; 288 QueueFileMode = (RealUid != geteuid()) ? 0644 : 0600; 3601 uid_t euid = geteuid(); 3631 uid_t euid = geteuid();
|
H A D | envelope.c | 582 (int) geteuid());
|
H A D | map.c | 1634 if (geteuid() == 0 && TrustedUid != 0) 2249 if (geteuid() == 0 && TrustedUid != 0)
|
/sendmail/libsm/ |
H A D | mpeix.c | 366 ** gid/uid management functions getegid(), geteuid(), setgid(), and 521 ** SENDMAIL_MPE_GETEUID -- shadow function for geteuid() 524 ** return the value of the real geteuid() function. 538 #undef geteuid macro 544 return geteuid();
|
/sendmail/libsmdb/ |
H A D | smdb.c | 126 int euid = (int) geteuid(); 146 int euid = (int) geteuid();
|
/sendmail/makemap/ |
H A D | makemap.c | 237 if (!unmake && geteuid() == 0) 346 if (!unmake && geteuid() == 0 && TrustedUid != 0)
|
/sendmail/mail.local/ |
H A D | mail.local.c | 1200 (int) getuid(), (int) geteuid()); 1204 fprintf(stderr, "new euid = %d\n", (int) geteuid()); 1287 fprintf(stderr, "before writing: euid = %d\n", (int) geteuid()); 1343 fprintf(stderr, "reset euid = %d\n", (int) geteuid()); 1415 fprintf(stderr, "reset euid = %d\n", (int) geteuid());
|
/sendmail/editmap/ |
H A D | editmap.c | 308 if (geteuid() == 0 && TrustedUid != 0)
|
/sendmail/libmilter/ |
H A D | listener.c | 605 geteuid() != 0 &&
|
/sendmail/libsmutil/ |
H A D | safefile.c | 632 if (geteuid() != 0 || bitset(SFF_OPENASROOT, flags))
|
/sendmail/include/sm/ |
H A D | conf.h | 1881 # define geteuid sendmail_mpe_geteuid macro
|
Completed in 3579 milliseconds