Skip to contentSkip to conversation

linux-2.6 carlos

parisc-linux Carlos O'Donell 1 participant 1 message Apr 26, 2004 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Carlos O'Donell

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

kernel/compat_signal.c +1 -0
diff -u -p -r1.2 -r1.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);