summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2017-09-06 15:25:40 -0700
committerDaniel Rosenberg <drosen@google.com>2017-09-07 15:27:08 -0700
commit1b38e330035833971663eeb5bccfa16e4ffc1e72 (patch)
treea4e4af53dc109b1ea289cc515b4b9272dcc98f72
parent7056de1b423e10b16149df3db0102aff714f2648 (diff)
downloadandroid_system_vold-1b38e330035833971663eeb5bccfa16e4ffc1e72.tar.gz
android_system_vold-1b38e330035833971663eeb5bccfa16e4ffc1e72.tar.bz2
android_system_vold-1b38e330035833971663eeb5bccfa16e4ffc1e72.zip
Add support for gid derivation on private volumes
This sdcardfs feature was moved under a mount option and is only needed on private volumes Test: Private emulated volume should attempt to mount with derive_gid option. Bug: 63245673 Change-Id: I40a8b15c298c815a4643007b9eca8269379fd2ac
-rw-r--r--EmulatedVolume.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/EmulatedVolume.cpp b/EmulatedVolume.cpp
index df91904..21b290a 100644
--- a/EmulatedVolume.cpp
+++ b/EmulatedVolume.cpp
@@ -84,6 +84,7 @@ status_t EmulatedVolume::doMount() {
"-g", "1023", // AID_MEDIA_RW
"-m",
"-w",
+ "-G",
mRawPath.c_str(),
label.c_str(),
NULL)) {