Re: Undefined Instruction

From: Xin Tong
Date: Wed Nov 02 2011 - 17:08:30 EST


If i change the kernel, i could have the application stary alive right ?

Thanks

Xin


On Wed, Nov 2, 2011 at 5:07 PM, Jiri Kosina <jkosina@xxxxxxx> wrote:
> On Wed, 2 Nov 2011, Xin Tong wrote:
>
>> If an application contains an undefined instruction to the processor (
>> x86 in particular ) how does the operating system handle it. does the
>> operating system just kill the process, or it will throw signals,
>> trying to recover from it ?
>
> CPU will trap and kernel will send SIGILL to the process.
>
> --
> 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/