setreuid 112 ext/pty/pty.c # define seteuid(e) setreuid(-1, (e)) setreuid 3532 process.c if (setreuid(NUM2UIDT(rid),NUM2UIDT(eid)) != 0) rb_sys_fail(0); setreuid 3602 process.c if (setreuid(uid, -1) < 0) rb_sys_fail(0); setreuid 3680 process.c if (setreuid(-1, uid) < 0) rb_sys_fail(0); setreuid 3683 process.c if (setreuid(-1, SAVED_USER_ID) < 0) rb_sys_fail(0); setreuid 3684 process.c if (setreuid(SAVED_USER_ID, 0) < 0) rb_sys_fail(0); setreuid 3686 process.c if (setreuid(uid, uid) < 0) rb_sys_fail(0); setreuid 3689 process.c if (setreuid(0, -1) < 0) rb_sys_fail(0); setreuid 3691 process.c if (setreuid(uid, uid) < 0) rb_sys_fail(0); setreuid 3696 process.c if (setreuid(uid, uid) < 0) rb_sys_fail(0); setreuid 3732 process.c if (setreuid((getuid() == uid)? -1: uid, setreuid 3735 process.c if (setreuid(uid, (geteuid() == uid)? -1: uid) < 0) rb_sys_fail(0); setreuid 3738 process.c if (setreuid(geteuid(), uid) < 0) rb_sys_fail(0); setreuid 3740 process.c if (setreuid(uid, -1) < 0) rb_sys_fail(0); setreuid 3742 process.c if (setreuid(-1, SAVED_USER_ID) < 0) rb_sys_fail(0); setreuid 3743 process.c if (setreuid(SAVED_USER_ID, uid) < 0) rb_sys_fail(0); setreuid 3745 process.c if (setreuid(uid, -1) < 0) rb_sys_fail(0); setreuid 4449 process.c if (setreuid(-1, uid) < 0) rb_sys_fail(0); setreuid 4482 process.c if (setreuid(-1, euid) < 0) rb_sys_fail(0); setreuid 4484 process.c if (setreuid(euid,uid) < 0) rb_sys_fail(0); setreuid 4485 process.c if (setreuid(uid,euid) < 0) rb_sys_fail(0); setreuid 4683 process.c if (setreuid(euid,uid) < 0) rb_sys_fail(0);