From 8afdd2aac62c71659a77a3962d1c87192203de20 Mon Sep 17 00:00:00 2001 From: Paul Lawrence Date: Tue, 31 Jan 2017 14:49:50 -0800 Subject: [PATCH] Expand seccomp whitelist Bug: 34817266 Test: Boots, app starts Change-Id: I39026064ec6c7130256ae463163c1f7634e3bdd4 --- init/seccomp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/seccomp.cpp b/init/seccomp.cpp index 2ba6384c1..0248a7af9 100644 --- a/init/seccomp.cpp +++ b/init/seccomp.cpp @@ -221,6 +221,9 @@ bool set_seccomp_filter() { // b/34719286 AllowSyscall(f, 351); // __NR_eventfd + // b/34817266 + AllowSyscall(f, 252); // __NR_epoll_wait + // 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]);