criu/arch/arm
Alexander Kartashov a94512dc13 arm: reset the CPSR.T bit when executing the infected code
The infected code must be executed in the ARM mode but the dumpee
may run in the Thumb mode while being dumped so the bit CPSR.T
may be set when the control is transfered to the infected blobs
so this code is executed in the Thumb mode too.

We have to clear the bit CPSR.T before transfering control
to the infected code to prevent the behavior described above.

Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com>
Reported-by: Chanho Park <chanho61.park@samsusng.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2013-05-07 22:41:02 +04:00
..
include/asm headers: types.h -- Move uX types to int.h header 2013-04-02 20:31:51 +04:00
cpu.c arm: added CPU-specific header inclusion 2013-02-20 14:54:42 +04:00
crtools.c arm: reset the CPSR.T bit when executing the infected code 2013-05-07 22:41:02 +04:00
gen-sys-exec-tbl.pl arm: added ARM-specific files modelled after arch/x86 2013-01-22 22:53:24 +04:00
gen-syscalls.pl arm: added ARM-specific files modelled after arch/x86 2013-01-22 22:53:24 +04:00
Makefile make: arm -- Use syscalls-asm-y-asmflags instead of CFLAGS 2013-02-23 00:37:06 +04:00
parasite-head.S arm: fixup the parasite arguments automatically 2013-03-05 20:09:21 +04:00
restorer.c arm: added CPU-specific header inclusion 2013-02-20 14:54:42 +04:00
syscall-common.S arm: added architecture-specific implementation of __cr_restore_rt 2013-03-25 23:44:16 +04:00
syscall.def arm: added the descriptions of the syscalls pread64, rt_sigqueueinfo, signalfd4, rt_tgsigqueueinfo 2013-03-25 23:44:13 +04:00
uidiv.S arm: added ARM-specific files modelled after arch/x86 2013-01-22 22:53:24 +04:00