Home
last modified time | relevance | path

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

/external/openssh/
Duidswap.c144 uid_t old_uid = getuid(); in permanently_drop_suid() local
153 if (old_uid != uid && in permanently_drop_suid()
154 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_drop_suid()
209 uid_t old_uid = getuid(); in permanently_set_uid() local
276 if (old_uid != pw->pw_uid && in permanently_set_uid()
277 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()