/odm is another vendor partition that can be customied by ODMs

Since /odm is an extension of /vendor, libs in /odm should be treated
just like the ones in /vendor.

Bug: 67890517
Test: none as we don't yet have /odm partition.
Change-Id: I5232baef769c7fa8c7641b462cfa1d7537d3cfdf
This commit is contained in:
Jiyong Park 2017-12-13 11:54:59 +09:00
parent 8b5433a9cc
commit 4c3ab18f49
2 changed files with 7 additions and 1 deletions

View file

@ -315,7 +315,11 @@
#############################
# OEM and ODM files
#
/odm(/.*)? u:object_r:vendor_file:s0
/odm(/.*)? u:object_r:vendor_file:s0
/odm/lib(64)?/egl(/.*)? u:object_r:same_process_hal_file:s0
/odm/lib(64)?/hw u:object_r:vendor_hal_file:s0
/odm/lib(64)?/vndk-sp(/.*)? u:object_r:vndk_sp_file:s0
/oem(/.*)? u:object_r:oemfs:s0

View file

@ -2,6 +2,8 @@
/data/asan/system/lib64(/.*)? u:object_r:system_file:s0
/data/asan/vendor/lib(/.*)? u:object_r:system_file:s0
/data/asan/vendor/lib64(/.*)? u:object_r:system_file:s0
/data/asan/odm/lib(/.*)? u:object_r:system_file:s0
/data/asan/odm/lib64(/.*)? u:object_r:system_file:s0
/system/bin/asan_extract u:object_r:asan_extract_exec:s0
/system/bin/asanwrapper u:object_r:asanwrapper_exec:s0
/system/bin/asan/app_process u:object_r:zygote_exec:s0