Searched refs:shell_uid (Results 1 – 1 of 1) sorted by relevance
53 uid_t shell_uid = pwd != nullptr ? pwd->pw_uid : 0; in DropRootUser() local55 if (!shell_gid || !shell_uid) { in DropRootUser()60 if (getgid() == shell_gid && getuid() == shell_uid) { in DropRootUser()92 if (setuid(shell_uid) != 0) { in DropRootUser()