mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
seccomp: Update 9p policy
Add newfstatat for x86 and fstatat64 for arm to the seccomp policy file for the 9p device and server program. BUG=chromium:886535 TEST=`vmc share termina foo` and then `ls /mnt/shared` inside the VM works Change-Id: I6871f54ae885e080dca0ea5751987d59c55a59d6 Signed-off-by: Chirantan Ekbote <chirantan@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1232556 Reviewed-by: Stephen Barber <smbarber@chromium.org>
This commit is contained in:
parent
5abdc78c82
commit
0a4f280e3a
4 changed files with 4 additions and 0 deletions
|
@ -52,3 +52,4 @@ utimensat: 1
|
|||
ftruncate64: 1
|
||||
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff
|
||||
statfs64: 1
|
||||
fstatat64: 1
|
||||
|
|
|
@ -59,3 +59,4 @@ rmdir: 1
|
|||
# Calling fchown with -1 as the uid/gid will change the ctime but do nothing else.
|
||||
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff
|
||||
mremap: 1
|
||||
fstatat64: 1
|
||||
|
|
|
@ -52,3 +52,4 @@ utimensat: 1
|
|||
ftruncate: 1
|
||||
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff
|
||||
statfs: 1
|
||||
newfstatat: 1
|
||||
|
|
|
@ -58,3 +58,4 @@ ftruncate: 1
|
|||
mkdir: 1
|
||||
mremap: 1
|
||||
rename: 1
|
||||
newfstatat: 1
|
||||
|
|
Loading…
Reference in a new issue