[parisc-linux-cvs] linux-2.6 carlos

Carlos O'Donell carlos at baldric.uwo.ca
Sun Apr 25 22:51:35 MDT 2004


On Sun, Apr 25, 2004 at 10:46:48PM -0600, Carlos O'Donell wrote:
> CVSROOT:	/var/cvs
> Module name:	linux-2.6
> Changes by:	carlos	04/04/25 22:46:48
> 
> Modified files:
> 	kernel         : compat_signal.c 
> 
> Log message:
> Add __SI_MESGQ case to compat (simple one liner)

Add the __SI_MESGQ case so that siginfo delivers the right data.

Index: kernel/compat_signal.c
===================================================================
RCS file: /var/cvs/linux-2.6/kernel/compat_signal.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- a/kernel/compat_signal.c	28 Jan 2004 05:12:46 -0000	1.2
+++ b/kernel/compat_signal.c	26 Apr 2004 04:46:48 -0000	1.3
@@ -102,6 +102,7 @@ int compat_copy_siginfo_to_user(compat_s
 		err |= __put_user(compat_from.si_stime, &to->si_stime);
 		break;
 	case __SI_RT: /* This is not generated by the kernel as of now. */
+	case __SI_MESGQ: /* But this is */
 		compat_from.si_pid = (compat_pid_t)(from->si_pid);
 		compat_from.si_uid = (__ARCH_SI_COMPAT_UID_T)(from->si_uid);
 		compat_from.si_int = (compat_int_t)(from->si_int);


More information about the parisc-linux-cvs mailing list