Re: [PATCH 1/2] io_uring: fix big-endian compat signal mask handling
From: Jens Axboe
Date: Mon Mar 25 2019 - 12:15:16 EST
On 3/25/19 10:11 AM, Arnd Bergmann wrote:
> On Mon, Mar 25, 2019 at 5:05 PM Jens Axboe <axboe@xxxxxxxxx> wrote:
>> On 3/25/19 8:34 AM, Arnd Bergmann wrote:
>>> 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.
>> Thanks Arnd, applied.
>> Was there a 2/2 patch? I only received this one, 1/2.
> Sorry I missed you on Cc:
> This one went out to all the affected arch maintainers.
Ah gotcha, just wanted to make sure I didn't miss a patch.