Allow zygote to mount on sdcardfs dirs.

Bug: 111890351
Test: manual
Change-Id: I37d632c9877c6d6f929937d8e25098763807630c
This commit is contained in:
Sudheer Shanka 2018-09-24 13:26:21 -07:00
parent 0e0feac01b
commit 4fc64db5c1

View file

@ -90,6 +90,8 @@ allow zygote mnt_user_file:dir create_dir_perms;
allow zygote mnt_user_file:lnk_file create_file_perms;
# Allowed to mount user-specific storage into place
allow zygote storage_file:dir { search mounton };
# Allow mounting on sdcardfs dirs
allow zygote sdcardfs:dir { mounton };
# Handle --invoke-with command when launching Zygote with a wrapper command.
allow zygote zygote_exec:file rx_file_perms;