qemu-e2k/linux-user
Peter Maydell ae08792301 linux-user: Use restrictive mask when calling cpsr_write()
When linux-user code is calling cpsr_write(), use a restrictive
mask to ensure we are limiting the set of CPSR bits we update.
In particular, don't allow the mode bits to be changed.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1455556977-3644-5-git-send-email-peter.maydell@linaro.org
2016-02-26 15:09:41 +00:00
..
aarch64 linux-user: remove unavailable syscalls from aarch64 2016-02-23 21:25:10 +02:00
alpha linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
arm target-arm: Add write_type argument to cpsr_write() 2016-02-26 15:09:41 +00:00
cris linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
i386 linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
m68k linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
microblaze linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
mips build: [linux-user] Rename "syscall.h" to "target_syscall.h" in target directories 2016-02-23 21:25:09 +02:00
mips64 linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
openrisc linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
ppc linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
s390x linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
sh4 linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
sparc linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
sparc64 linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
tilegx linux-user: sync syscall numbers with kernel 2016-02-23 21:25:10 +02:00
unicore32 build: [linux-user] Rename "syscall.h" to "target_syscall.h" in target directories 2016-02-23 21:25:09 +02:00
x86_64 linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
Makefile.objs
elfload.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
errno_defs.h
flat.h
flatload.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
ioctls.h
linux_loop.h
linuxload.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
m68k-sim.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
main.c linux-user: Use restrictive mask when calling cpsr_write() 2016-02-26 15:09:41 +00:00
mmap.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
qemu.h build: [linux-user] Rename "syscall.h" to "target_syscall.h" in target directories 2016-02-23 21:25:09 +02:00
signal.c linux-user: Use restrictive mask when calling cpsr_write() 2016-02-26 15:09:41 +00:00
socket.h
strace.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
strace.list
syscall.c linux-user: add getrandom() syscall 2016-02-24 15:22:15 +02:00
syscall_defs.h linux-user: Add SOCKOP_sendmmsg and SOCKOP_recvmmsg socket call, wire them up. 2016-01-11 14:54:03 +02:00
syscall_types.h
target_flat.h
uaccess.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
uname.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00
uname.h
vm86.c linux-user: Clean up includes 2016-01-29 15:07:22 +00:00