xref: /aosp_15_r20/external/crosvm/jail/seccomp/arm/video_device.policy (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1# Copyright 2020 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5@include /usr/share/policy/crosvm/common_device.policy
6
7# Syscalls specific to video devices.
8access: 1
9clock_getres: 1
10clock_getres_time64: 1
11connect: 1
12fstatfs64: 1
13fstatfs: 1
14getegid32: 1
15geteuid32: 1
16getgid32: 1
17getrandom: 1
18getresgid32: 1
19getresuid32: 1
20getsockname: 1
21getuid32: 1
22# ioctl: arg1 == DRM_IOCTL_*
23ioctl: arg1 & 0x6400
24openat: 1
25send: 1
26setpriority: 1
27socket: arg0 == AF_UNIX
28socketpair: arg0 == AF_UNIX
29statx: 1
30stat64: 1
31prctl: arg0 == PR_SET_NAME
32