Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpstateInternal.cpp53 uid_t shell_uid = pwd != nullptr ? pwd->pw_uid : 0; in DropRootUser() local
55 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()