mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
cdedd7000a
newfstatat has been added to a few policies for the two 64bit architectures, but some more require it to avoid crashes, so add it to all which contain fstat or statx. BUG=b:187795909 TEST=CQ Change-Id: I3cd0f5379b87102caa256503a888c5a1aa4103b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3198571 Commit-Queue: Manoj Gupta <manojgupta@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
24 lines
480 B
Text
24 lines
480 B
Text
# Copyright 2017 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
|
|
|
|
fallocate: 1
|
|
fdatasync: 1
|
|
fstat: 1
|
|
fsync: 1
|
|
ftruncate: 1
|
|
lseek: 1
|
|
open: return ENOENT
|
|
openat: return ENOENT
|
|
newfstatat: 1
|
|
pread64: 1
|
|
preadv: 1
|
|
pwrite64: 1
|
|
pwritev: 1
|
|
statx: 1
|
|
timerfd_create: 1
|
|
timerfd_gettime: 1
|
|
timerfd_settime: 1
|
|
prctl: arg0 == PR_SET_NAME
|