Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Setup a signal frame.
@ 2000-12-07 15:59 Carsten Langgaard
  2001-01-01  5:41 ` Simple problem with second stage MIPS GCC compiler Steven J. Hill
  2001-11-24  3:51 ` Philips Nino pre-compiled kernel image available Steven J. Hill
  0 siblings, 2 replies; 4+ messages in thread
From: Carsten Langgaard @ 2000-12-07 15:59 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-11-24  4:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-07 15:59 Setup a signal frame Carsten Langgaard
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox