diff options
Diffstat (limited to 'sepolicy/file_contexts')
-rw-r--r-- | sepolicy/file_contexts | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index ce36adc..429d4c4 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -1,6 +1,6 @@ # Binaries -/vendor/bin/init.wlan.sh u:object_r:qti_init_shell_exec:s0 -/vendor/bin/wcg_mac_tool u:object_r:wcg_mac_exec:s0 +/(vendor|system/vendor)/bin/init.wlan.sh u:object_r:qti_init_shell_exec:s0 +/(vendor|system/vendor)/bin/wcg_mac_tool u:object_r:wcg_mac_exec:s0 # Data files /data/fpc(/.*)? u:object_r:fpc_data_file:s0 @@ -12,13 +12,12 @@ /dev/tfa9890 u:object_r:audio_device:s0 # HALs -/vendor/bin/hw/android\.hardware\.light@2\.0-service\.zuk_8996 u:object_r:hal_light_default_exec:s0 -/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.0-service\.zuk u:object_r:hal_fingerprint_default_exec:s0 +/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.zuk_8996 u:object_r:hal_light_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.zuk_8996 u:object_r:hal_lineage_touch_default_exec:s0 # Misc files on /vendor -/vendor/usr/idc(/.*)? u:object_r:idc_file:s0 -/vendor/usr/keylayout(/.*)? u:object_r:keylayout_file:s0 +/(vendor|system/vendor)/usr/idc(/.*)? u:object_r:idc_file:s0 +/(vendor|system/vendor)/usr/keylayout(/.*)? u:object_r:keylayout_file:s0 # Sys files /sys/devices/soc/soc:fpc1020(/.*)? u:object_r:sysfs_fingerprint:s0 |