linux/arch/m68k
Al Viro ea52b58ccb m68k: Fix stack mangling logics in sigreturn
a) we should hold modifying regs->format until we know we *will* be
doing stack expansion; otherwise attacker can modify sigframe to
have wrong ->sc_formatvec and install SIGSEGV handler.

b) we should *not* mix copying saved extra stuff from userland with
expanding the stack; once we'd done that manual memmove, we'd better
not return to C, so cleanup is very hard to do.  The easiest way
is to copy it on stack first, making sure we won't overwrite on stack
expansion.  Fortunately that's easy to do...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2011-01-07 14:01:35 +01:00
..
amiga m68k: amiga - RTC platform device conversion 2010-05-26 19:51:10 +02:00
apollo
atari
bvme6000 llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
configs defconfig reduction 2010-08-14 22:26:53 +02:00
fpsp040
hp300 m68k: hp300 - Checkpatch cleanup 2010-05-17 21:15:40 +02:00
ifpsp060
include/asm m68k: Switch to saner sigsuspend() 2011-01-07 14:01:33 +01:00
kernel m68k: Fix stack mangling logics in sigreturn 2011-01-07 14:01:35 +01:00
lib
mac Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
math-emu
mm m68k: invoke oom-killer from page fault 2010-05-17 21:37:39 +02:00
mvme16x llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
mvme147
q40 Update broken web addresses in arch directory. 2010-10-18 11:03:21 +02:00
sun3 m68k/m68knommu: Remove dead SMP config option 2010-10-22 09:43:23 +02:00
sun3x include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tools/amiga
install.sh
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2010-10-28 16:16:39 -07:00
Kconfig.debug
Makefile kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line 2010-08-03 14:09:45 +02:00