kernel-fxtec-pro1x/arch/parisc/kernel
Al Viro 441a179daf [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>
2012-11-22 09:33:12 +00:00
..
.gitignore
asm-offsets.c
binfmt_elf32.c
cache.c mm: replace vma prio_tree with an interval tree 2012-10-09 16:22:39 +09:00
drivers.c parisc: Add export.h to files needing EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:00 -04:00
entry.S TIF_RESTORE_SIGMASK can be set only when TIF_SIGPENDING is set 2012-06-01 12:58:50 -04:00
firmware.c Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
ftrace.c
hardware.c
head.S
hpmc.S
inventory.c
irq.c
Makefile parisc: Fix init_task fallout 2012-05-07 11:38:46 +02:00
module.c
pa7300lc.c
pacache.S [PARISC] fix crash in flush_icache_page_asm on PA1.1 2012-05-16 13:15:06 +01:00
parisc_ksyms.c [PARISC] update parisc to use generic strncpy_from_user() 2012-05-31 11:14:37 +01:00
pci-dma.c parisc: Add export.h to files needing EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:00 -04:00
pci.c parisc/PCI: factor out pcibios_setup() 2012-07-05 15:09:13 -06:00
pdc_chassis.c
pdc_cons.c TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
perf.c
perf_asm.S
perf_images.h
process.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
processor.c
ptrace.c Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
real2.S
setup.c parisc: Add export.h to files needing EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:00 -04:00
signal.c parisc: don't bother looping in do_signal() 2012-10-01 09:58:14 -04:00
signal32.c [PARISC] fix user-triggerable panic on parisc 2012-11-22 09:33:12 +00:00
signal32.h compat: move compat_siginfo_t definition to asm/compat.h 2012-10-06 03:05:16 +09:00
smp.c parisc: Smp: remove call to ipi_call_lock()/ipi_call_unlock() 2012-06-05 17:27:12 +02:00
stacktrace.c
sys32.h
sys_parisc.c [PARISC] fix virtual aliasing issue in get_shared_area() 2012-11-15 05:49:34 -08:00
sys_parisc32.c vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
syscall.S parisc: decide whether to go to slow path (tracesys) based on thread flags 2012-10-01 09:58:14 -04:00
syscall_table.S
time.c parisc: move definition of PAGE0 to asm/page.h 2012-05-10 15:12:08 -07:00
topology.c
traps.c Disintegrate asm/system.h for PA-RISC 2012-03-28 18:30:02 +01:00
unaligned.c
unwind.c
vmlinux.lds.S [PARISC] fix boot failure on 32-bit systems caused by branch stubs placed before .text 2012-05-25 10:52:17 +01:00