Searched refs:PasswdEntry (Results 1 – 1 of 1) sorted by relevance
65 struct PasswdEntry { struct70 static std::optional<PasswdEntry> GetPassword(id_t uid) { in GetPassword() argument77 return PasswdEntry{user_info_ptr->pw_name, user_info_ptr->pw_shell}; in GetPassword()86 return PasswdEntry{user_info_ptr->pw_name, user_info_ptr->pw_shell}; in GetPassword()93 if (std::optional<PasswdEntry> password = GetPassword(uid)) in DoGetUserName()137 if (std::optional<PasswdEntry> password = GetPassword(::geteuid())) in GetDefaultShell()