linux/arch
Petr Tesarik 3b2ce0b178 [IA64] Synchronize kernel RSE to user-space and back
This is base kernel patch for ptrace RSE bug. It's basically a backport
from the utrace RSE patch I sent out several weeks ago. please review.

when a thread is stopped (ptraced), debugger might change thread's user
stack (change memory directly), and we must avoid the RSE stored in
kernel to override user stack (user space's RSE is newer than kernel's
in the case). To workaround the issue, we copy kernel RSE to user RSE
before the task is stopped, so user RSE has updated data.  we then copy
user RSE to kernel after the task is resummed from traced stop and
kernel will use the newer RSE to return to user.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Petr Tesarik <ptesarik@suse.cz>
CC: Roland McGrath <roland@redhat.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2008-02-08 12:01:18 -08:00
..
alpha Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
arm Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-02-07 12:57:44 -08:00
avr32 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
blackfin Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
cris Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
frv Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
h8300 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
ia64 [IA64] Synchronize kernel RSE to user-space and back 2008-02-08 12:01:18 -08:00
m32r m32r: build fix of arch/m32r/kernel/smpboot.c 2008-02-07 08:42:32 -08:00
m68k m68k: correct setting of struct user.u_ar0 2008-02-07 14:15:55 -08:00
m68knommu Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
mips Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
parisc Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
powerpc Fix compilation of powerpc asm-offsets.c with old gcc 2008-02-07 14:54:45 -08:00
ppc scheduled OSS driver removal 2008-02-06 10:41:02 -08:00
s390 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
sh Use BOOTMEM_EXCLUSIVE for kdump 2008-02-07 08:42:25 -08:00
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-07 10:21:26 -08:00
sparc64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 2008-02-07 10:21:26 -08:00
um uml: make mconsole_stack namespace-aware 2008-02-05 09:44:32 -08:00
v850 Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
x86 SLUB: Alternate fast paths using cmpxchg_local 2008-02-07 17:47:41 -08:00
xtensa calibrate_delay() must be __cpuinit 2008-02-06 10:41:08 -08:00
.gitignore
Kconfig Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig 2008-02-03 08:58:08 +01:00