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
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
x86_64 linux-user: correct timerfd_create syscall numbers 2016-02-23 21:25:10 +02:00
elfload.c
errno_defs.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c
m68k-sim.c
main.c linux-user: Use restrictive mask when calling cpsr_write() 2016-02-26 15:09:41 +00:00
Makefile.objs
mmap.c
qemu.h
signal.c linux-user: Use restrictive mask when calling cpsr_write() 2016-02-26 15:09:41 +00:00
socket.h
strace.c
strace.list
syscall_defs.h
syscall_types.h
syscall.c linux-user: add getrandom() syscall 2016-02-24 15:22:15 +02:00
target_flat.h
uaccess.c
uname.c
uname.h
vm86.c