Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Carsten Langgaard <carstenl@mips.com>
To: linux-mips@oss.sgi.com
Subject: Setup a signal frame.
Date: Thu, 07 Dec 2000 16:59:07 +0100	[thread overview]
Message-ID: <3A2FB3CB.3566F805@mips.com> (raw)

I have a question regarding the setup_frame function in
arch/mips/kernel/signal.c.

If the setup fails we send a SIGSEGV to the current process, but before
doing that we check if signr == SIGSEGV, and if so install the default
handler.
But isn't we sending a SIGSEGV signal, and therefore always should
install the default handler and not check if the original signal was
SIGSEGV ?

In kernel 2.2.12 we always used do_exit(SIGSEGV) if the setup failed,
why has this changed in the 2.4.0 kernel ?

/Carsten

--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com

             reply	other threads:[~2000-12-07 15:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-07 15:59 Carsten Langgaard [this message]
2001-01-01  5:41 ` Simple problem with second stage MIPS GCC compiler Steven J. Hill
2001-01-01 14:22   ` Joe deBlaquiere
2001-11-24  3:51 ` Philips Nino pre-compiled kernel image available Steven J. Hill

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=3A2FB3CB.3566F805@mips.com \
    --to=carstenl@mips.com \
    --cc=linux-mips@oss.sgi.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