aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2012-11-21 19:27:23 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 12:59:13 -0800
commitf561b30f4f5a1192f40c312ce3b41d76f122e577 (patch)
treee4b74f67c168307ed4860a04bb7cfd03a86fa3b3 /drivers/md
parenta536dd3534c16bb413defdd4f5130420c6af7982 (diff)
downloadkernel_samsung_smdk4412-f561b30f4f5a1192f40c312ce3b41d76f122e577.zip
kernel_samsung_smdk4412-f561b30f4f5a1192f40c312ce3b41d76f122e577.tar.gz
kernel_samsung_smdk4412-f561b30f4f5a1192f40c312ce3b41d76f122e577.tar.bz2
PARISC: fix user-triggerable panic on parisc
commit 441a179dafc0f99fc8b3a8268eef66958621082e upstream. int sys32_rt_sigprocmask(int how, compat_sigset_t __user *set, compat_sigset_t __user *oset, unsigned int sigsetsize) { sigset_t old_set, new_set; int ret; if (set && get_sigset32(set, &new_set, sigsetsize)) ... static int get_sigset32(compat_sigset_t __user *up, sigset_t *set, size_t sz) { compat_sigset_t s; int r; if (sz != sizeof *set) panic("put_sigset32()"); In other words, rt_sigprocmask(69, (void *)69, 69) done by 32bit process will promptly panic the box. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions