Alarm execl failed on 2.6.12

From: Aubrey
Date: Wed Nov 16 2005 - 02:48:41 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/