Revision 1713e5aa05fff3951e747548b373bd2c81be4e7a authored by Marc Zyngier on 16 September 2015, 09:54:37 UTC, committed by Marc Zyngier on 16 September 2015, 13:50:04 UTC
When setting the debug register from userspace, make sure that copy_from_user() is called with its parameters in the expected order. It otherwise doesn't do what you think. Fixes: 84e690bfbed1 ("KVM: arm64: introduce vcpu->arch.debug_ptr") Reported-by: Peter Maydell <peter.maydell@linaro.org> Cc: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent 43297dd
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 254 bytes |
af_rose.c | -rw-r--r-- | 37.4 KB |
rose_dev.c | -rw-r--r-- | 3.1 KB |
rose_in.c | -rw-r--r-- | 7.5 KB |
rose_link.c | -rw-r--r-- | 6.7 KB |
rose_loopback.c | -rw-r--r-- | 2.7 KB |
rose_out.c | -rw-r--r-- | 2.8 KB |
rose_route.c | -rw-r--r-- | 31.3 KB |
rose_subr.c | -rw-r--r-- | 12.3 KB |
rose_timer.c | -rw-r--r-- | 4.9 KB |
sysctl_net_rose.c | -rw-r--r-- | 3.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...