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:
Chirantan Ekbote 2018-09-18 18:29:15 -07:00 committed by chrome-bot
parent 5abdc78c82
commit 0a4f280e3a
4 changed files with 4 additions and 0 deletions

View file

@ -52,3 +52,4 @@ utimensat: 1
ftruncate64: 1
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff
statfs64: 1
fstatat64: 1

View file

@ -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

View file

@ -52,3 +52,4 @@ utimensat: 1
ftruncate: 1
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff
statfs: 1
newfstatat: 1

View file

@ -58,3 +58,4 @@ ftruncate: 1
mkdir: 1
mremap: 1
rename: 1
newfstatat: 1