Searched refs:pwd (Results 1 – 2 of 2) sorted by relevance
36 int getpwnam_r(const char *name __UNUSED, struct passwd *pwd __UNUSED, in getpwnam_r()42 int getpwuid_r(uid_t uid __UNUSED, passwd* pwd __UNUSED, char *buf __UNUSED, in getpwuid_r()
153 struct passwd* pwd = ::getpwnam(user); in changeUser() local154 if (pwd == nullptr) { in changeUser()159 if (::setuid(pwd->pw_uid) != 0) { in changeUser()