No description
Find a file
Mark Salyzyn b28389f5ee fs_mgr: add overlayfs handling for squashfs system filesystems
Logistics for adb remount on developer builds for readonly system
partitions using overlayfs to deal with not being able to remount
with read-write.

Conditions are that filesystem is squashfs, read-only, debug build,
kernel supports overlayfs.  The default is a valid /cache/overlay/
directory, with .../<mount_point>/upper and .../<mount_point>/work,
associated with each system partition <mount_point>.

Will take the sepolicy of context of lowerdir as rootcontext= option.

Add fs_mgr_overlayfs_mount_all() to recurse through
fs_mgr_read_fstab_default(), and checking against /proc/mounts to
add any acceptable overlayfs mounts.  The checking with /proc/mounts
makes sure we do not overlayfs overtop an overlayfs.

Add fs_mgr_overlayfs_setup(const char*, const char* bool*) and
fs_mgr_overlayfs_teardown(const char*, bool*) to respectively setup
or teardown the overlayfs support directories.  Return value
includes success and optional supplied change booleans.

Test: compile
Bug: 109821005
Bug: 110985612
Change-Id: Ie9b4e9ca0f2bdd9275ac2e2e905431636948e131
2018-08-08 15:38:53 -07:00
adb adb: clean up handle_host_request. 2018-08-07 14:24:36 -07:00
adf Make libadf, libsync_recovery recovery_available. 2018-08-07 10:53:07 -07:00
base Remove unused logging symbols. 2018-07-31 16:33:38 -07:00
bootstat bootstat: duplicate boot reason entries 2018-08-07 09:57:32 -07:00
cpio
debuggerd libdebuggerd: extract and print the fdsan table. 2018-08-06 18:50:10 -07:00
demangle Build adbd for recovery 2018-05-24 14:11:11 +09:00
diagnose_usb Build adbd for recovery 2018-05-24 14:11:11 +09:00
fastboot fastbootd: Implement the getvar command. 2018-08-08 11:41:53 -07:00
fs_mgr fs_mgr: add overlayfs handling for squashfs system filesystems 2018-08-08 15:38:53 -07:00
gatekeeperd Add OWNERS file to gatekeeperd 2018-07-25 15:02:38 -07:00
healthd Merge "charger: minui error handling fixups" 2018-07-30 10:39:55 -07:00
include
init Merge "Merge Android Pie into master" 2018-08-07 16:51:24 +00:00
libappfuse
libasyncio Build adbd for recovery 2018-05-24 14:11:11 +09:00
libbacktrace Revert "Prepare to fail in RefBase destructor if count is untouched" 2018-08-07 05:35:12 +00:00
libbinderwrapper Make libbinderwrapper available in /vendor partition 2018-04-06 08:41:21 +09:00
libcrypto_utils Build adbd for recovery 2018-05-24 14:11:11 +09:00
libcutils Add support for /product-services partition. 2018-07-26 16:27:28 +00:00
libdiskconfig
libgrallocusage
libion
libkeyutils Build adbd for recovery 2018-05-24 14:11:11 +09:00
liblog liblog: Add functions to reset log context 2018-08-02 00:55:01 +00:00
libmemtrack
libmemunreachable Move libbacktrace off cutils. 2018-07-11 13:55:07 -07:00
libmetricslogger Merge "Add cwren to libmetricslogger OWNERS" into pi-dev 2018-05-24 01:30:58 +00:00
libnativebridge
libnativeloader Separate namespace acquisition from library loading 2018-07-12 15:44:35 +02:00
libnetutils
libpackagelistparser Mark as recovery_available: true 2018-05-15 09:47:04 +09:00
libpixelflinger Remove dead gglFastDivx. 2018-08-02 16:18:24 -07:00
libprocessgroup Add recovery_available: true to init dependencies 2018-07-24 13:45:50 -07:00
libprocinfo libprocinfo: return error msg instead of printing it. 2018-07-24 14:34:06 -07:00
libqtaguid
libsparse Revert "libsparse: Add sparse typed callback" 2018-07-26 05:23:45 +00:00
libstats Remove a redundant check in statsd socket code. 2018-05-22 16:06:21 -07:00
libsuspend
libsync Merge libsync_recovery rules into libsync. 2018-08-07 11:00:50 -07:00
libsystem Camera: add DISABLE error code 2018-05-31 15:12:19 -07:00
libsysutils [libsysutils] Modernize codebase by replacing NULL with nullptr 2018-07-24 16:34:27 -07:00
libunwindstack Merge "Allow to get raw register data on all platforms." 2018-08-08 21:37:46 +00:00
libusbhost
libutils Merge "Merge Android Pie into master" 2018-08-07 16:51:24 +00:00
libvndksupport
libziparchive Merge changes from topic "looper_unique_fd" 2018-07-23 14:36:43 -07:00
llkd llkd: bootstat: propagate detailed livelock canonical boot reason 2018-04-18 14:02:16 -07:00
lmkd lmkd: Skip memory.stat usage when per-app memcgs are not used 2018-08-08 01:18:38 +00:00
logcat add event log range for audioserver 2018-07-10 14:21:38 -07:00
logd Merge "[logd] Modernize codebase by replacing NULL with nullptr" 2018-07-13 21:40:27 -07:00
logwrapper Build adbd for recovery 2018-05-24 14:11:11 +09:00
mkbootimg Add recovery_available: true to init dependencies 2018-07-24 13:45:50 -07:00
property_service Add recovery_available: true to init dependencies 2018-07-24 13:45:50 -07:00
qemu_pipe Build adbd for recovery 2018-05-24 14:11:11 +09:00
reboot
rootdir Merge "Merge Android Pie into master" 2018-08-07 16:51:24 +00:00
run-as run-as: Migrate to blueprint 2018-06-27 11:15:23 -07:00
sdcard
shell_and_utilities Move back to BSD grep, and make it available for recovery too. 2018-08-01 10:35:46 -07:00
storaged storaged: fix headers. 2018-07-17 15:36:09 -07:00
toolbox Move back to BSD grep, and make it available for recovery too. 2018-08-01 10:35:46 -07:00
trusty Merge "trusty: tipc_test: Read output and test result from ta2ta_ipc_test" 2018-07-25 17:24:18 -07:00
usbd
watchdogd Move watchdogd out of init 2018-08-02 12:25:58 -07:00
.clang-format
.clang-format-2 Remove PenaltyExcessCharacter from clang-formats. 2018-07-19 13:50:41 -07:00
.clang-format-4 Remove PenaltyExcessCharacter from clang-formats. 2018-07-19 13:50:41 -07:00
.gitignore
Android.bp
Android.mk
CleanSpec.mk Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS Move per-file OWNERS directives to their directories. 2018-06-06 11:49:40 +09:00
platform_tools_tool_version.mk
PREUPLOAD.cfg