diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2018-07-11 10:49:41 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-07-11 10:49:41 -0700 |
commit | 81c97bc46fa226ee27a6b545f954c1cf1386cd0b (patch) | |
tree | 5116052681b37cf2d855237d965cae4ef0cbf956 /rootdir | |
parent | 6065c03a5f105e7dc0f84e90a8041c943df5cfef (diff) | |
parent | 19ef02ef42e627f27af27df5cf7420421c6c432d (diff) | |
download | system_core-81c97bc46fa226ee27a6b545f954c1cf1386cd0b.tar.gz system_core-81c97bc46fa226ee27a6b545f954c1cf1386cd0b.tar.bz2 system_core-81c97bc46fa226ee27a6b545f954c1cf1386cd0b.zip |
Merge "init.rc: Remount / with MS_REMOUNT|MS_BIND|MS_NODEV"
am: 19ef02ef42
Change-Id: I94c5641308b7b2760bdc4734158011d9cb7146aa
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 6c87dde93..362f6afab 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -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 |