Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
system_vold
Commits
cff5ec3d
Commit
cff5ec3d
authored
15 years ago
by
San Mehat
Browse files
Options
Download
Email Patches
Plain Diff
vold: Temporarily disable asec mountpoint permissions
Signed-off-by:
San Mehat
<
san@google.com
>
parent
1bc95588
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
VolumeManager.cpp
VolumeManager.cpp
+4
-2
No files found.
VolumeManager.cpp
View file @
cff5ec3d
...
...
@@ -229,7 +229,8 @@ int VolumeManager::createAsec(const char *id, int sizeMb,
}
if
(
Fat
::
doMount
(
loopDevice
,
mountPoint
,
false
,
false
,
ownerUid
,
0
,
0007
,
false
))
{
0
,
0000
,
false
))
{
// 0, 0007, false)) {
LOGE
(
"ASEC FAT mount failed (%s)"
,
strerror
(
errno
));
Loop
::
destroyByDevice
(
loopDevice
);
unlink
(
asecFileName
);
...
...
@@ -336,7 +337,8 @@ int VolumeManager::mountAsec(const char *id, const char *key, int ownerUid) {
}
if
(
Fat
::
doMount
(
loopDevice
,
mountPoint
,
true
,
false
,
ownerUid
,
0
,
0227
,
false
))
{
0222
,
false
))
{
// 0227, false)) {
LOGE
(
"ASEC mount failed (%s)"
,
strerror
(
errno
));
return
-
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment