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 <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
This commit is contained in:
Zach Reizner 2018-07-20 16:47:21 -07:00 committed by chrome-bot
parent cd2d4fe45e
commit 98ca995c39

View file

@ -45,6 +45,9 @@ _llseek: 1
# Allow PR_SET_NAME only. # Allow PR_SET_NAME only.
prctl: arg0 == 15 prctl: arg0 == 15
restart_syscall: 1 restart_syscall: 1
# Allow F_GETFL only
fcntl64: arg1 == 3
pipe2: 1
epoll_create1: 1 epoll_create1: 1
epoll_ctl: 1 epoll_ctl: 1
epoll_wait: 1 epoll_wait: 1