Re: Undefined Instruction

From: Xin Tong
Date: Wed Nov 02 2011 - 17:14:23 EST


There must be a default handler install for every application on linux
, right ? Is there any signal that the operating system simply kills
the programs without sending a signal to the user level ?

Thanks

Xin

On Wed, Nov 2, 2011 at 5:10 PM, Jiri Kosina <jkosina@xxxxxxx> wrote:
> On Wed, 2 Nov 2011, Xin Tong wrote:
>
>> If i change the kernel, i could have the application stary alive right ?
>
> No need for any kernel changes. You can set your own signal handler for
> SIGILL (but iirc that will make any further behavior of your application
> undefined as long as POSIX is involved).
>
> --
> Jiri Kosina
> SUSE Labs
>
--
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/