Searched refs:set_uid (Results 1 – 2 of 2) sorted by relevance
26 int set_uid, set_gid; /* config uid and gid */ member
357 wp->set_uid = strtoul(wp->config->user, 0, 10); in fpm_unix_conf_wp()358 pwd = getpwuid(wp->set_uid); in fpm_unix_conf_wp()371 wp->set_uid = pwd->pw_uid; in fpm_unix_conf_wp()394 if (wp->set_uid == 0 || wp->set_gid == 0) { in fpm_unix_conf_wp()483 if (wp->set_uid) { in fpm_unix_init_child()488 if (0 > setuid(wp->set_uid)) { in fpm_unix_init_child()489 zlog(ZLOG_SYSERROR, "[pool %s] failed to setuid(%d)", wp->config->name, wp->set_uid); in fpm_unix_init_child()
Completed in 14 milliseconds