kernel-ark/arch/xtensa/kernel
Chris Zankel 6ebe7da25b xtensa: reset windowbase/windowstart when cloning the VM
When we copy a user thread with CLONE_VM, we also have to reset
windowbase and windowstart to start a pristine stack frame. Otherwise,
overflows can happen using the address 0 as the stack pointer.
Also add a special case for vfork, which continues on the
parent stack until it calls execve. Because this could be a call8, we
need to spill the stack pointer of the previus frame (if still 'live' in
the register file).

Signed-off-by: Chris Zankel <chris@zankel.net>
2012-10-25 14:53:36 -07:00
..
align.S xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
asm-offsets.c xtensa: Shuffle include statements to fix linker script 2010-05-02 01:05:13 -07:00
coprocessor.S xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
entry.S xtensa: minor compiler warning fix 2012-10-19 10:24:20 -07:00
head.S xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
irq.c xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
Makefile xtensa: adopt generic io routines 2012-10-03 15:11:42 -07:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
pci-dma.c xtensa: add missing symbol exports 2012-10-03 15:12:52 -07:00
pci.c Xtensa patchset for 3.7 2012-10-09 16:11:46 +09:00
platform.c xtensa: change default platform clock frequency to 10MHz 2012-10-03 15:11:59 -07:00
process.c xtensa: reset windowbase/windowstart when cloning the VM 2012-10-25 14:53:36 -07:00
ptrace.c Disintegrate asm/system.h for Xtensa 2012-03-28 18:30:03 +01:00
setup.c xtensa: fix boot parameters parsing 2012-10-15 21:43:15 -07:00
signal.c Uninclude linux/freezer.h 2012-10-01 09:58:18 -04:00
syscall.c xtensa: allow multi-inclusion for uapi/unistd.h 2012-10-25 14:53:36 -07:00
time.c clocksource: xtensa: Convert to clocksource_register_hz/khz 2011-11-21 19:01:04 -08:00
traps.c xtensa: fix unaligned usermode access 2012-10-15 21:48:41 -07:00
vectors.S xtensa: reorganize SR referencing 2012-10-15 21:48:08 -07:00
vmlinux.lds.S xtensa: drop CONFIG_EMBEDDED_RAMDISK 2012-10-03 15:13:09 -07:00
xtensa_ksyms.c xtensa: provide dummy gcc intrinsics 2012-10-03 15:12:56 -07:00