xref: /aosp_15_r20/external/crosvm/jail/seccomp/arm/block_device.policy (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1# Copyright 2018 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
7fallocate: 1
8fdatasync: 1
9fstat64: 1
10fstatat64: 1
11fsync: 1
12# 0x1277 == BLKDISCARD.
13ioctl: arg1 == 0x1277
14open: return ENOENT
15openat: return ENOENT
16pread64: 1
17preadv: 1
18pwrite64: 1
19pwritev: 1
20statx: 1
21timerfd_create: 1
22timerfd_gettime: 1
23timerfd_gettime64: 1
24timerfd_settime: 1
25timerfd_settime64: 1
26prctl: arg0 == PR_SET_NAME
27