]> git.proxmox.com Git - qemu.git/commit
linux-user/syscall.c: handle FUTEX_WAIT_BITSET in do_futex
authorJohn Rigby <john.rigby@linaro.org>
Sat, 23 Feb 2013 23:14:07 +0000 (16:14 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 2 Apr 2013 20:48:35 +0000 (15:48 -0500)
commit02493ee4906715e73bb98f6778a19b37924347e0
tree22c1f69dd14accf83900394018d85c1eb7299469
parent7d47b243d6dff50906bbdba1acb1090ee0c4937f
linux-user/syscall.c: handle FUTEX_WAIT_BITSET in do_futex

Upstream libc has recently changed to start using
FUTEX_WAIT_BITSET instead of FUTEX_WAIT and this
is causing do_futex to return -TARGET_ENOSYS.

Pass bitset in val3 to sys_futex which will be
ignored by kernel for the FUTEX_WAIT case.

Signed-off-by: John Rigby <john.rigby@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
(cherry picked from commit cce246e0a21577bb2372ab3a7d6789371e087de9)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
linux-user/syscall.c