mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 01:16:50 +00:00
devices: xhci: allow statx syscall on x86_64
Recent builds (starting R100.14501.0.0) crash when attaching a USB
device to the Linux VM due to calling the statx syscall, which was
missing from the seccomp policy. stat was already allowed, so add statx
as well to prevent the crash.
The change is likely due to the upgrade of the Rust toolchain in the
Chrome OS SDK (https://crrev.com/c/3439725), which landed in this build.
This was already allowed on arm/aarch64, so no other changes are
required.
BUG=b:218565401
TEST=Attach USB device to crosvm on hatch
Change-Id: Ia3a383429a839c68b44040f4b99c990a1f1f8e9d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3448188
Reviewed-by: Long Cheng <lgcheng@google.com>
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
(cherry picked from commit cb3749e632
)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3457198
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
fdb9885c38
commit
bdf5e4d437
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ open: return ENOENT
|
|||
openat: 1
|
||||
socket: arg0 == AF_NETLINK
|
||||
stat: 1
|
||||
statx: 1
|
||||
# The following ioctls are:
|
||||
# 0x4008550d == USBDEVFS_REAPURBNDELAY
|
||||
# 0x41045508 == USBDEVFS_GETDRIVER
|
||||
|
|
Loading…
Reference in a new issue