Date: Tue, 31 Aug 2010 05:10:04 GMT From: David Xu <davidxu@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/150138: [patch] signal sent to stopped, traced process not immediately handled on continue Message-ID: <201008310510.o7V5A4wZ087131@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/150138; it has been noted by GNATS. From: David Xu <davidxu@freebsd.org> To: Dan McNulty <dkmcnulty@gmail.com> Cc: FreeBSD-gnats-submit@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@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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008310510.o7V5A4wZ087131>