Searched refs:to_pw (Results 1 – 1 of 1) sorted by relevance
14998 const struct passwd *to_pw = NULL; local15000 if (run_as_user != NULL && (to_pw = getpwnam(run_as_user)) == NULL) {15007 } else if (run_as_user == NULL || curr_uid == to_pw->pw_uid) {15014 if (setgid(to_pw->pw_gid) == -1) {15025 } else if (setuid(to_pw->pw_uid) == -1) {