Re: 2.6.x signal handler bug

From: Andrew Morton
Date: Fri Jun 25 2004 - 19:07:51 EST


Paul Maurides <stud1313@xxxxxxxxx> wrote:
>
> void catcher(int sig){
> signal(SIGSEGV,catcher);
> printf("requested: %9d malloced: %9d\n",len,real);
> longjmp(env, 1);
> }

Use siglongjmp()
-
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/