[PATCH 1/8] Fix FUTEX_WAKE_OP compare function mask

Dmitry V. Levin ldv at altlinux.org
Mon Aug 29 17:21:34 UTC 2016


On Mon, Aug 29, 2016 at 06:10:44PM +0300, Eugene Syromyatnikov wrote:
> * futex.c (SYS_FUNC(futex)) <FUTEX_WAKE_OP>: compare function does not
>   have FUTEX_OP_OPARG_SHIFT flag and occupies 4 bits from bit 24 to bit
>   27, as per both initial and current (v4.7) kernel implementations, so
>   bring futex parser in accordance with this.

Sorry but kernel's futex_wake_op() uses FUTEX_OP_OPARG_SHIFT via
futex_atomic_op_inuser().


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160829/610f13be/attachment.bin>


More information about the Strace-devel mailing list