Home
last modified time | relevance | path

Searched refs:saved_euid (Results 1 – 1 of 1) sorted by relevance

/external/openssh/
Duidswap.c50 static uid_t saved_euid = 0; variable
69 saved_euid = geteuid(); in temporarily_use_uid()
73 (u_int)saved_euid, (u_int)saved_egid); in temporarily_use_uid()
75 if (saved_euid != 0) { in temporarily_use_uid()
191 debug("restore_uid: %u/%u", (u_int)saved_euid, (u_int)saved_egid); in restore_uid()
193 if (seteuid(saved_euid) < 0) in restore_uid()
194 fatal("seteuid %u: %.100s", (u_int)saved_euid, strerror(errno)); in restore_uid()