OSDN Git Service
(root)
/
android-x86
/
system-vold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3ef48
)
Support "full" mode when updating bind mounts of a process.
author
Sudheer Shanka
<sudheersai@google.com>
Thu, 30 May 2019 23:40:20 +0000
(16:40 -0700)
committer
Sudheer Shanka
<sudheersai@google.com>
Thu, 30 May 2019 23:40:20 +0000
(16:40 -0700)
Bug:
133829348
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Change-Id: I5f48ecbfe8cce243fa75a2e8447ce1d4676003ad
VolumeManager.cpp
patch
|
blob
|
history
diff --git
a/VolumeManager.cpp
b/VolumeManager.cpp
index
637dc47
..
44bff5a
100644
(file)
--- a/
VolumeManager.cpp
+++ b/
VolumeManager.cpp
@@
-554,6
+554,8
@@
int VolumeManager::remountUid(uid_t uid, int32_t mountMode) {
storageSource = "/mnt/runtime/read";
} else if (mode == "write") {
storageSource = "/mnt/runtime/write";
+ } else if (mode == "full") {
+ storageSource = "/mnt/runtime/full";
} else {
// Sane default of no storage visible
_exit(0);