Home
last modified time | relevance | path

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

/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_unix.c275 wp->set_gid = pwd->pw_gid; in fpm_unix_conf_wp()
284 wp->set_gid = strtoul(wp->config->group, 0, 10); in fpm_unix_conf_wp()
293 wp->set_gid = grp->gr_gid; in fpm_unix_conf_wp()
298 if (wp->set_uid == 0 || wp->set_gid == 0) { in fpm_unix_conf_wp()
381 if (wp->set_gid) { in fpm_unix_init_child()
382 if (0 > setgid(wp->set_gid)) { in fpm_unix_init_child()
383 zlog(ZLOG_SYSERROR, "[pool %s] failed to setgid(%d)", wp->config->name, wp->set_gid); in fpm_unix_init_child()
388 if (0 > initgroups(wp->config->user, wp->set_gid)) { in fpm_unix_init_child()
389 …SERROR, "[pool %s] failed to initgroups(%s, %d)", wp->config->name, wp->config->user, wp->set_gid); in fpm_unix_init_child()
H A Dfpm_worker_pool.h26 int set_uid, set_gid; /* config uid and gid */ member

Completed in 8 milliseconds