Re: [RFC PATCH] set TASK_TRACED before arch_ptrace code to fix a race

From: Luming Yu
Date: Fri May 23 2008 - 08:33:49 EST


On Thu, May 22, 2008 at 8:12 PM, Petr Tesarik <ptesarik@xxxxxxx> wrote:
> On Thu, 2008-05-22 at 04:18 -0700, Roland McGrath wrote:
>> I really cannot figure out from anything you've said what the failure mode
>> is or how you think it should be affected.
>
> At least you should be able to see the related bug report at:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=446200
>
> I'm getting Access Denied. :(

ok , I just got permit to share the test case here.. Please check out
the attachment.
1. tar jxvf testpro.tar.bz2
testpro/test1.c
test2.sh
2.cd testpro
3.gcc -o test1 test1.c
4.strace -f -o log.txt ./test1

hope you can reproduce the problem.

Thanks,
Luming

Attachment: testpro.tar.bz2
Description: BZip2 compressed data