On Wed, Nov 6, 2019 at 8:47 PM Arnd Bergmann arnd@arndb.de 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