mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-12 16:45:31 +00:00
crosvm: aarch64: fix truncate on wayland policy
Like block_device, also needs to use ftruncate64 instead of ftruncate. BUG=chromium:840048 TEST=manual test of graphics on kevin Change-Id: Ib24b12fd681c96ecc2fec796fe480e94a96a0626 Reviewed-on: https://chromium-review.googlesource.com/1050916 Commit-Ready: Sonny Rao <sonnyrao@chromium.org> Tested-by: Sonny Rao <sonnyrao@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
parent
17bd06f65b
commit
0ac9254f9a
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ sendmsg: 1
|
|||
# Used for sharing memory with wayland. arg1 == MFD_CLOEXEC|MFD_ALLOW_SEALING
|
||||
memfd_create: arg1 == 3
|
||||
# Used to set of size new memfd
|
||||
ftruncate: 1
|
||||
ftruncate64: 1
|
||||
# Used to determine shm size after recvmsg with fd
|
||||
_llseek: 1
|
||||
# Allow PR_SET_NAME only.
|
||||
|
|
Loading…
Reference in a new issue