Merge "init.rc: Remount / with MS_REMOUNT|MS_BIND|MS_NODEV" am: 19ef02ef42 am: 81c97bc46f
am: df271c4842
Change-Id: Ib60a55a8d8cca5d5a74d30b6b21c803cf8222688
This commit is contained in:
commit
d9915714e8
1 changed files with 2 additions and 2 deletions
|
|
@ -327,8 +327,8 @@ on post-fs
|
|||
start vndservicemanager
|
||||
|
||||
# Once everything is setup, no need to modify /.
|
||||
# The bind+ro combination avoids modifying any other mount flags.
|
||||
mount rootfs rootfs / remount bind ro
|
||||
# The bind+remount combination allows this to work in containers.
|
||||
mount rootfs rootfs / remount bind ro nodev
|
||||
# Mount shared so changes propagate into child namespaces
|
||||
mount rootfs rootfs / shared rec
|
||||
# Mount default storage into root namespace
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue