linux-2.6 carlos
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Carlos O'Donell
CVSROOT:
/var/cvs
Module name: linux-2.6
Changes by: carlos 04/04/25 22:46:48Modified files:
kernel :compat_signal.cLog message:
Add__SI_MESGQcase 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
@@ -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);