Home
last modified time | relevance | path

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

/external/openssh/
Duidswap.c55 static uid_t saved_euid = 0; variable
74 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()