Revert "Reduce AppFuse max read size."
This reverts commit fb014fc6e8
.
Reason for revert: b/325994066
Change-Id: Ia8bb76ac69713df8bd9df5501b3dde9a86a5fd99
This commit is contained in:
parent
fb014fc6e8
commit
6bce91cd30
1 changed files with 8 additions and 9 deletions
|
@ -50,15 +50,14 @@ static android::status_t GetMountPath(uid_t uid, const std::string& name, std::s
|
||||||
|
|
||||||
static android::status_t Mount(int device_fd, const std::string& path) {
|
static android::status_t Mount(int device_fd, const std::string& path) {
|
||||||
const auto opts = StringPrintf(
|
const auto opts = StringPrintf(
|
||||||
"fd=%i,"
|
"fd=%i,"
|
||||||
"rootmode=40000,"
|
"rootmode=40000,"
|
||||||
"default_permissions,"
|
"default_permissions,"
|
||||||
"allow_other,"
|
"allow_other,"
|
||||||
"max_read=65536,"
|
"user_id=0,group_id=0,"
|
||||||
"user_id=0,group_id=0,"
|
"context=\"u:object_r:app_fuse_file:s0\","
|
||||||
"context=\"u:object_r:app_fuse_file:s0\","
|
"fscontext=u:object_r:app_fusefs:s0",
|
||||||
"fscontext=u:object_r:app_fusefs:s0",
|
device_fd);
|
||||||
device_fd);
|
|
||||||
|
|
||||||
const int result =
|
const int result =
|
||||||
TEMP_FAILURE_RETRY(mount("/dev/fuse", path.c_str(), "fuse",
|
TEMP_FAILURE_RETRY(mount("/dev/fuse", path.c_str(), "fuse",
|
||||||
|
|
Loading…
Reference in a new issue