Lines Matching refs:prev_suid
28 static uid_t prev_ruid, prev_euid, prev_suid, nobody_uid; variable
45 if (ruid != prev_ruid || euid != prev_euid || suid != prev_suid) in check_prev_uid()
48 ruid, euid, suid, prev_ruid, prev_euid, prev_suid); in check_prev_uid()
126 if (action == SET && setuid (prev_suid) < 0) in test_setuid2()
141 if (ruid != nobody_uid || euid != prev_suid || suid != prev_suid) in test_setuid2()
144 ruid, euid, suid, nobody_uid, prev_suid, prev_suid); in test_setuid2()
175 if (ruid != prev_ruid || euid != nobody_uid || suid != prev_suid) in test_seteuid1()
178 ruid, euid, suid, prev_ruid, nobody_uid, prev_suid); in test_seteuid1()
198 nobody_uid = prev_suid; in test_seteuid2()
233 esuid = prev_suid; in test_setreuid1()
326 nobody_uid = prev_suid; in test_setreuid4()
358 if (ruid != prev_ruid || euid != nobody_uid || suid != prev_suid) in test_setresuid1()
361 ruid, euid, suid, prev_ruid, nobody_uid, prev_suid); in test_setresuid1()
449 nobody_uid = prev_suid; in test_setresuid4()
1037 if (getresuid (&prev_ruid, &prev_euid, &prev_suid) < 0) in do_test()
1050 || prev_suid == nobody_uid) in do_test()