platform_system_core/adb/daemon
Bowgo Tsai 41649b871a allow adb to remount symlink mount points
Currently `adb remount` won't remount symlink mount points.
In Android Generic System Image, there is a symlink
/product -> /system/product for devices with and without a physical
/product partition to work, respectively:

  - Mount product partition under /system/product via
    'mount /product' OR

  - Keep using /product -> /system/product symlink,
    when no product partition

Currently find_proc_mount() is seeking "/product" under /proc/mounts.
But the actual mount path is "/system/product" when GSI is used
on a device with product partition.

Bug: 111539442
Test: adb remount && touch /product/abc on both GSI and non-GSI

Change-Id: I8f15a67109d0a3f4ee18596ef7eb4280c5631b11
2018-09-28 12:47:27 +08:00
..
include/adbd adbd: use unique_fd for the usb file descriptors. 2018-08-22 15:33:08 -07:00
auth.cpp [adb] Modernize codebase by replacing NULL with nullptr 2018-07-13 18:21:00 -07:00
file_sync_service.cpp adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
file_sync_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
framebuffer_service.cpp adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
framebuffer_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
jdwp_service.cpp adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
main.cpp adbd: turn on fdsan warnings. 2018-07-25 18:49:37 -07:00
mdns.cpp adb: kill adb_thread_{create, join, detach, exit}. 2017-04-12 17:12:32 -07:00
mdns.h Make ADBD announce its presence over mDNS 2017-03-07 14:42:06 -08:00
remount_service.cpp allow adb to remount symlink mount points 2018-09-28 12:47:27 +08:00
remount_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
services.cpp Add sideload, fastboot as reboot targets in init 2018-08-03 10:03:41 -07:00
set_verity_enable_state_service.cpp adb: add overlayfs handling for readonly system filesystems 2018-08-08 15:42:44 -07:00
set_verity_enable_state_service.h adb: use adb's unique_fd instead of android::base. 2018-07-25 18:08:45 -07:00
shell_service.cpp adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
shell_service.h adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
shell_service_test.cpp adb: split daemon services out of service_to_fd. 2018-07-25 18:49:37 -07:00
usb.cpp adbd: use unique_fd for the usb file descriptors. 2018-08-22 15:33:08 -07:00