diff options
author | Ricardo Cerqueira <android@cerqueira.org> | 2016-11-12 15:27:32 +0000 |
---|---|---|
committer | Ricardo Cerqueira <android@cerqueira.org> | 2016-11-12 15:27:32 +0000 |
commit | 6d2ff1d511921b0be3cbcdc6c29d9ac9add41ad9 (patch) | |
tree | 85f2a3aa2f0326daad270f106d4c2e0086af95f3 | |
parent | 73406be5362100576dae362f218b624065bb9c57 (diff) | |
download | frameworks_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.h | 3 |
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"; |