summaryrefslogtreecommitdiffstats
path: root/fs/pipe.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-25 15:34:53 +0100
committerJens Axboe <axboe@kernel.dk>2019-03-25 10:06:03 -0600
commit9e75ad5d8f399a21c86271571aa630dd080223e2 (patch)
tree6928ca0e842d8421e4cf2323e4403be71b22c7b0 /fs/pipe.c
parent85fae294e1a506b4213668716acb586bd6b4ae1e (diff)
downloadlinux-9e75ad5d8f399a21c86271571aa630dd080223e2.tar.bz2
io_uring: fix big-endian compat signal mask handling
On big-endian architectures, the signal masks are differnet between 32-bit and 64-bit tasks, so we have to use a different function for reading them from user space. io_cqring_wait() initially got this wrong, and always interprets this as a native structure. This is ok on x86 and most arm64, but not on s390, ppc64be, mips64be, sparc64 and parisc. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions