diff options
Diffstat (limited to 'include/mpm_common.h')
| -rw-r--r-- | include/mpm_common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/mpm_common.h b/include/mpm_common.h index bacf76f2..125fe809 100644 --- a/include/mpm_common.h +++ b/include/mpm_common.h @@ -216,6 +216,19 @@ AP_DECLARE(gid_t) ap_gname2id(const char *name); #define AP_MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h" +#ifndef HAVE_INITGROUPS +/** + * The initgroups() function initializes the group access list by reading the + * group database /etc/group and using all groups of which user is a member. + * The additional group basegid is also added to the list. + * @param name The user name - must be non-NULL + * @param basegid The basegid to add + * @return returns 0 on success + * @fn int initgroups(const char *name, gid_t basegid) + */ +int initgroups(const char *name, gid_t basegid); +#endif + #ifdef AP_MPM_USES_POD typedef struct ap_pod_t ap_pod_t; |
