mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Giel van Schijndel <me@mortis.eu>
To: Xin Tong <xerox.time.tech@gmail.com>
Cc: Jiri Kosina <jkosina@suse.cz>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Undefined Instruction
Date: Thu, 3 Nov 2011 20:15:55 +0100	[thread overview]
Message-ID: <20111103191555.GC7197@vps.mortis.eu> (raw)
In-Reply-To: <CALKntY2yJm1Usi60dbZo-8OmfpfZp4AELFbw7QH5QsgvjFLdCQ@mail.gmail.com>

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@suse.cz> 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

      reply	other threads:[~2011-11-03 19:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 21:03 Xin Tong
2011-11-02 21:07 ` Jiri Kosina
2011-11-02 21:08   ` Xin Tong
2011-11-02 21:10     ` Jiri Kosina
2011-11-02 21:14       ` Xin Tong
2011-11-03 19:15         ` Giel van Schijndel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111103191555.GC7197@vps.mortis.eu \
    --to=me@mortis.eu \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xerox.time.tech@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®