Reland "Allow dexopt to follow /odm/lib(64) symlinks.""

am: a6d9d6b68a

Change-Id: If482dd99535d544fa39e287ed5787aa156dcac56
This commit is contained in:
Jiyong Park 2018-04-02 18:15:41 +00:00 committed by android-build-merger
commit ee92ff78be
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ allow dex2oat postinstall_dexopt:fd use;
allow dex2oat postinstall_file:dir { getattr search }; allow dex2oat postinstall_file:dir { getattr search };
allow dex2oat postinstall_file:filesystem getattr; allow dex2oat postinstall_file:filesystem getattr;
allow dex2oat postinstall_file:lnk_file read; allow dex2oat postinstall_file:lnk_file { getattr read };
# Allow dex2oat access to files in /data/ota. # Allow dex2oat access to files in /data/ota.
allow dex2oat ota_data_file:dir ra_dir_perms; allow dex2oat ota_data_file:dir ra_dir_perms;

View file

@ -9,7 +9,7 @@ allow postinstall_dexopt self:global_capability_class_set { chown dac_override f
allow postinstall_dexopt postinstall_file:filesystem getattr; allow postinstall_dexopt postinstall_file:filesystem getattr;
allow postinstall_dexopt postinstall_file:dir { getattr search }; allow postinstall_dexopt postinstall_file:dir { getattr search };
allow postinstall_dexopt postinstall_file:lnk_file read; allow postinstall_dexopt postinstall_file:lnk_file { getattr read };
allow postinstall_dexopt proc_filesystems:file { getattr open read }; allow postinstall_dexopt proc_filesystems:file { getattr open read };
allow postinstall_dexopt tmpfs:file read; allow postinstall_dexopt tmpfs:file read;