summaryrefslogtreecommitdiffstats
path: root/drivers/bus/omap-ocp2scp.c
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2012-11-21 19:27:23 +0000
committerJames Bottomley <JBottomley@Parallels.com>2012-11-22 09:33:12 +0000
commit441a179dafc0f99fc8b3a8268eef66958621082e (patch)
tree1705689dcb45c3f0c815aff88602adca1947b14a /drivers/bus/omap-ocp2scp.c
parent949a05d03490e39e773e8652ccab9157e6f595b4 (diff)
[PARISC] fix user-triggerable panic on parisc
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> Cc: <stable@vger.kernel.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/bus/omap-ocp2scp.c')
0 files changed, 0 insertions, 0 deletions