mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-28 17:44:10 +00:00
2449288cc8
The p9 crate API changed so that the new() function now returns a result. Update the caller to match. Additionally, the implementation also changed to use different syscalls so update the seccomp filters to match. BUG=b:162388795 TEST=Start a vm with a 9p mount and test the changed operations to make sure they still work. Cq-Depend: chromium:2494169 Change-Id: I7c4e1fd2fb192206402e895b09e519c3e769ae3c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2494328 Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> Tested-by: Chirantan Ekbote <chirantan@chromium.org>
28 lines
520 B
Text
28 lines
520 B
Text
# 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.
|
|
|
|
openat: 1
|
|
|
|
@include /usr/share/policy/crosvm/common_device.policy
|
|
|
|
fcntl: 1
|
|
pread64: 1
|
|
pwrite64: 1
|
|
statx: 1
|
|
fstat: 1
|
|
ioctl: arg1 == FIOCLEX
|
|
lseek: 1
|
|
getdents64: 1
|
|
fdatasync: 1
|
|
fsync: 1
|
|
mkdirat: 1
|
|
renameat: 1
|
|
linkat: 1
|
|
unlinkat: 1
|
|
socket: arg0 == AF_UNIX
|
|
utimensat: 1
|
|
ftruncate: 1
|
|
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff
|
|
fstatfs: 1
|
|
newfstatat: 1
|