Return-Path: Date: Mon, 26 Apr 2004 00:51:35 -0400 From: Carlos O'Donell To: parisc-linux@lists.parisc-linux.org Message-ID: <20040426045135.GM14937@baldric.uwo.ca> References: <20040426044648.93EE4494593@palinux.hppa> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20040426044648.93EE4494593@palinux.hppa> Cc: parisc-linux-cvs@lists.parisc-linux.org Subject: [parisc-linux] Re: [parisc-linux-cvs] linux-2.6 carlos List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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);