diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-01-07 11:28:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 11:36:15 +0100 |
commit | 0ecdfd3ee93b10635ce88b36efd61e781db85698 (patch) | |
tree | 6f7865f7fbd5d39d104329feb6e538d56e55632a /Documentation | |
parent | 6a5f0160d5c1f27b183aa689c1f63dd8a7c8607a (diff) | |
download | linux-0ecdfd3ee93b10635ce88b36efd61e781db85698.tar.gz linux-0ecdfd3ee93b10635ce88b36efd61e781db85698.tar.bz2 linux-0ecdfd3ee93b10635ce88b36efd61e781db85698.zip |
s390/futex: Fix FUTEX_OP_ANDN implementation
commit 26701574cee6777f867f89b4a5c667817e1ee0dd upstream.
The futex operation FUTEX_OP_ANDN is supposed to implement
*(int *)UADDR2 &= ~OPARG;
The s390 implementation just implements an AND instead of ANDN.
Add the missing bitwise not operation to oparg to fix this.
This is broken since nearly 19 years, so it looks like user space is
not making use of this operation.
Fixes: 3363fbdd6fb4 ("[PATCH] s390: futex atomic operations")
Cc: stable@vger.kernel.org
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions