Searched refs:old_uid (Results 1 – 4 of 4) sorted by relevance
43 uid_t old_uid; in main() local67 old_uid = stat_buf.st_uid; in main()113 if (stat_buf.st_uid == old_uid && stat_buf.st_gid == old_gid) { in main()118 if (stat_buf.st_uid != old_uid) in main()
80 int setup_euid(char *uname, uid_t * old_uid) in setup_euid() argument85 *old_uid = geteuid(); in setup_euid()99 int cleanup_euid(uid_t old_uid) in cleanup_euid() argument103 rc = seteuid(old_uid); in cleanup_euid()
126 int setup_euid(char *uname, uid_t *old_uid);127 int cleanup_euid(uid_t old_uid);
199 uid_t old_uid = getuid(); in permanently_set_uid() local266 if (old_uid != pw->pw_uid && in permanently_set_uid()267 (setuid(old_uid) != -1 || seteuid(old_uid) != -1)) in permanently_set_uid()