Home
last modified time | relevance | path

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

/civetweb-2.7.6/src/
Dcivetweb.c14998 const struct passwd *to_pw = NULL; local
15000 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) {