On Mon, Apr 22, 2002 at 01:46:58PM -0500, Scott Lamb wrote: > I've attached a small patch to perchild that
Oops. No, I didn't. Lemme try that again... -- Scott Lamb
Index: server/mpm/experimental/perchild/config5.m4 =================================================================== RCS file: /home/cvspublic/httpd-2.0/server/mpm/experimental/perchild/config5.m4,v retrieving revision 1.1 diff -u -r1.1 config5.m4 --- server/mpm/experimental/perchild/config5.m4 3 Apr 2001 18:37:12 -0000 1.1 +++ server/mpm/experimental/perchild/config5.m4 21 Apr 2002 14:28:46 -0000 @@ -1,6 +1,5 @@ dnl ## XXX - Need a more thorough check of the proper flags to use if test "$MPM_NAME" = "perchild" ; then - - APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile) + APACHE_FAST_OUTPUT(server/mpm/$MPM_SUBDIR_NAME/Makefile) fi Index: server/mpm/experimental/perchild/perchild.c =================================================================== RCS file: /home/cvspublic/httpd-2.0/server/mpm/experimental/perchild/perchild.c,v retrieving revision 1.122 diff -u -r1.122 perchild.c --- server/mpm/experimental/perchild/perchild.c 5 Apr 2002 02:23:02 -0000 1.122 +++ server/mpm/experimental/perchild/perchild.c 21 Apr 2002 14:28:47 -0000 @@ -1834,7 +1834,7 @@ } ug->uid = ap_uname2id(u); - ug->gid = ap_uname2id(g); + ug->gid = ap_gname2id(g); #ifndef BIG_SECURITY_HOLE if (ug->uid == 0 || ug->gid == 0) { @@ -1851,7 +1851,7 @@ int i; int matching = 0; int u = ap_uname2id(uid); - int g = ap_uname2id(gid); + int g = ap_gname2id(gid); const char *errstr; int socks[2]; perchild_server_conf *sconf = (perchild_server_conf *)