summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-18 10:19:16 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-18 10:19:16 -0700
commitdab23d0f0433d42a6c508741d61aba522a5e6230 (patch)
treede729a2f3b66ba3a77570b4eb7b2a17591d45845 /runtime/runtime.cc
parentb60df31f4c7a1642ef8b3bad1cbdba4d471d4e55 (diff)
parent5b0daf5ce04f58e08a5bc38a85480b816e3812b2 (diff)
downloadart-dab23d0f0433d42a6c508741d61aba522a5e6230.zip
art-dab23d0f0433d42a6c508741d61aba522a5e6230.tar.gz
art-dab23d0f0433d42a6c508741d61aba522a5e6230.tar.bz2
am 5b0daf5c: am ff6cff9e: am ab482f5e: Merge "Allow traversal into /storage paths." into klp-dev
* commit '5b0daf5ce04f58e08a5bc38a85480b816e3812b2': Allow traversal into /storage paths.
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r--runtime/runtime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index fe33185..c37b783 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -779,7 +779,7 @@ bool Runtime::InitZygote() {
const char* target_base = getenv("EMULATED_STORAGE_TARGET");
if (target_base != NULL) {
if (mount("tmpfs", target_base, "tmpfs", MS_NOSUID | MS_NODEV,
- "uid=0,gid=1028,mode=0050") == -1) {
+ "uid=0,gid=1028,mode=0751") == -1) {
LOG(WARNING) << "Failed to mount tmpfs to " << target_base;
return false;
}