Re: [PATCH v3 3/8] media: v4l2-core: ignore native command codes

From: Arnd Bergmann
Date: Wed Nov 06 2019 - 15:19:19 EST


On Wed, Nov 6, 2019 at 8:47 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> The do_video_ioctl() compat handler converts the compat command
> codes into the native ones before processing further, but this
> causes problems for 32-bit user applications that pass a command
> code that matches a 64-bit native number, which will then be
> handled the same way.

I noticed that a change to the subject line made this one less
obvious, I've changed it to "media: v4l2-core: compat: ignore native
command codes" in my tree now.

Arnd