]> git.pld-linux.org Git - packages/apache-mod_ruid2.git/blame - apache-mod_ruid2-stat-rgroups.patch
- up to 0.9.8
[packages/apache-mod_ruid2.git] / apache-mod_ruid2-stat-rgroups.patch
CommitLineData
5447fdc4
JR
1--- mod_ruid2-0.9.4/mod_ruid2.c~ 2011-02-24 15:25:28.000000000 +0100
2+++ mod_ruid2-0.9.4/mod_ruid2.c 2011-03-11 14:15:26.915053808 +0100
3@@ -123,6 +123,10 @@
cf7b2cb0
JR
4 conf->ruid_uid=UNSET;
5 conf->ruid_gid=UNSET;
6 conf->groupsnr=UNSET;
7+ if (child->groupsnr > 0) {
5447fdc4
JR
8+ memcpy(conf->groups, child->groups, sizeof(child->groups));
9+ conf->groupsnr = child->groupsnr;
10+ }
11 } else {
12 conf->ruid_uid = (child->ruid_uid == UNSET) ? parent->ruid_uid : child->ruid_uid;
13 conf->ruid_gid = (child->ruid_gid == UNSET) ? parent->ruid_gid : child->ruid_gid;
This page took 0.107184 seconds and 4 git commands to generate.