Searched refs:set_gid (Results 1 – 2 of 2) sorted by relevance
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 94 wp->set_gid = pwd->pw_gid; in fpm_unix_conf_wp() 103 wp->set_gid = strtoul(wp->config->group, 0, 10); in fpm_unix_conf_wp() 112 wp->set_gid = grp->gr_gid; in fpm_unix_conf_wp() 117 if (wp->set_uid == 0 || wp->set_gid == 0) { in fpm_unix_conf_wp() 198 if (wp->set_gid) { in fpm_unix_init_child() 199 if (0 > setgid(wp->set_gid)) { in fpm_unix_init_child() 200 zlog(ZLOG_SYSERROR, "[pool %s] failed to setgid(%d)", wp->config->name, wp->set_gid); in fpm_unix_init_child() 205 if (0 > initgroups(wp->config->user, wp->set_gid)) { in fpm_unix_init_child() 206 …SERROR, "[pool %s] failed to initgroups(%s, %d)", wp->config->name, wp->config->user, wp->set_gid); in fpm_unix_init_child()
|
H A D | fpm_worker_pool.h | 27 int set_uid, set_gid; /* config uid and gid */ member
|
Completed in 5 milliseconds