Loading include/mpm_common.h +13 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,19 @@ AP_DECLARE(uid_t) ap_uname2id(const char *name); AP_DECLARE(gid_t) ap_gname2id(const char *name); #endif #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 * @deffunc int initgroups(const char *name, gid_t basegid) */ int initgroups(const char *name, gid_t basegid); #endif #define AP_MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h" #ifdef AP_MPM_USES_POD Loading server/mpm_common.c +1 −1 Original line number Diff line number Diff line Loading @@ -453,7 +453,7 @@ int initgroups(const char *name, gid_t basegid) return setgroups(index, groups); #endif /* def QNX */ } #endif /* def NEED_INITGROUPS */ #endif /* ndef HAVE_INITGROUPS */ #ifdef AP_MPM_USES_POD Loading Loading
include/mpm_common.h +13 −0 Original line number Diff line number Diff line Loading @@ -161,6 +161,19 @@ AP_DECLARE(uid_t) ap_uname2id(const char *name); AP_DECLARE(gid_t) ap_gname2id(const char *name); #endif #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 * @deffunc int initgroups(const char *name, gid_t basegid) */ int initgroups(const char *name, gid_t basegid); #endif #define AP_MPM_HARD_LIMITS_FILE APACHE_MPM_DIR "/mpm_default.h" #ifdef AP_MPM_USES_POD Loading
server/mpm_common.c +1 −1 Original line number Diff line number Diff line Loading @@ -453,7 +453,7 @@ int initgroups(const char *name, gid_t basegid) return setgroups(index, groups); #endif /* def QNX */ } #endif /* def NEED_INITGROUPS */ #endif /* ndef HAVE_INITGROUPS */ #ifdef AP_MPM_USES_POD Loading