Searched refs:old_uid (Results 1 – 1 of 1) sorted by relevance
144 uid_t old_uid = getuid(); in permanently_drop_suid() local153 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() local276 if (old_uid != pw->pw_uid && in permanently_set_uid()277 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()