From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262710AbTDEW5L (for ); Sat, 5 Apr 2003 17:57:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262711AbTDEW5L (for ); Sat, 5 Apr 2003 17:57:11 -0500 Received: from jalon.able.es ([212.97.163.2]:47584 "EHLO jalon.able.es") by vger.kernel.org with ESMTP id S262710AbTDEW5K (for ); Sat, 5 Apr 2003 17:57:10 -0500 Date: Sun, 6 Apr 2003 01:08:34 +0200 From: "J.A. Magallon" To: "J.A. Magallon" Cc: Marcelo Tosatti , lkml Subject: [PATCH] thread signaling Message-ID: <20030405230834.GE12864@werewolf.able.es> References: <20030405224233.GA12746@werewolf.able.es> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7BIT In-Reply-To: <20030405224233.GA12746@werewolf.able.es>; from jamagallon@able.es on Sun, Apr 06, 2003 at 00:42:33 +0200 X-Mailer: Balsa 2.0.10 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 04.06, J.A. Magallon wrote: > > On 04.04, Marcelo Tosatti wrote: > > > > So here goes -pre7. Hopefully the last -pre. > > > Fix bad signaling between threads when ancestor dies. Author: Zeuner, Axel I forwarded the author, if he wants to give some explanations... --- linux/kernel/exit.c.orig Mon Sep 9 14:06:05 2002 +++ linux/kernel/exit.c Mon Sep 9 14:06:25 2002 @@ -369,7 +369,7 @@ * */ - if(current->exit_signal != SIGCHLD && + if(current->exit_signal != SIGCHLD && current->exit_signal != -1 && ( current->parent_exec_id != t->self_exec_id || current->self_exec_id != current->parent_exec_id) && !capable(CAP_KILL)) -- J.A. Magallon \ Software is like sex: werewolf.able.es \ It's better when it's free Mandrake Linux release 9.2 (Bamboo) for i586 Linux 2.4.21-pre7-jam1 (gcc 3.2.2 (Mandrake Linux 9.2 3.2.2-5mdk))