summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorLuis Hector Chavez <lhchavez@google.com>2018-07-18 17:43:28 -0700
committerLuis Hector Chavez <lhchavez@google.com>2018-07-18 19:48:08 -0700
commitc20c85008d7ad1e8152c426bc4f0abf8196c7643 (patch)
tree3a606af56b491c5d7270defac7edba2e87edbf51 /libsparse/sparse.cpp
parent54f40303d5632e7f5852cd9f467454281c4f979a (diff)
adb: Preserve the original mount flags when remounting
This change preserves any additional flags mount flags (e.g. MS_NODEV) that any of the mounts would have. This avoids unnecessarily opening up permissions, and also allows kernels that have additional restrictions about what mount flags can be used to be happy with the remounts. Bug: 111618714 Test: `adb remount` works in Chrome OS Test: `adb remount` works in sailfish_aosp Change-Id: I20d9f2feaf3a47b93bfcdfb4164ee61546ec0b68
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions