seccomp: 9p: Allow fchown and fchmod

Needed by upcoming implementation changes.

BUG=chromium:1082345,chromium:920262,chromium:912599
TEST=`emerge-$BOARD crosvm`

Change-Id: Id366cd9d0bb3af24e2445fdf897d6ef45ae88115
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2784163
Auto-Submit: Chirantan Ekbote <chirantan@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
This commit is contained in:
Chirantan Ekbote 2021-03-24 18:33:03 +09:00 committed by Commit Bot
parent fa4bf10955
commit 53ef751fb3
3 changed files with 6 additions and 3 deletions

View file

@ -23,6 +23,7 @@ unlinkat: 1
socket: arg0 == AF_UNIX socket: arg0 == AF_UNIX
utimensat: 1 utimensat: 1
ftruncate: 1 ftruncate: 1
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff fchmod: 1
fchown: 1
fstatfs: 1 fstatfs: 1
newfstatat: 1 newfstatat: 1

View file

@ -25,6 +25,7 @@ unlinkat: 1
socket: arg0 == AF_UNIX socket: arg0 == AF_UNIX
utimensat: 1 utimensat: 1
ftruncate64: 1 ftruncate64: 1
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff fchmod: 1
fchown: 1
fstatfs64: 1 fstatfs64: 1
fstatat64: 1 fstatat64: 1

View file

@ -25,6 +25,7 @@ fsync: 1
fdatasync: 1 fdatasync: 1
utimensat: 1 utimensat: 1
ftruncate: 1 ftruncate: 1
fchown: arg1 == 0xffffffff && arg2 == 0xffffffff fchmod: 1
fchown: 1
fstatfs: 1 fstatfs: 1
newfstatat: 1 newfstatat: 1