From 98ca995c395905a6fe9d9d6394399d5336ef2608 Mon Sep 17 00:00:00 2001 From: Zach Reizner Date: Fri, 20 Jul 2018 16:47:21 -0700 Subject: [PATCH] wl: add pipe2 and fcntl64 to wl_device.policy These syscalls were added to the x86 policy when vfd pipe support was added, but they were never added to the arm version, for whatever reason. This is needed to keep crosvm from getting killed by SIGSYS whenver the user copies to or from guest applications. BUG=chromium:864218 TEST=on kevin, copy/paste to/from gedit Change-Id: Ibe385d50e367c362e911badd640bab2c98e07030 Reviewed-on: https://chromium-review.googlesource.com/1145876 Commit-Ready: Zach Reizner Tested-by: Zach Reizner Reviewed-by: Stephen Barber Reviewed-by: Zach Reizner --- seccomp/aarch64/wl_device.policy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/seccomp/aarch64/wl_device.policy b/seccomp/aarch64/wl_device.policy index 52bf028e85..7d0c7cb1e0 100644 --- a/seccomp/aarch64/wl_device.policy +++ b/seccomp/aarch64/wl_device.policy @@ -45,6 +45,9 @@ _llseek: 1 # Allow PR_SET_NAME only. prctl: arg0 == 15 restart_syscall: 1 +# Allow F_GETFL only +fcntl64: arg1 == 3 +pipe2: 1 epoll_create1: 1 epoll_ctl: 1 epoll_wait: 1