lkml.org 
[lkml]   [2006]   [Jan]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] [5/6] Handle TIF_RESTORE_SIGMASK for i386
FromDavid Woodhouse <>
DateFri, 13 Jan 2006 08:28:57 +0000
On Fri, 2006-01-13 at 06:23 +0000, David Woodhouse wrote:
> I suspect it might be the sigset size. 
I bet this is it, although I haven't yet confirmed the theory....
Sorry, I should have tested this for myself on i386 before forwarding
the patch. Stupid bloody legacy architecture :)

--- linux-2.6.15.ppc/kernel/compat.c~	2006-01-13 04:39:54.000000000 +0000
+++ linux-2.6.15.ppc/kernel/compat.c	2006-01-13 08:23:24.000000000 +0000
@@ -873,7 +873,7 @@ asmlinkage long compat_sys_stime(compat_
 #endif /* __ARCH_WANT_COMPAT_SYS_TIME */
 
 #ifdef __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
-long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, compat_size_t sigsetsize)
+asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset, compat_size_t sigsetsize)
 {
 	sigset_t newset;
 	compat_sigset_t newset32;
--- linux-2.6.15.ppc/kernel/signal.c~	2006-01-13 04:39:54.000000000 +0000
+++ linux-2.6.15.ppc/kernel/signal.c	2006-01-13 08:23:29.000000000 +0000
@@ -2761,7 +2761,7 @@ sys_pause(void)
 #endif
 
 #ifdef __ARCH_WANT_SYS_RT_SIGSUSPEND
-long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize)
+asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize)
 {
 	sigset_t newset;
 
-- 
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-13 09:31    [from the cache]
©2003-2008