diff --git a/private/file_contexts b/private/file_contexts index f05d005796c5cddcef1ee168afc3e6be124eef85..e70ca4b028e12af4a62ab504834a01db8fdecb67 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -321,10 +321,16 @@ ############################# # OEM and ODM files # -/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 +/(odm|vendor/odm)(/.*)? u:object_r:vendor_file:s0 +/(odm|vendor/odm)/lib(64)?/egl(/.*)? u:object_r:same_process_hal_file:s0 +/(odm|vendor/odm)/lib(64)?/hw u:object_r:vendor_hal_file:s0 +/(odm|vendor/odm)/lib(64)?/vndk-sp(/.*)? u:object_r:vndk_sp_file:s0 +/(odm|vendor/odm)/bin/sh u:object_r:vendor_shell_exec:s0 +/(odm|vendor/odm)/etc(/.*)? u:object_r:vendor_configs_file:s0 +/(odm|vendor/odm)/app(/.*)? u:object_r:vendor_app_file:s0 +/(odm|vendor/odm)/priv-app(/.*)? u:object_r:vendor_app_file:s0 +/(odm|vendor/odm)/overlay(/.*)? u:object_r:vendor_overlay_file:s0 +/(odm|vendor/odm)/framework(/.*)? u:object_r:vendor_framework_file:s0 /oem(/.*)? u:object_r:oemfs:s0