diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2018-07-18 17:43:28 -0700 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2018-07-18 19:48:08 -0700 |
commit | c20c85008d7ad1e8152c426bc4f0abf8196c7643 (patch) | |
tree | 3a606af56b491c5d7270defac7edba2e87edbf51 /adb/daemon/file_sync_service.cpp | |
parent | 54f40303d5632e7f5852cd9f467454281c4f979a (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 'adb/daemon/file_sync_service.cpp')
0 files changed, 0 insertions, 0 deletions