kern/150138: [patch] signal sent to stopped, traced process not immediately handled on continue

David Xu davidxu at freebsd.org
Tue Aug 31 05:10:05 UTC 2010


The following reply was made to PR kern/150138; it has been noted by GNATS.

From: David Xu <davidxu at freebsd.org>
To: Dan McNulty <dkmcnulty at gmail.com>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: kern/150138: [patch] signal sent to stopped, traced process not
 immediately handled on continue
Date: Tue, 31 Aug 2010 13:00:28 +0000

 Dan McNulty wrote:
 > On Tue, Aug 31, 2010 at 6:09 AM, David Xu <davidxu at freebsd.org> wrote:
 >> User & wrote:
 >>
 >>>> Fix:
 >>> The attached patch ( to CURRENT ) takes a stab at fixing the problem. The
 >>> patch
 >>> adds code so that even if the process is being traced, a signal sent to a
 >>> interruptibly sleeping thread wakes up the thread so it will handle the
 >>> signal
 >>> when the process leaves the stopped state. The added code was copied from
 >>> the
 >>> code that handled stopped, non-traced processes later in the same
 >>> function.
 >> No patch ?
 >>
 > 
 > Sorry, in trying to figure out send-pr, didn't actually attach the
 > patch and other files.
 > 
 > They should be attached now.
 > 
 
 I think the patch is right, thanks!
 
 


More information about the freebsd-bugs mailing list