diff options
author | 2020-02-03 20:40:00 +0000 | |
---|---|---|
committer | 2020-02-03 20:40:00 +0000 | |
commit | 4784d2c05682f1ee94c32c13fb58b72ea2fe7e2f (patch) | |
tree | 3102b51748e2c6cfe543b189f48d50a063287f45 | |
parent | 834847065b837ccc097fc205f34f01a61426ae43 (diff) | |
parent | 6b06fc51efd345add6daf029c922ce8d10bd5224 (diff) |
Merge "Create /mnt/pass_through/<userid> in zygote if not created"
-rw-r--r-- | core/jni/com_android_internal_os_Zygote.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/jni/com_android_internal_os_Zygote.cpp b/core/jni/com_android_internal_os_Zygote.cpp index 1ea7d6144356..92941b8cb22b 100644 --- a/core/jni/com_android_internal_os_Zygote.cpp +++ b/core/jni/com_android_internal_os_Zygote.cpp @@ -820,6 +820,7 @@ static void MountEmulatedStorage(uid_t uid, jint mount_mode, if (isFuse) { if (mount_mode == MOUNT_EXTERNAL_PASS_THROUGH) { const std::string pass_through_source = StringPrintf("/mnt/pass_through/%d", user_id); + PrepareDir(pass_through_source, 0710, AID_ROOT, AID_MEDIA_RW, fail_fn); BindMount(pass_through_source, "/storage", fail_fn); } else if (mount_mode == MOUNT_EXTERNAL_INSTALLER) { const std::string installer_source = StringPrintf("/mnt/installer/%d", user_id); |