From dafdbc01cbdd318180b6f28dbc6d05b60cf443b7 Mon Sep 17 00:00:00 2001 From: Sonny Rao Date: Thu, 26 Apr 2018 13:19:33 -0700 Subject: [PATCH] crosvm: aarch64: fix seccomp entry for ftruncate on aarch64 Aarch64 seems to use ftruncate64 rather than ftruncate. BUG=chromium:816692 TEST=run VM on kevin using concierge Change-Id: I944f52d75fb9f5a3aaf5fe9e85708c48f249bb1a Reviewed-on: https://chromium-review.googlesource.com/1031175 Commit-Ready: Sonny Rao Tested-by: Sonny Rao Reviewed-by: Stephen Barber Reviewed-by: Dylan Reid --- seccomp/aarch64/block_device.policy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seccomp/aarch64/block_device.policy b/seccomp/aarch64/block_device.policy index 2818412c08..f4d51354ea 100644 --- a/seccomp/aarch64/block_device.policy +++ b/seccomp/aarch64/block_device.policy @@ -7,7 +7,7 @@ dup: 1 dup2: 1 exit_group: 1 fstat64: 1 -ftruncate: 1 +ftruncate64: 1 futex: 1 _llseek: 1 # Disallow mmap with PROT_EXEC set. The syntax here doesn't allow bit