From owner-freebsd-current Wed Feb 26 6:29:56 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6924237B401; Wed, 26 Feb 2003 06:29:55 -0800 (PST) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6499543F93; Wed, 26 Feb 2003 06:29:54 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au ([210.50.201.21]) by smtp01.syd.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Thu, 27 Feb 2003 01:29:51 +1100 Received: from dilbert.robbins.dropbear.id.au (zgelcrmlbbi63gu8@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id h1QETon1053984; Thu, 27 Feb 2003 01:29:50 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id h1QETnQX053983; Thu, 27 Feb 2003 01:29:49 +1100 (EST) (envelope-from tim) Date: Thu, 27 Feb 2003 01:29:48 +1100 From: Tim Robbins To: Mike Makonnen Cc: julian@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: signals still broken ? Message-ID: <20030227012948.A53895@dilbert.robbins.dropbear.id.au> References: <20030226112543.ISTQ16831.out001.verizon.net@kokeb.ambesa.net> <20030227011003.A53053@dilbert.robbins.dropbear.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030227011003.A53053@dilbert.robbins.dropbear.id.au>; from tjr@FreeBSD.ORG on Thu, Feb 27, 2003 at 01:10:03AM +1100 X-OriginalArrivalTime: 26 Feb 2003 14:29:52.0321 (UTC) FILETIME=[86596B10:01C2DDA3] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 27, 2003 at 01:10:03AM +1100, Tim Robbins wrote: > On Wed, Feb 26, 2003 at 06:25:39AM -0500, Mike Makonnen wrote: > > > The following program is stuck in pause(3) forever. I have reproduced the bug in > > 5.0-RELEASE, but 4.7-STABLE behaves as expected: the child resumes upon > > receiving SIGCONT. > > I spent a while trying to decipher the 5.x signal code and I think I have > spotted the code responsible for the difference in behaviour between > 5.x and 4.7. The difference is that 5.x drops SIGCONT when the process > is already "active" even when a handler is installed for that signal. > > Here is a patch to try: [...] Never mind, I guess David beat me to it (kern_sig.c 1.211). Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message