OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cf7c48
)
Add the webview zygote socket to the zygote whitelist.
author
Torne (Richard Coles)
<torne@google.com>
Fri, 23 Sep 2016 15:41:42 +0000
(16:41 +0100)
committer
Torne (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
patch
|
blob
|
history
diff --git
a/core/jni/fd_utils-inl.h
b/core/jni/fd_utils-inl.h
index
af27069
..
b78b8ff
100644
(file)
--- 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",