fix REQ-19: some syscalls change how to access user space

This commit is contained in:
Tomoki Shirasawa
2016-03-27 11:43:53 +09:00
parent b0096a2740
commit 1195549f41
2 changed files with 21 additions and 5 deletions

View File

@@ -251,7 +251,7 @@ static int cmpxchg_futex_value_locked(uint32_t __user *uaddr, uint32_t uval, uin
static int get_futex_value_locked(uint32_t *dest, uint32_t *from)
{
/* RIKEN: futexes are always on not swappable pages */
*dest = *from;
*dest = getint_user((int *)from);
return 0;
}