441a179daf
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> |
||
---|---|---|
.. | ||
.gitignore | ||
asm-offsets.c | ||
binfmt_elf32.c | ||
cache.c | ||
drivers.c | ||
entry.S | ||
firmware.c | ||
ftrace.c | ||
hardware.c | ||
head.S | ||
hpmc.S | ||
inventory.c | ||
irq.c | ||
Makefile | ||
module.c | ||
pa7300lc.c | ||
pacache.S | ||
parisc_ksyms.c | ||
pci-dma.c | ||
pci.c | ||
pdc_chassis.c | ||
pdc_cons.c | ||
perf.c | ||
perf_asm.S | ||
perf_images.h | ||
process.c | ||
processor.c | ||
ptrace.c | ||
real2.S | ||
setup.c | ||
signal.c | ||
signal32.c | ||
signal32.h | ||
smp.c | ||
stacktrace.c | ||
sys32.h | ||
sys_parisc.c | ||
sys_parisc32.c | ||
syscall.S | ||
syscall_table.S | ||
time.c | ||
topology.c | ||
traps.c | ||
unaligned.c | ||
unwind.c | ||
vmlinux.lds.S |