From 9818e25500a117245641380810f7b88f59fcfee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Wed, 24 Mar 2021 15:59:55 +0000 Subject: [PATCH] Revert "Add lazy service binary to hal_camera_default domain." This reverts commit d02e73b96676209eea1783999709448914de82e1. Reason for revert: This HAL is actually not intended to be present on GS101 devices. The denial logs come from people who did "adb sync" after building binaries that are not included in the device image. SELinux should not allow access to this HAL. Change-Id: Id179023eeb79d749a0bde13e1d83af41fc42780e --- whitechapel/vendor/google/file_contexts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/whitechapel/vendor/google/file_contexts b/whitechapel/vendor/google/file_contexts index 4009a55a..3e0a509b 100644 --- a/whitechapel/vendor/google/file_contexts +++ b/whitechapel/vendor/google/file_contexts @@ -165,8 +165,7 @@ /data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0 # Camera -/vendor/bin/hw/android\.hardware\.camera\.provider@2\.7-service-google u:object_r:hal_camera_default_exec:s0 -/vendor/bin/hw/android\.hardware\.camera\.provider@2\.7-service-google-lazy u:object_r:hal_camera_default_exec:s0 +/vendor/bin/hw/android\.hardware\.camera\.provider@2\.7-service-google u:object_r:hal_camera_default_exec:s0 /vendor/lib64/camera u:object_r:vendor_camera_tuning_file:s0 /vendor/lib64/camera/ghawb_para_lut\.bin u:object_r:vendor_camera_tuning_file:s0 /vendor/lib64/camera/slider_.*\.binarypb u:object_r:vendor_camera_tuning_file:s0