diff options
author | Stephen Boyd <swboyd@chromium.org> | 2019-12-02 10:28:28 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-06 19:06:34 +0000 |
commit | cef1079c2058457bc9485fc0f41f5fe1d592e715 (patch) | |
tree | bf2425953d87e4253d85fedf6c1cf526668ee0ee /seccomp/aarch64/9p_device.policy | |
parent | 92a2c49349404b4ba90941e18e8a828beca52390 (diff) | |
download | crosvm-cef1079c2058457bc9485fc0f41f5fe1d592e715.tar crosvm-cef1079c2058457bc9485fc0f41f5fe1d592e715.tar.gz crosvm-cef1079c2058457bc9485fc0f41f5fe1d592e715.tar.bz2 crosvm-cef1079c2058457bc9485fc0f41f5fe1d592e715.tar.lz crosvm-cef1079c2058457bc9485fc0f41f5fe1d592e715.tar.xz crosvm-cef1079c2058457bc9485fc0f41f5fe1d592e715.tar.zst crosvm-cef1079c2058457bc9485fc0f41f5fe1d592e715.zip |
seccomp: Add initial arm64 seccomp filters
BUG=chromium:1029666 TEST=tast run crostini.LaunchTerminal.download_buster Change-Id: I8fa7dc9df4d5f0144aed80fcd60307036fc7e16d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1946765 Reviewed-by: Stephen Barber <smbarber@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Stephen Barber <smbarber@chromium.org> Commit-Queue: Stephen Barber <smbarber@chromium.org>
Diffstat (limited to 'seccomp/aarch64/9p_device.policy')
-rw-r--r-- | seccomp/aarch64/9p_device.policy | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/seccomp/aarch64/9p_device.policy b/seccomp/aarch64/9p_device.policy new file mode 100644 index 0000000..f52e971 --- /dev/null +++ b/seccomp/aarch64/9p_device.policy @@ -0,0 +1,26 @@ +# 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 + +pread64: 1 +pwrite64: 1 +statx: 1 +openat: 1 +fstat: 1 +ioctl: arg1 == FIOCLEX +getdents64: 1 +fdatasync: 1 +fsync: 1 +mkdirat: 1 +renameat: 1 +writev: 1 +linkat: 1 +unlinkat: 1 +socket: arg0 == AF_UNIX +utimensat: 1 +ftruncate: 1 +fchown: arg1 == 0xffffffff && arg2 == 0xffffffff +statfs: 1 +newfstatat: 1 |