Searched refs:pw_uid (Results 1 – 9 of 9) sorted by relevance
107 .pw_uid = 0, in getpwnam()114 static_passwd.pw_uid = android_ids[n].aid; in getpwnam()125 static_passwd.pw_uid = uid; in getpwnam()134 static_passwd.pw_uid = oem_uid; in getpwnam()
63 uid_t uid = pwd->pw_uid; in ParsePermissionsLine()110 ExternalFirmwareHandler handler(std::move(args[1]), pwd->pw_uid, std::move(args[3])); in ParseExternalFirmwareHandlerLine()
73 return pwd->pw_uid; in DecodeUid()
60 uid_t pw_uid = -1; in ChangeDirModeAndOwner() local70 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()
49 if (cr.uid != 0 && cr.uid != shell->pw_uid) { in SocketPeerIsTrusted()
32 if (uid) *uid = pw->pw_uid; in pwtoid()
98 return pw->pw_uid; in lookup_uid()
240 setuid(shell->pw_uid); in TEST()
1129 params.uid == pwdrec->pw_uid); in cmd_procprio()