lkml.org 
[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Undefined Instruction
From
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@suse.cz> 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
>
>


\
 
 \ /
  Last update: 2011-11-02 22:11    [W:0.060 / U:1.136 seconds]
©2003-2014 Jasper Spaans. Advertise on this site