Re: [PATCH v2 20/27] compat_ioctl: simplify the implementation

From: youling 257
Date: Fri Feb 07 2020 - 15:02:35 EST


Test [PATCH] compat_ioctl: fix FIONREAD on devices, fixed my problem.

2020-02-08 1:06 GMT+08:00, Arnd Bergmann <arnd@xxxxxxxx>:
> On Fri, Feb 7, 2020 at 8:22 AM youling257 <youling257@xxxxxxxxx> wrote:
>>
>> This patch cause a problem on 64bit kernel 32bit userspace.
>> My 32bit Androidx86 userspace run on 64bit mainline kernel, this patch
>> caused some app not detect root permission.
>
> Thanks for you work in bisecting the issue to my patch, sorry to have
> caused you trouble. After Christian Zigotzky
> also reported a problem in this file, I have been able to find a
> specific bug and just submitted a patch for it.
>
> Please have a look if that fix addresses your problem, as it's
> possible that there was more than one bug introduced
> by the original patch.
>
> Arnd
>