Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81c97bc4 authored by Luis Hector Chavez's avatar Luis Hector Chavez Committed by android-build-merger
Browse files

Merge "init.rc: Remount / with MS_REMOUNT|MS_BIND|MS_NODEV"

am: 19ef02ef

Change-Id: I94c5641308b7b2760bdc4734158011d9cb7146aa
parents 6065c03a 19ef02ef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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