Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 26 Aug 2002 14:08:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 26 Aug 2002 14:08:07 -0400 Received: from [195.39.17.254] ([195.39.17.254]:23936 "EHLO Elf.ucw.cz") by vger.kernel.org with ESMTP id ; Mon, 26 Aug 2002 14:08:00 -0400 Date: Mon, 26 Aug 2002 14:35:28 +0200 From: Pavel Machek To: Ingo Molnar Cc: Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: [patch] clone-detached-2.5.31-B0 Message-ID: <20020826123528.GB359@elf.ucw.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i X-Warning: Reading this can be dangerous to your mental health. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 863 Lines: 29 Hi! > one of the debugging tests triggered a false-positive BUG() when a > detached thread was straced. Fix against BK-curr attached. > > Ingo > > --- kernel/signal.c.orig Thu Aug 15 17:12:02 2002 > +++ kernel/signal.c Thu Aug 15 17:12:34 2002 > @@ -774,7 +774,7 @@ > int why, status; > > /* is the thread detached? */ > - if (sig == -1 || tsk->exit_signal == -1) > + if (sig == -1) > BUG(); > > info.si_signo = sig; Why not BUG_ON()? Pavel -- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/