Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal

Pull sigprocmask compat fix from Al Viro:
"generic compat_sys_rt_sigprocmask() had a very dumb braino; I'd spent
quite a while staring at the offending commit before finally managing
to spot the idiocy ;-/"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal:
fix compat_sys_rt_sigprocmask()

+1 -1
+1 -1
kernel/signal.c
··· 2653 2653 if (oset) { 2654 2654 compat_sigset_t old32; 2655 2655 sigset_to_compat(&old32, &old_set); 2656 - if (copy_to_user(oset, &old_set, sizeof(sigset_t))) 2656 + if (copy_to_user(oset, &old32, sizeof(compat_sigset_t))) 2657 2657 return -EFAULT; 2658 2658 } 2659 2659 return 0;