Searched refs:saved_euid (Results 1 – 1 of 1) sorted by relevance
55 static uid_t saved_euid = 0; variable74 saved_euid = geteuid(); in temporarily_use_uid()78 (u_int)saved_euid, (u_int)saved_egid); in temporarily_use_uid()80 if (saved_euid != 0) { in temporarily_use_uid()190 debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); in restore_uid()192 if (seteuid(saved_euid) < 0) in restore_uid()193 fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno)); in restore_uid()