Re: Undefined Instruction

From: Giel van Schijndel
Date: Thu Nov 03 2011 - 15:26:33 EST


On Wed, Nov 02, 2011 at 05:14:17PM -0400, Xin Tong wrote:
> 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).
>
> 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 ?

It's known by the rather straightforward name of SIGKILL. I.e. userland
cannot install a signal handler for that signal, the process just gets
killed.

--
Met vriendelijke groet,
With kind regards,
Giel van Schijndel
--
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/