diff options
Diffstat (limited to 'seccomp')
-rw-r--r-- | seccomp/aarch64/wl_device.policy | 4 | ||||
-rw-r--r-- | seccomp/x86_64/wl_device.policy | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/seccomp/aarch64/wl_device.policy b/seccomp/aarch64/wl_device.policy index 9f21169..52bf028 100644 --- a/seccomp/aarch64/wl_device.policy +++ b/seccomp/aarch64/wl_device.policy @@ -30,8 +30,8 @@ write: 1 eventfd2: 1 # Used to connect to wayland. arg0 == AF_UNIX && arg1 == SOCK_STREAM|SOCK_CLOEXEC socket: arg0 == 1 && arg1 == 0x80001 && arg2 == 0 -# arg1 == FIONBIO -ioctl: arg1 == 0x5421 +# arg1 == FIONBIO || arg1 == DMA_BUF_IOCTL_SYNC +ioctl: arg1 == 0x5421 || arg1 == 0x40086200 connect: arg2 == 13 # Used to communicate with wayland recvmsg: 1 diff --git a/seccomp/x86_64/wl_device.policy b/seccomp/x86_64/wl_device.policy index 045e40f..cb8d6e4 100644 --- a/seccomp/x86_64/wl_device.policy +++ b/seccomp/x86_64/wl_device.policy @@ -1,3 +1,7 @@ +# Copyright 2018 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + close: 1 dup: 1 dup2: 1 @@ -25,8 +29,8 @@ write: 1 eventfd2: 1 # Used to connect to wayland. arg0 == AF_UNIX && arg1 == SOCK_STREAM|SOCK_CLOEXEC socket: arg0 == 1 && arg1 == 0x80001 && arg2 == 0 -# arg1 == FIONBIO -ioctl: arg1 == 0x5421 +# arg1 == FIONBIO || arg1 == DMA_BUF_IOCTL_SYNC +ioctl: arg1 == 0x5421 || arg1 == 0x40086200 connect: arg2 == 13 # Used to communicate with wayland recvmsg: 1 |