Merge "init.rc: Remount / with MS_REMOUNT|MS_BIND"
am: 008576080e
Change-Id: Ie48bb09b8f46ccdda809835fb29811fac8b44c6c
This commit is contained in:
commit
c37d85953e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue