summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <android@cerqueira.org>2016-11-12 15:27:32 +0000
committerRicardo Cerqueira <android@cerqueira.org>2016-11-12 15:27:32 +0000
commit6d2ff1d511921b0be3cbcdc6c29d9ac9add41ad9 (patch)
tree85f2a3aa2f0326daad270f106d4c2e0086af95f3
parent73406be5362100576dae362f218b624065bb9c57 (diff)
downloadframeworks_base-6d2ff1d511921b0be3cbcdc6c29d9ac9add41ad9.zip
frameworks_base-6d2ff1d511921b0be3cbcdc6c29d9ac9add41ad9.tar.gz
frameworks_base-6d2ff1d511921b0be3cbcdc6c29d9ac9add41ad9.tar.bz2
zygote: Add /proc/ged to the FD whitelist
This is used by some platforms' gfx stack Change-Id: Ife6e1b0df30fc23eff7fb6a16ff95c3e7b16a9c7
-rw-r--r--core/jni/fd_utils-inl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/jni/fd_utils-inl.h b/core/jni/fd_utils-inl.h
index bb9fbee..41c005d 100644
--- a/core/jni/fd_utils-inl.h
+++ b/core/jni/fd_utils-inl.h
@@ -57,7 +57,8 @@ static const char* kPathWhitelist[] = {
"/dev/urandom",
"/dev/ion",
"@netlink@",
- "/system/framework/org.cyanogenmod.platform-res.apk"
+ "/system/framework/org.cyanogenmod.platform-res.apk",
+ "/proc/ged"
};
static const char* kFdPath = "/proc/self/fd";