Searched refs:setreuid (Results 1 - 6 of 6) sorted by relevance
/sendmail/test/ |
H A D | t_setreuid.c | 12 ** This program checks to see if your version of setreuid works. 30 # define setreuid(r, e) setresuid(r, e, -1) macro 64 if (setreuid(0, 1) < 0) 67 printf("setreuid(0, 1) failure\n"); 69 printuids("after setreuid(0, 1)", 0, 1); 85 if (setreuid(-1, 0) < 0) 88 printf("setreuid(-1, 0) failure\n"); 90 printuids("after setreuid(-1, 0)", 0, 0); 91 if (setreuid(realuid, 0) < 0) 94 printf("setreuid( [all...] |
/sendmail/mail.local/ |
H A D | mail.local.c | 119 ** If you don't have setreuid, and you have saved uids, and you have 125 # define setreuid(r, e) seteuid(e) macro 1196 if (setreuid(0, user.mbdb_uid) < 0) 1198 mailerr("450 4.2.0", "setreuid(0, %d): %s (r=%d, e=%d)", 1349 err0: (void) setreuid(0, 0); 1408 if (setreuid(0, 0) < 0) 1410 mailerr("450 4.2.0", "setreuid(0, 0): %s",
|
/sendmail/sendmail/ |
H A D | recipient.c | 1551 if (setreuid(0, uid) < 0) 1554 syserr("setreuid(0, %d) failure (real=%d, eff=%d)", 1689 if (setreuid(-1, 0) < 0) 1690 syserr("!setreuid(-1, 0) failure (real=%d, eff=%d)", 1692 if (setreuid(RealUid, 0) < 0) 1693 syserr("!setreuid(%d, 0) failure (real=%d, eff=%d)",
|
H A D | main.c | 1281 if (setreuid(new_uid, geteuid()) < 0) 1283 syserr("main: setreuid(%d, %d) failed", 3818 if (setreuid(RunAsUid, -1) < 0) 3820 syserr("drop_privileges: setreuid(%d, -1) failed",
|
H A D | deliver.c | 2580 if (setreuid(RealUid, geteuid()) < 0) 2582 syserr("openmailer: setreuid(%d, %d) failed", 2637 if (setreuid(new_ruid, new_euid) < 0 && suidwarn) 2639 syserr("openmailer: setreuid(%ld, %ld) failed",
|
/sendmail/include/sm/ |
H A D | conf.h | 112 # define HASSETREUID 1 /* setreuid(2) works on HP-UX 11.x */ 188 # define HASSETREUID 1 /* setreuid(2) works as of AIX 4.2 */ 250 # define HASSETREUID 1 /* use setreuid(2) -lbsd system call */ 300 # define HASSETREUID 1 /* has setreuid(2) call */ 417 # define HASSETREUID 1 /* setreuid works as of 2.5 */ 480 # define HASSETREUID 1 /* has setreuid(2) call */ 541 # define HASSETREUID 1 /* has setreuid(2) call */ 577 # define HASSETREUID 1 /* has setreuid(2) call */ 760 # define HASSETREUID 0 /* setreuid(2) unusable */ 834 # define HASSETREUID 0 /* BSD-OS has broken setreuid( 2057 # define setreuid macro [all...] |
Completed in 159 milliseconds