Searched refs:gid (Results 1 - 9 of 9) sorted by relevance
/httpd/support/ |
H A D | checkgid.c | 51 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 D | suexec.c | 289 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/modules/generators/ |
H A D | mod_suexec.c | 59 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/os/unix/ |
H A D | unixd.h | 57 gid_t gid; member in struct:__anon348
|
H A D | unixd.c | 161 execgroup = apr_psprintf(p, "%ld", (long) ugid->gid); 248 buf.sem_perm.gid = ap_unixd_config.group_id; 264 -1 /* no gid change */) < 0) {
|
/httpd/modules/arch/unix/ |
H A D | mod_privileges.c | 51 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);
|
H A D | mod_unixd.c | 337 apr_gid_t gid = ap_unixd_config.group_id; local 347 ap_unixd_config.group_name, (unsigned long)gid, no_root);
|
/httpd/modules/mappers/ |
H A D | mod_userdir.c | 361 if (apr_uid_get(&ugid->uid, &ugid->gid, username, r->pool) != APR_SUCCESS) {
|
/httpd/modules/metadata/ |
H A D | mod_mime_magic.c | 195 char gid[8]; member in struct:record::header
|
Completed in 286 milliseconds