summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Torne (Richard Coles) <torne@google.com> 2016-09-23 16:41:42 +0100
committer Torne (Richard Coles) <torne@google.com> 2016-11-07 12:30:40 +0000
commita7fcb2bc2a65da3743914727adb0df89a4eb0b66 (patch)
tree01b142d506cb7eff48b009855a59a98a9c45e8f9
parent2cf7c483a8049e2c657d5f4c138132167fa71ae9 (diff)
Add the webview zygote socket to the zygote whitelist.
Allow the webview zygote socket to be open at time of fork, so that webview renderers can be forked successfully. Test: WebView functions correctly with multiprocess dev setting enabled Bug: 21643067 Change-Id: I312846433a43a8e4548cb2f98b96b56acf9f5333
-rw-r--r--core/jni/fd_utils-inl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h
index af2706911949..b78b8ffa2d5d 100644
--- a/core/jni/fd_utils-inl.h
+++ b/core/jni/fd_utils-inl.h
@@ -51,6 +51,7 @@ static const char* kPathWhitelist[] = {
"/dev/null",
"/dev/socket/zygote",
"/dev/socket/zygote_secondary",
+ "/dev/socket/webview_zygote",
"/sys/kernel/debug/tracing/trace_marker",
"/system/framework/framework-res.apk",
"/dev/urandom",