[parisc-linux-cvs] 32 bit syscall wrapper fix for sigaction

Richard Hirst rhirst@linuxcare.com
Mon, 19 Nov 2001 16:18:39 +0000


This fixes the problem tausq demonstrated with his sigtest.c program,
which got a segv when trying to receive a sigchld.

--- arch/parisc/kernel/sys32.h  2001/03/02 00:48:47     1.1
+++ arch/parisc/kernel/sys32.h  2001/11/19 16:11:55
@@ -26,7 +26,7 @@
 
 struct sigaction32 {
        __sighandler_t32 sa_handler;
-       unsigned long sa_flags;
+       unsigned int sa_flags;
        sigset_t32 sa_mask;             /* mask last for extensibility */
 };