Home
last modified time | relevance | path

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

/system/core/init/
Dhost_init_verifier.cpp105 .pw_uid = 0, in getpwnam()
112 static_passwd.pw_uid = android_ids[n].aid; in getpwnam()
123 static_passwd.pw_uid = uid; in getpwnam()
132 static_passwd.pw_uid = oem_uid; in getpwnam()
Dueventd_parser.cpp63 uid_t uid = pwd->pw_uid; in ParsePermissionsLine()
110 ExternalFirmwareHandler handler(std::move(args[1]), pwd->pw_uid, std::move(args[3])); in ParseExternalFirmwareHandlerLine()
Dutil.cpp75 return pwd->pw_uid; in DecodeUid()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp60 uid_t pw_uid = -1; in ChangeDirModeAndOwner() local
70 pw_uid = uid_pwd->pw_uid; in ChangeDirModeAndOwner()
98 if (pw_uid != -1 && lchown(file_path.c_str(), pw_uid, gr_gid) < 0) { in ChangeDirModeAndOwner()
/system/extras/su/
Dsu.cpp32 if (uid) *uid = pw->pw_uid; in pwtoid()
/system/extras/runconuid/
Drunconuid.cpp98 return pw->pw_uid; in lookup_uid()
/system/core/adb/libs/adbconnection/
Dadbconnection_client.cpp51 if (cr.uid != 0 && cr.uid != shell->pw_uid) { in SocketPeerIsTrusted()
/system/libbase/
Dfile_test.cpp240 setuid(shell->pw_uid); in TEST()
/system/core/logcat/tests/
Dlogcat_test.cpp1767 uid = pwd->pw_uid; in SniffUid()
/system/memory/lmkd/
Dlmkd.cpp1118 params.uid == pwdrec->pw_uid); in cmd_procprio()