diff options
author | Rashed Abdel-Tawab <rashed@linux.com> | 2017-11-05 16:15:42 -0500 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2017-12-18 22:15:31 +0200 |
commit | 1b870080d986f6ad887fa73541643a3dea791fb6 (patch) | |
tree | 791a78ecc975217d22972105edf0d9733f3d64ee /apq8098_latv/file_contexts | |
parent | ea46b2765dddf553b61f025e9142c0bf2345c529 (diff) | |
download | android_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 'apq8098_latv/file_contexts')
-rw-r--r-- | apq8098_latv/file_contexts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apq8098_latv/file_contexts b/apq8098_latv/file_contexts index c658be8b..140b8730 100644 --- a/apq8098_latv/file_contexts +++ b/apq8098_latv/file_contexts @@ -113,5 +113,5 @@ /sys/devices/virtual/graphics/fb([0-3])+/pa u:object_r:sysfs_graphics:s0 ################################### # adding same_process_hal_file -/vendor/lib(64)?/hw/gralloc\.apq8098_latv\.so u:object_r:same_process_hal_file:s0 -/vendor/lib(64)?/hw/hdmi_cec\.apq8098_latv\.so u:object_r:same_process_hal_file:s0 +/(vendor|system/vendor)/lib(64)?/hw/gralloc\.apq8098_latv\.so u:object_r:same_process_hal_file:s0 +/(vendor|system/vendor)/lib(64)?/hw/hdmi_cec\.apq8098_latv\.so u:object_r:same_process_hal_file:s0 |