Home
last modified time | relevance | path

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

/system/core/init/
Dhost_init_verifier.cpp112 .pw_uid = 0, in getpwnam()
119 static_passwd.pw_uid = android_ids[n].aid; in getpwnam()
130 static_passwd.pw_uid = uid; in getpwnam()
139 static_passwd.pw_uid = oem_uid; in getpwnam()
Dueventd_parser.cpp64 uid_t uid = pwd->pw_uid; in ParsePermissionsLine()
120 ExternalFirmwareHandler handler(std::move(args[1]), pwd->pw_uid, std::move(args[3])); in ParseExternalFirmwareHandlerLine()
Dutil.cpp73 return pwd->pw_uid; in DecodeUid()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp62 uid_t pw_uid = -1; in ChangeDirModeAndOwner() local
72 pw_uid = uid_pwd->pw_uid; in ChangeDirModeAndOwner()
100 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/libbase/
Dfile_test.cpp240 setuid(shell->pw_uid); in TEST()
/system/logging/logcat/tests/
Dlogcat_test.cpp1706 uid = pwd->pw_uid; in SniffUid()
/system/memory/lmkd/
Dlmkd.cpp1179 params.uid == pwdrec->pw_uid); in cmd_procprio()