Home
last modified time | relevance | path

Searched refs:pwp (Results 1 – 2 of 2) sorted by relevance

/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/trousers/files/
H A Dget-user-ps-path-use-POSIX-getpwent-instead-of-getpwe.patch16 struct passwd *pwp;
28 - rc = getpwent_r(&pw, buf, PASSWD_BUFSIZE, &pwp);
37 if ((pwp = getpwent()) == NULL) {
47 if (euid == pwp->pw_uid) {
48 home_dir = strdup(pwp->pw_dir);
/openbmc/phosphor-user-manager/
H A Duser_mgr.cpp953 struct passwd pw, *pwp = nullptr; in getUserAndSshGrpList() local
966 &pwp); in getUserAndSshGrpList()
967 if ((r != 0) || (pwp == NULL)) in getUserAndSshGrpList()
975 if ((pwp->pw_uid == 0) || in getUserAndSshGrpList()
976 ((pwp->pw_uid >= 1000) && (pwp->pw_uid < 65534))) in getUserAndSshGrpList()
979 if ((pwp->pw_uid >= 1000) && (pwp->pw_uid < 65534)) in getUserAndSshGrpList()
982 std::string userName(pwp->pw_name); in getUserAndSshGrpList()
987 std::string loginShell(pwp->pw_shell); in getUserAndSshGrpList()