Skip to contentSkip to conversation

Alarm execl failed on 2.6.12

DISCUSSION Aubrey 2 participants 3 messages Nov 16, 2005 1 message not in the archive

lore
Share & tools
lore

Aubrey

author
#0 lore raw

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#2 lore raw

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]>:

Quoted 7 lines · Aubrey
Quoted 3 lines

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.

#3 lore raw
Quoted 2 lines · Aubrey

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".