From a7fcb2bc2a65da3743914727adb0df89a4eb0b66 Mon Sep 17 00:00:00 2001 From: "Torne (Richard Coles)" Date: Fri, 23 Sep 2016 16:41:42 +0100 Subject: [PATCH] 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 --- core/jni/fd_utils-inl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h index af27069119492..b78b8ffa2d5d1 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",