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:
36bdf7a
)
Create /data/vendor_ce/0/facedata in vold_prepare_subdirs
author
Paul Crowley
<paulcrowley@google.com>
Wed, 24 Apr 2019 00:04:35 +0000
(17:04 -0700)
committer
Paul Crowley
<paulcrowley@google.com>
Thu, 25 Apr 2019 19:27:26 +0000
(19:27 +0000)
Bug:
131084614
Test: Modified sepolicy to match, ensured directory was created on
Crosshatch
Change-Id: I0978a630149158eb3b8f446abecb12e137e6fae5
vold_prepare_subdirs.cpp
patch
|
blob
|
history
diff --git
a/vold_prepare_subdirs.cpp
b/vold_prepare_subdirs.cpp
index
1dd5e85
..
a620edd
100644
(file)
--- a/
vold_prepare_subdirs.cpp
+++ b/
vold_prepare_subdirs.cpp
@@
-153,6
+153,11
@@
static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int fla
system_ce_path + "/backup_stage")) {
return false;
}
+ auto vendor_ce_path = android::vold::BuildDataVendorCePath(user_id);
+ auto facedata_path = vendor_ce_path + "/facedata";
+ if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, facedata_path)) {
+ return false;
+ }
}
}
return true;