New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 801232 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

virtio-wayland: using ioctls from 32-bit application on 64-bit kernel returns ENOTTY

Project Member Reported by za...@chromium.org, Jan 11 2018

Issue description

This seems to be caused by the lack of compat_ioctl entry in the struct file_operations for the wayland driver's files.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 12 2018

Labels: merge-merged-chromeos-4.4
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/8da564a49164494b21d9e55397f5c4e375021def

commit 8da564a49164494b21d9e55397f5c4e375021def
Author: Zach Reizner <zachr@google.com>
Date: Fri Jan 12 03:37:42 2018

CHROMIUM: virtwl: add compat_ioctl entry for each struct file_operations

TEST=use wayland 32-bit app in 64-bit kernel
BUG= chromium:801232 

Change-Id: I95813689763ffb5fad1c43ccc94acd0e00faf185
Signed-off-by: Zach Reizner <zachr@google.com>
Reviewed-on: https://chromium-review.googlesource.com/861951
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>

[modify] https://crrev.com/8da564a49164494b21d9e55397f5c4e375021def/drivers/virtio/virtio_wl.c

Comment 2 by za...@chromium.org, Jan 12 2018

Status: Fixed (was: Started)
Project Member

Comment 3 by bugdroid1@chromium.org, Jan 12 2018

Labels: merge-merged-chromeos-4.14
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/kernel/+/068ad248455710d7c4f3cbaba804d3e57756609d

commit 068ad248455710d7c4f3cbaba804d3e57756609d
Author: Zach Reizner <zachr@google.com>
Date: Fri Jan 12 22:31:19 2018

CHROMIUM: virtwl: add compat_ioctl entry for each struct file_operations

TEST=use wayland 32-bit app in 64-bit kernel
BUG= chromium:801232 

Change-Id: I95813689763ffb5fad1c43ccc94acd0e00faf185
Signed-off-by: Zach Reizner <zachr@google.com>
Reviewed-on: https://chromium-review.googlesource.com/861951
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
(cherry picked from commit 8da564a49164494b21d9e55397f5c4e375021def)
Reviewed-on: https://chromium-review.googlesource.com/864723

[modify] https://crrev.com/068ad248455710d7c4f3cbaba804d3e57756609d/drivers/virtio/virtio_wl.c

Components: OS>Systems>Containers

Sign in to add a comment