summaryrefslogtreecommitdiffstats
path: root/sdm660
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2017-11-05 16:15:42 -0500
committerMichael Bestas <mkbestas@lineageos.org>2017-12-18 22:15:31 +0200
commit1b870080d986f6ad887fa73541643a3dea791fb6 (patch)
tree791a78ecc975217d22972105edf0d9733f3d64ee /sdm660
parentea46b2765dddf553b61f025e9142c0bf2345c529 (diff)
downloadandroid_device_qcom_sepolicy-1b870080d986f6ad887fa73541643a3dea791fb6.tar.gz
android_device_qcom_sepolicy-1b870080d986f6ad887fa73541643a3dea791fb6.tar.bz2
android_device_qcom_sepolicy-1b870080d986f6ad887fa73541643a3dea791fb6.zip
qcom: Label vendor files with (vendor|system/vendor) instead of vendor
Not all devices have a vendor partition so these labels blatantly get ignored without labelling system/vendor on those devices. Also move msm8998 gralloc and vulkan labels to msm8998/file_contexts Change-Id: I244d667f6b3ddcf7eac71719a981dc25dc401873
Diffstat (limited to 'sdm660')
-rw-r--r--sdm660/file_contexts4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdm660/file_contexts b/sdm660/file_contexts
index 7ea83331..8f79d11c 100644
--- a/sdm660/file_contexts
+++ b/sdm660/file_contexts
@@ -141,8 +141,8 @@
############################################################################################
#Same hal process libs
#
-/vendor/lib(64)?/hw/gralloc\.sdm660\.so u:object_r:same_process_hal_file:s0
-/vendor/lib(64)?/hw/vulkan\.sdm660\.so u:object_r:same_process_hal_file:s0
+/(vendor|system/vendor)/lib(64)?/hw/gralloc\.sdm660\.so u:object_r:same_process_hal_file:s0
+/(vendor|system/vendor)/lib(64)?/hw/vulkan\.sdm660\.so u:object_r:same_process_hal_file:s0
##################################
# rawdump partition