Searched defs:pw (Results 1 - 2 of 2) sorted by relevance

/bind-9.6-ESV-R11/bin/rndc/unix/
H A Dos.c36 struct passwd *pw; local
38 pw = getpwnam(user);
39 if (pw == NULL) {
43 return (fchown(fileno(fd), pw->pw_uid, -1));
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Duser.cpp67 const struct passwd* pw = ::getpwnam(user.c_str()); local
68 if (pw == NULL)
70 return std::make_pair(pw->pw_uid, pw->pw_gid);

Completed in 44 milliseconds