linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Possible sparc64 signal handling issue
@ 2003-07-25 20:17 Hal Duston
  2003-07-25 20:39 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Duston @ 2003-07-25 20:17 UTC (permalink / raw)
  To: linux-kernel

In arch/sparc64/kernel/traps.c, data_access_exception() is defined to
receive 3 parameters, (and uses all three of them).  In
arch/sparc64/kernel/unaligned.c it is only passed a single parameter.  

This is causing me difficulty when handling segfault signals.  On most
Linux platforms I have access to the siginfo_t.si_addr isn't populated
at all anyway, and I use the ucontext_t third parameter given to the
handler.  Under sparc64 though, the third parameter doesn't point to
anything that I can discern, and due to the aforementioned three versus
one parameter issue, the value of si_addr in siginfo_t is incorrect as
well.

This issue appears to be present in both 2.4, and 2.6.

--
Hal Duston
hduston@speedscript.com


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

end of thread, other threads:[~2003-07-25 20:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-25 20:17 Possible sparc64 signal handling issue Hal Duston
2003-07-25 20:39 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).