components/apache2-modules/mod_fcgid/patches/fcgid.badspawnctl-r1037727.patch
branchs11u1-sru
changeset 2940 71cb13894b7c
parent 2937 4d2a1f9ca312
child 2944 ddcd7e77db21
equal deleted inserted replaced
2937:4d2a1f9ca312 2940:71cb13894b7c
     1 #
       
     2 #  Fix regression in 2.3.6 which broke process controls when using vhost-
       
     3 #  specific configuration.
       
     4 #
       
     5 Index: modules/fcgid/fcgid_spawn_ctl.c
       
     6 ===================================================================
       
     7 --- modules/fcgid/fcgid_spawn_ctl.c	(revision 1037726)
       
     8 +++ modules/fcgid/fcgid_spawn_ctl.c	(revision 1037727)
       
     9 @@ -178,7 +178,7 @@
       
    10          if (current_node->inode == command->inode
       
    11              && current_node->deviceid == command->deviceid
       
    12              && !strcmp(current_node->cmdline, command->cmdline)
       
    13 -            && current_node->vhost_id == sconf->vhost_id
       
    14 +            && current_node->vhost_id == command->vhost_id
       
    15              && current_node->uid == command->uid
       
    16              && current_node->gid == command->gid)
       
    17              break;