commit | e7db3a5cc78ca90ab06aadd5f08bb151090269b6 | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Thu May 26 05:20:33 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 01 00:13:12 2022 |
tree | eedf9a70a7633036d8060b7bfe96000feb1bed78 | |
parent | 35db986f4559d3c8551f4549195ef4efbfbf3fe3 [diff] |
seccomp: arm: allow fstatat for xhci glibc 2.33 uses the fstatat64 syscall to implement statx(), which is called by the USB emulation code when a device is added. Allow it along with fstat64 to fix a crash on USB device insertion. aarch64 and x86_64 use the newfstatat syscall instead, so they do not need to be adjusted. BUG=chromium:1328120 TEST=Attach yubikey to Crostini on kevin Change-Id: I6a592e25126a5baebdbc8839ba11b971950f4575 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3671085 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Dmitry Torokhov <dtor@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> (cherry picked from commit 67927318009002b074062acd9fcadfc4f14272e9) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3682199 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: Daniel Verkamp <dverkamp@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.