mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
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 6792731800
)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3690465
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
0ce5c0dc4c
commit
0a60f55c24
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ statx: 1
|
|||
# 0x80185520 == USBDEVFS_CONNINFO_EX
|
||||
ioctl: arg1 == 0xc0105500 || arg1 == 0x802c550a || arg1 == 0x8004551a || arg1 == 0x4004550d || arg1 == 0x8004550f || arg1 == 0x80045510 || arg1 == 0x80045515 || arg1 == 0x550b || arg1 == 0x5514 || arg1 == 0x80045505 || arg1 == 0x8108551b || arg1 == 0x40085511 || arg1 == 0x80185520
|
||||
fstat: 1
|
||||
fstat64: 1
|
||||
fstatat64: 1
|
||||
getrandom: 1
|
||||
getdents: 1
|
||||
_llseek: 1
|
||||
|
|
Loading…
Reference in a new issue