linux-user: fix futex strace of FUTEX_CLOCK_REALTIME
Handle same as existing FUTEX_PRIVATE_FLAG. Signed-off-by: John Rigby <john.rigby@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
parent
cce246e0a2
commit
bfb669f39f
@ -1497,6 +1497,12 @@ if( cmd == val ) { \
|
|||||||
gemu_log("FUTEX_PRIVATE_FLAG|");
|
gemu_log("FUTEX_PRIVATE_FLAG|");
|
||||||
cmd &= ~FUTEX_PRIVATE_FLAG;
|
cmd &= ~FUTEX_PRIVATE_FLAG;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#ifdef FUTEX_CLOCK_REALTIME
|
||||||
|
if (cmd & FUTEX_CLOCK_REALTIME) {
|
||||||
|
gemu_log("FUTEX_CLOCK_REALTIME|");
|
||||||
|
cmd &= ~FUTEX_CLOCK_REALTIME;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
print_op(FUTEX_WAIT)
|
print_op(FUTEX_WAIT)
|
||||||
print_op(FUTEX_WAKE)
|
print_op(FUTEX_WAKE)
|
||||||
|
Loading…
Reference in New Issue
Block a user