Merge "init.rc: Remount / with MS_REMOUNT|MS_BIND" am: 008576080e am: c37d85953e

am: 655d6d5451

Change-Id: Idb18188ad9b3b667411d428ae616498748b8281a
This commit is contained in:
Luis Hector Chavez 2018-02-15 14:43:04 +00:00 committed by android-build-merger
commit b0d8b26e0f
1 changed files with 3 additions and 2 deletions

View File

@ -318,8 +318,9 @@ on post-fs
start hwservicemanager
start vndservicemanager
# once everything is setup, no need to modify /
mount rootfs rootfs / ro remount
# Once everything is setup, no need to modify /.
# The bind+ro combination avoids modifying any other mount flags.
mount rootfs rootfs / remount bind ro
# Mount shared so changes propagate into child namespaces
mount rootfs rootfs / shared rec
# Mount default storage into root namespace