2005-11-16 07:48:39

by Aubrey Li

[permalink] [raw]
Subject: Alarm execl failed on 2.6.12

Hi all,

I got a problem on 2.6.12. As follows:
-test.c
int main(void)
{
alarm(3);
execl("sig_rev","sig_rev","3",0);
sleep(10);
return 0;
}
-sig_rev.c
int main(void)
{
sleep(10);
return 0;
}
Running test can't stop in 3 seconds. But it should be.
Because the case can run properly on 2.6.11 and 2.6.13.
What difference about it?
Welcome any suggestions and comments
Thanks
-Aubrey


2005-11-16 13:04:56

by Aubrey Li

[permalink] [raw]
Subject: Re: Alarm execl failed on 2.6.12

I know it got fixed.
I want to know how it is fixed. Is there a patch for it?
Thanks
-Aubrey

2005/11/16, Alex Riesen <[email protected]>:
> On 11/16/05, Aubrey <[email protected]> wrote:
> > Running test can't stop in 3 seconds. But it should be.
> > Because the case can run properly on 2.6.11 and 2.6.13.
> > What difference about it?
>
> it was just broken and got fixed.
>

2005-11-16 16:16:00

by Alex Riesen

[permalink] [raw]
Subject: Re: Alarm execl failed on 2.6.12

On 11/16/05, Aubrey <[email protected]> wrote:
> I know it got fixed.
> I want to know how it is fixed. Is there a patch for it?

probably. You can try a binary search from 2.6.11 to 2.6.12. Really
simple using "git bisect".