Merge "Expand seccomp whitelist" am: 301e7e2cdb
am: 329417241e
Change-Id: I19023b91ef48560d20b2678e2b4789f983cc409c
diff --git a/init/seccomp.cpp b/init/seccomp.cpp
index 6c85217..a98835d 100644
--- a/init/seccomp.cpp
+++ b/init/seccomp.cpp
@@ -223,6 +223,14 @@
AllowSyscall(f, 33); // __NR_access
AllowSyscall(f, 195); // __NR_stat64
+ // b/34813887
+ AllowSyscall(f, 5); // __NR_open
+ AllowSyscall(f, 141); // __NR_getdents
+ AllowSyscall(f, 217); // __NR_getdents64
+
+ // b/34719286
+ AllowSyscall(f, 351); // __NR_eventfd
+
// arm32-on-arm64 only filter - autogenerated from bionic syscall usage
for (size_t i = 0; i < arm_filter_size; ++i)
f.push_back(arm_filter[i]);