summary refs log tree commit diff
path: root/seccomp/x86_64/vfio_device.policy
blob: aa28d1ad40e01d1ddb2b83a71518aec032c4fb0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright 2019 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.
@include /usr/share/policy/crosvm/common_device.policy

# VFIO_DEVICE_SET_IRQS, VFIO_IOMMU_MAP/UNMAP_DMA
ioctl: arg1 == 0x3B6E || arg1 == 0x3B71 || arg1 == 0x3B72
open: return ENOENT
openat: return ENOENT
readlink: 1
pread64: 1
pwrite64: 1