summaryrefslogtreecommitdiffstats
path: root/fs/proc/namespaces.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2017-11-30 15:35:44 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-12-10 12:50:57 -0800
commitd70ef22892ed6c066e51e118b225923c9b74af34 (patch)
tree8a650ea3b1fe83e418607e5c8c40f7ec24e1eef8 /fs/proc/namespaces.c
parent51090c5d6de08cfc86b2d861775dedddd9a2c023 (diff)
downloadlinux-stable-d70ef22892ed6c066e51e118b225923c9b74af34.tar.gz
linux-stable-d70ef22892ed6c066e51e118b225923c9b74af34.tar.bz2
linux-stable-d70ef22892ed6c066e51e118b225923c9b74af34.zip
futex: futex_wake_op, fix sign_extend32 sign bits
sign_extend32 counts the sign bit parameter from 0, not from 1. So we have to use "11" for 12th bit, not "12". This mistake means we have not allowed negative op and cmp args since commit 30d6e0a4190d ("futex: Remove duplicated code and fix undefined behaviour") till now. Fixes: 30d6e0a4190d ("futex: Remove duplicated code and fix undefined behaviour") Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Ingo Molnar <mingo@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Darren Hart <dvhart@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/namespaces.c')
0 files changed, 0 insertions, 0 deletions