seccomp: Add missing syscalls to fs device policy

BUG=none
TEST=`tast run <dut> vm.Fio.virtiofs`

Change-Id: I937df0be738e0aa302a4ad3e87ed33ff97afb4fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2089174
Tested-by: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Auto-Submit: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Chirantan Ekbote <chirantan@chromium.org>
This commit is contained in:
Chirantan Ekbote 2020-03-05 15:29:41 +09:00 committed by Commit Bot
parent ea6cf66ab5
commit 2977573365
3 changed files with 9 additions and 0 deletions

View file

@ -4,10 +4,13 @@
@include /usr/share/policy/crosvm/common_device.policy
fallocate: 1
fchmodat: 1
fchownat: 1
fdatasync: 1
fgetxattr: 1
fsetxattr: 1
fsync: 1
newfstatat: 1
fstatfs: 1
ftruncate: 1

View file

@ -4,12 +4,15 @@
@include /usr/share/policy/crosvm/common_device.policy
fallocate: 1
fchmodat: 1
fchownat: 1
fdatasync: 1
fgetxattr: 1
fsetxattr: 1
fstatat64: 1
fstatfs64: 1
fsync: 1
ftruncate64: 1
getdents64: 1
getegid32: 1

View file

@ -4,11 +4,14 @@
@include /usr/share/policy/crosvm/common_device.policy
fallocate: 1
fchmodat: 1
fchownat: 1
fdatasync: 1
fgetxattr: 1
fsetxattr: 1
fstatfs: 1
fsync: 1
ftruncate: 1
getdents64: 1
getegid: 1