From e6d2f01a89382a5d7af95ea558a50982af06743d Mon Sep 17 00:00:00 2001 From: Dinesh Yadav Date: Tue, 16 May 2023 17:07:38 +0000 Subject: [PATCH] Add SEPolicy for gxp_metrics_logger.so logging to stats service In order to access the gxp metrics library from the google camera app (product partition), we need to create an SELinux exception for the related shared library (in vendor) it uses. This CL adds the same_process_hal_file tag to allow this exception. Bug: 278516358 Change-Id: I42d41243d3ee47ebff4f766cd769b5387fd20852 --- vendor/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/vendor/file_contexts b/vendor/file_contexts index 3738b638..5fa555a8 100644 --- a/vendor/file_contexts +++ b/vendor/file_contexts @@ -37,6 +37,7 @@ # Vendor libraries /vendor/lib(64)?/libgxp\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/gxp_metrics_logger\.so u:object_r:same_process_hal_file:s0 # Vendor /data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0