Allow init to mount on /bionic in recovery mode
am: cd6a6a0933
Change-Id: I8ab4fbf121144b5e88e92683543e517888ecb6ef
This commit is contained in:
commit
46298e157f
1 changed files with 6 additions and 0 deletions
|
@ -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 };
|
||||
|
|
Loading…
Reference in a new issue