add getdents64 to policies

glibc 2.32 is using getdents64 syscall instead of getdents.
So add getdents64 to policies that already have getdents.

BUG=chromium:1171287
TEST=CQ

Change-Id: Icbe1da7cbf669432c8160779a9cbfdeb04db57c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2760299
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Auto-Submit: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
This commit is contained in:
Manoj Gupta 2021-03-15 10:35:07 -07:00 committed by Commit Bot
parent 6a88a5d986
commit 19ad688208
3 changed files with 3 additions and 0 deletions

View file

@ -54,6 +54,7 @@ fstat: 1
# Used to set of size new memfd.
ftruncate: 1
getdents: 1
getdents64: 1
geteuid: 1
getrandom: 1
getuid: 1

View file

@ -9,6 +9,7 @@ clock_getres: 1
connect: 1
fcntl: arg1 == F_GETFL || arg1 == F_SETFL || arg1 == F_DUPFD_CLOEXEC || arg1 == F_GETFD || arg1 == F_SETFD
getdents: 1
getdents64: 1
getegid: 1
geteuid: 1
getgid: 1

View file

@ -39,4 +39,5 @@ ioctl: arg1 == 0xc0185500 || arg1 == 0x41045508 || arg1 == 0x8004550f || arg1 ==
fstat: 1
getrandom: 1
getdents: 1
getdents64: 1
lseek: 1