setreuid 55 ext/pty/pty.c # define seteuid(e) setreuid(-1, (e)) setreuid 137 process.c int setreuid(rb_uid_t ruid, rb_uid_t euid); setreuid 5278 process.c if (setreuid(ruid, euid) != 0) rb_sys_fail(0); setreuid 5355 process.c if (setreuid(uid, -1) < 0) rb_sys_fail(0); setreuid 5434 process.c if (setreuid(-1, uid) < 0) rb_sys_fail(0); setreuid 5438 process.c if (setreuid(-1, SAVED_USER_ID) < 0) rb_sys_fail(0); setreuid 5439 process.c if (setreuid(SAVED_USER_ID, 0) < 0) rb_sys_fail(0); setreuid 5441 process.c if (setreuid(uid, uid) < 0) rb_sys_fail(0); setreuid 5445 process.c if (setreuid(0, -1) < 0) rb_sys_fail(0); setreuid 5447 process.c if (setreuid(uid, uid) < 0) rb_sys_fail(0); setreuid 5453 process.c if (setreuid(uid, uid) < 0) rb_sys_fail(0); setreuid 5494 process.c if (setreuid((getuid() == uid)? (rb_uid_t)-1: uid, setreuid 5499 process.c if (setreuid(uid, (geteuid() == uid)? (rb_uid_t)-1: uid) < 0) setreuid 5504 process.c if (setreuid(geteuid(), uid) < 0) rb_sys_fail(0); setreuid 5506 process.c if (setreuid(uid, -1) < 0) rb_sys_fail(0); setreuid 5509 process.c if (setreuid(-1, SAVED_USER_ID) < 0) rb_sys_fail(0); setreuid 5510 process.c if (setreuid(SAVED_USER_ID, uid) < 0) rb_sys_fail(0); setreuid 5512 process.c if (setreuid(uid, -1) < 0) rb_sys_fail(0); setreuid 6300 process.c if (setreuid(-1, uid) < 0) rb_sys_fail(0); setreuid 6358 process.c if (setreuid(-1, euid) < 0) rb_sys_fail(0); setreuid 6360 process.c if (setreuid(euid,uid) < 0) rb_sys_fail(0); setreuid 6361 process.c if (setreuid(uid,euid) < 0) rb_sys_fail(0); setreuid 6581 process.c if (setreuid(euid,uid) < 0) rb_sys_fail(0);