summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Paul Lawrence <paullawrence@google.com> 2017-02-03 10:10:32 -0800
committer Paul Lawrence <paullawrence@google.com> 2017-02-03 10:28:23 -0800
commit88ec14b0e54be405609d3d0b75559da09c29eb80 (patch)
tree0702ee337169103d8759eacafdb23800196857d5
parent14f31aa647004945043bfdca50b5f3f96f93631b (diff)
Expand whitelist
Bug: 34908783 Test: Device boots. Unable to test app due to Fake OEM error Change-Id: I2a0f5646fa39f95875ecb661599d76f4b28a43ac
-rw-r--r--core/jni/android_os_seccomp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/jni/android_os_seccomp.cpp b/core/jni/android_os_seccomp.cpp
index 75b898e8b63a..2fe5d3918867 100644
--- a/core/jni/android_os_seccomp.cpp
+++ b/core/jni/android_os_seccomp.cpp
@@ -206,6 +206,9 @@ bool set_seccomp_filter() {
// already allowed.
AllowSyscall(f, 85); // __NR_readlink
+ // b/34908783
+ AllowSyscall(f, 250); // __NR_epoll_create
+
Trap(f);
return install_filter(f);