Allow init to mount on /bionic in recovery mode

am: cd6a6a0933

Change-Id: I8ab4fbf121144b5e88e92683543e517888ecb6ef
This commit is contained in:
Jiyong Park 2019-01-30 21:00:42 -08:00 committed by android-build-merger
commit 46298e157f

View file

@ -87,8 +87,14 @@ allow init device:dir mounton;
# Mount tmpfs on /apex
allow init apex_mnt_dir:dir mounton;
# Mount Bionic libraries and dynamic linkers
allow init system_lib_file:file mounton;
allow init system_linker_exec:file mounton;
# The mount points under /bionic are rootfs in recovery mode. Init should
# be able to bind-mount the bootstrap Bionic to the mount points.
recovery_only(`
allow init rootfs:file mounton;
')
# Create and remove symlinks in /.
allow init rootfs:lnk_file { create unlink };