From 129bc9c2c82bb5bc10e0e544d8edd0881c0d5096 Mon Sep 17 00:00:00 2001 From: Zach Reizner Date: Tue, 27 Mar 2018 11:09:29 -0700 Subject: wl: add pipe vfd support Pipe VFDs are used to send and recieve data offer bytes, often used for copy/paste and drag/drop operations. TEST=use copy/paste with wayland app BUG=chromium:793688 Change-Id: Ifc3f231dcdf90ce6791a98039405c7c404cf6942 Reviewed-on: https://chromium-review.googlesource.com/983037 Commit-Ready: Zach Reizner Tested-by: Zach Reizner Reviewed-by: Stephen Barber --- seccomp/x86_64/wl_device.policy | 3 +++ 1 file changed, 3 insertions(+) (limited to 'seccomp') diff --git a/seccomp/x86_64/wl_device.policy b/seccomp/x86_64/wl_device.policy index 1db9244..1bffe8e 100644 --- a/seccomp/x86_64/wl_device.policy +++ b/seccomp/x86_64/wl_device.policy @@ -40,3 +40,6 @@ lseek: 1 # Allow PR_SET_NAME only. prctl: arg0 == 15 restart_syscall: 1 +# Allow F_GETFL only +fcntl: arg1 == 3 +pipe2: 1 \ No newline at end of file -- cgit 1.4.1