$NetBSD: patch-au,v 1.1 2007/06/28 01:20:54 lkundrak Exp $ Part of fix for CVE-2007-3304 Denial of Service. --- server/mpm/worker/mpm.h.orig 2007-06-28 02:53:26.000000000 +0200 +++ server/mpm/worker/mpm.h @@ -52,6 +52,7 @@ #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid) #define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0) #define MPM_ACCEPT_FUNC unixd_accept +#define MPM_VALID_PID(p) (getpgid(p) == getpgrp()) extern int ap_threads_per_child; extern int ap_max_daemons_limit;