diff options
author | Manoj Gupta <manojgupta@google.com> | 2021-03-15 10:34:34 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-16 04:11:55 +0000 |
commit | bd9b68406eb1d8f70d3147b3c5ff4f1c0bc41410 (patch) | |
tree | 27fa73e920c1f10b7766f2024a2b4d84554da59d | |
parent | feef3598586c8b112ffee78a1b298bb84751f1cc (diff) | |
download | adhd-bd9b68406eb1d8f70d3147b3c5ff4f1c0bc41410.tar.gz |
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: Id9336af1cdad8414a4a5c291aff6cb473262e503
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2761160
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Auto-Submit: Manoj Gupta <manojgupta@chromium.org>
Commit-Queue: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
-rw-r--r-- | seccomp/cras-seccomp-amd64.policy | 1 | ||||
-rw-r--r-- | sound_card_init/seccomp/sound_card_init-seccomp-amd64.policy | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/seccomp/cras-seccomp-amd64.policy b/seccomp/cras-seccomp-amd64.policy index ddce47e7..afa6ace6 100644 --- a/seccomp/cras-seccomp-amd64.policy +++ b/seccomp/cras-seccomp-amd64.policy @@ -20,6 +20,7 @@ getrandom: 1 access: 1 fcntl: 1 getdents: 1 +getdents64: 1 sendmsg: 1 stat: 1 statfs: 1 diff --git a/sound_card_init/seccomp/sound_card_init-seccomp-amd64.policy b/sound_card_init/seccomp/sound_card_init-seccomp-amd64.policy index f317980f..d06f225e 100644 --- a/sound_card_init/seccomp/sound_card_init-seccomp-amd64.policy +++ b/sound_card_init/seccomp/sound_card_init-seccomp-amd64.policy @@ -22,6 +22,7 @@ fstat: 1 futex: 1 getcwd: 1 getdents: 1 +getdents64: 1 getegid: 1 geteuid: 1 getgid: 1 |