Searched refs:pw_uid (Results 1 – 10 of 10) sorted by relevance
105 .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()
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()
75 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()
32 if (uid) *uid = pw->pw_uid; in pwtoid()
98 return pw->pw_uid; in lookup_uid()
51 if (cr.uid != 0 && cr.uid != shell->pw_uid) { in SocketPeerIsTrusted()
240 setuid(shell->pw_uid); in TEST()
1767 uid = pwd->pw_uid; in SniffUid()
1118 params.uid == pwdrec->pw_uid); in cmd_procprio()