Subject: NEED TESTERS: minor change to signal delivery
To: None <port-m68k@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-m68k
Date: 06/22/2002 20:56:52
--j2AXaZ4YhVcLc+PQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Can someone please apply this patch to their source tree, rebuild
the kernel, boot it, and verify that signals still work? It should
be fine, as I can't see anything that relies on the ordering of the
sigcontext and the sigstate in the sigframe (and since the sigcontext
has a pointer to the sigstate, userland doesn't rely on the ordering,
either).
I don't have any m68k machines running at the moment, so can't test it
easily myself.
Please ASAP, as I want to get these signal changes I'm working on
done quickly :-)
Thanks!
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--j2AXaZ4YhVcLc+PQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=m68k-sigframe-patch
Index: include/signal.h
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/m68k/include/signal.h,v
retrieving revision 1.8
diff -u -r1.8 signal.h
--- include/signal.h 1998/09/30 21:52:45 1.8
+++ include/signal.h 2002/06/23 03:52:43
@@ -104,8 +104,8 @@
int sf_code; /* additional info for handler */
struct sigcontext *sf_scp; /* context pointer for handler */
sig_t sf_handler; /* handler address for u_sigc */
- struct sigstate sf_state; /* state of the hardware */
struct sigcontext sf_sc; /* actual context */
+ struct sigstate sf_state; /* state of the hardware */
};
#endif /* _KERNEL && __M68K_SIGNAL_PRIVATE */
--j2AXaZ4YhVcLc+PQ--