[PATCH v3] USE_SEIZE: fix detaching from stopped processes

Dmitry V. Levin ldv at altlinux.org
Fri Jun 21 00:29:58 UTC 2013


On Thu, Jun 20, 2013 at 01:00:59PM +0400, Dmitry V. Levin wrote:
> On Thu, Jun 20, 2013 at 02:29:26AM +0200, Denys Vlasenko wrote:
> > On 06/19/2013 08:18 PM, Dmitry V. Levin wrote:
> > > On Wed, Jun 19, 2013 at 08:17:13PM +0400, Dmitry V. Levin wrote:
> > >> On Wed, Jun 19, 2013 at 03:52:43PM +0200, Denys Vlasenko wrote:
> > >>> V3: split SEIZE/!SEIZE code paths to reduce confusion.
> > >>
> > >> With your tests/detach* enhancements, I see persistent detach-stopped
> > >> failures on old (!use_seize) kernels:
> > 
> > Which kernel version?
> 
> I tested kernels from rhel6 and rhel5.
> I'll test also on 3.0.82 later today.
> 
> > I set "#define USE_SEIZE 0" in defs.h, rebuild strace and tested
> > detach-stopped on 3.9.4-200.fc18.x86_64. It passes...
> 
> Likewise (tested on 3.9.6).

All tests pass on 3.0.82 kernel (that has no PTRACE_SEIZE support).


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130621/3b9b9970/attachment.bin>


More information about the Strace-devel mailing list