summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.cc
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-09-18 17:10:43 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-09-18 17:10:43 +0000
commitab482f5eff21af748c906857f529a3c17df35964 (patch)
treedea612debd0e7aa4451d1e74c2e1073fe2fe5783 /runtime/runtime.cc
parentc4621985bdfc2b27494087e5dee65a6d0cc5a632 (diff)
parent52cd1e8f2f0622a174f883e24151ab873170787f (diff)
downloadart-ab482f5eff21af748c906857f529a3c17df35964.zip
art-ab482f5eff21af748c906857f529a3c17df35964.tar.gz
art-ab482f5eff21af748c906857f529a3c17df35964.tar.bz2
Merge "Allow traversal into /storage paths." into klp-dev
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 70a4df5..f7b5f74 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;
}