summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-18 10:14:00 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-18 10:14:00 -0700
commitff6cff9e330196966217de2c58e28d307822479c (patch)
treeffcfe9bc5b0d8a783c34718bdf7c212003aba330 /runtime
parent7def68e29cd4dc3e5e3d76b2ba5ee175871aff7e (diff)
parentab482f5eff21af748c906857f529a3c17df35964 (diff)
downloadandroid_art-ff6cff9e330196966217de2c58e28d307822479c.tar.gz
android_art-ff6cff9e330196966217de2c58e28d307822479c.tar.bz2
android_art-ff6cff9e330196966217de2c58e28d307822479c.zip
am ab482f5e: Merge "Allow traversal into /storage paths." into klp-dev
* commit 'ab482f5eff21af748c906857f529a3c17df35964': Allow traversal into /storage paths.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/runtime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index 70a4df529d..f7b5f7442b 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -773,7 +773,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;
}