Searched defs:gid (Results 1 - 7 of 7) sorted by relevance

/httpd/support/
H A Dcheckgid.c51 gid_t gid; local
68 gid = atoi(&arg[1]);
69 fake_grent.gr_gid = gid;
91 gid = grent->gr_gid;
92 check = setgid(gid);
H A Dsuexec.c289 gid_t gid; /* target group placeholder */ local
442 gid = gr->gr_gid;
490 log_no_err("uid: (%s/%s) gid: (%s/%s) cmd: %s\n",
508 if ((gid == 0) || (gid < AP_GID_MIN)) {
509 log_err("cannot run as forbidden gid (%lu/%s)\n", (unsigned long)gid, cmd);
519 if (((setgid(gid)) != 0) || (initgroups(actual_uname, gid) != 0)) {
520 log_err("failed to setgid (%lu: %s)\n", (unsigned long)gid, cm
[all...]
/httpd/os/unix/
H A Dunixd.h57 gid_t gid; member in struct:__anon348
/httpd/modules/generators/
H A Dmod_suexec.c59 const char *uid, const char *gid)
75 cfg->ugid.gid = ap_gname2id(gid);
58 set_suexec_ugid(cmd_parms *cmd, void *mconfig, const char *uid, const char *gid) argument
/httpd/modules/arch/unix/
H A Dmod_unixd.c337 apr_gid_t gid = ap_unixd_config.group_id; local
347 ap_unixd_config.group_name, (unsigned long)gid, no_root);
H A Dmod_privileges.c51 gid_t gid; member in struct:__anon74
105 cfg->gid = 0;
139 /* ugly hack: grab default uid and gid from unixd */
151 if (cfg->uid || cfg->gid) {
160 if (cfg->gid && (setgid(ap_unixd_config.group_id) == -1)) {
257 if (cfg->uid || cfg->gid) {
270 if (cfg->gid && (setgid(cfg->gid) == -1)) {
434 cfg->gid = ap_gname2id(arg);
/httpd/modules/metadata/
H A Dmod_mime_magic.c195 char gid[8]; member in struct:record::header

Completed in 528 milliseconds