Re: [PATCH v2 1/2] futex: futex_wake_op, do not fail on invalid op

2017-11-02 Thread Linus Torvalds
On Wed, Nov 1, 2017 at 11:54 PM, Jiri Slaby wrote: > > is this OK/going to be applied to 4.14 yet or postponed to 4.15-rc? Thanks for reminding me, I applied it directly. Linus

Re: [PATCH v2 1/2] futex: futex_wake_op, do not fail on invalid op

2017-11-01 Thread Jiri Slaby
Hi, is this OK/going to be applied to 4.14 yet or postponed to 4.15-rc? On 10/23/2017, 01:41 PM, Jiri Slaby wrote: > In 30d6e0a4190d ("futex: Remove duplicated code and fix undefined > behaviour"), I let FUTEX_WAKE_OP to fail on invalid op. Namely when > op should be considered as shift and the s

[PATCH v2 1/2] futex: futex_wake_op, do not fail on invalid op

2017-10-23 Thread Jiri Slaby
In 30d6e0a4190d ("futex: Remove duplicated code and fix undefined behaviour"), I let FUTEX_WAKE_OP to fail on invalid op. Namely when op should be considered as shift and the shift is out of range (< 0 or > 31). But strace's test suite does this madness: futex(0x7fabd78bcffc, 0x5, 0xfacefeed, 0xb,