OSDN Git Service

Add the webview zygote socket to the zygote whitelist.
authorTorne (Richard Coles) <torne@google.com>
Fri, 23 Sep 2016 15:41:42 +0000 (16:41 +0100)
committerTorne (Richard Coles) <torne@google.com>
Mon, 7 Nov 2016 12:30:40 +0000 (12:30 +0000)
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

core/jni/fd_utils-inl.h

index af27069..b78b8ff 100644 (file)
@@ -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",