summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2022-02-14 16:05:07 -0800
committerRobert Shih <robertshih@google.com>2022-03-01 07:10:04 +0000
commit93f60c7fb09e743f998f458328bc995e8732ddce (patch)
tree9642de073888ac023002e519b2698708a7dee5a7
parent3f5147ad115646ead2339c3b1c25638c0cc00460 (diff)
downloadsunfish-sepolicy-93f60c7fb09e743f998f458328bc995e8732ddce.tar.gz
sunfish sepolicy: support wv aidl hal
Bug: 219538389 Test: atest GtsMediaTestCases Change-Id: If8d3d9469592654082edc0004d7802d8da722ee7 Merged-In: If8d3d9469592654082edc0004d7802d8da722ee7
-rw-r--r--vendor/google/service_contexts1
-rw-r--r--vendor/qcom/common/file_contexts2
2 files changed, 2 insertions, 1 deletions
diff --git a/vendor/google/service_contexts b/vendor/google/service_contexts
index d7a1e46..4bac73b 100644
--- a/vendor/google/service_contexts
+++ b/vendor/google/service_contexts
@@ -1 +1,2 @@
+android.hardware.drm.IDrmFactory/widevine u:object_r:hal_drm_service:s0
com.google.hardware.pixel.display.IDisplay/default u:object_r:hal_pixel_display_service:s0
diff --git a/vendor/qcom/common/file_contexts b/vendor/qcom/common/file_contexts
index 3ed0ebf..a360e5a 100644
--- a/vendor/qcom/common/file_contexts
+++ b/vendor/qcom/common/file_contexts
@@ -52,7 +52,7 @@
/(vendor|system/vendor)/bin/ssr_diag u:object_r:vendor_ssr_diag_exec:s0
/(vendor|system/vendor)/bin/hw/qcrild u:object_r:rild_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@[0-9]+\.[0-9]+-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0
-/(vendor|system/vendor)/bin/hw/android\.hardware\.drm@[0-9]+\.[0-9]+-service\.widevine u:object_r:hal_drm_widevine_exec:s0
+/(vendor|system/vendor)/bin/hw/android\.hardware\.drm(@[0-9]+\.[0-9]+)?-service\.widevine u:object_r:hal_drm_widevine_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.gnss@.*-service-qti u:object_r:hal_gnss_qti_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.qti\.gnss@.*-service u:object_r:hal_gnss_qti_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.bluetooth@1\.0-service-qti u:object_r:hal_bluetooth_default_exec:s0