[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALKntY1S9HCQkqVBQSJLUO=L=DfwaSuN4m=akJBKuQ2dxBj4MQ@mail.gmail.com>
Date: Wed, 2 Nov 2011 17:08:28 -0400
From: Xin Tong <xerox.time.tech@...il.com>
To: Jiri Kosina <jkosina@...e.cz>
Cc: linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Undefined Instruction
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@...e.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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists