From d3173a129b9b8eda35813a008e60b20b89be7907 Mon Sep 17 00:00:00 2001 From: bengris32 Date: Wed, 5 Oct 2022 19:50:42 +0100 Subject: [PATCH] sepolicy: Label stub mtkpower service Signed-off-by: bengris32 Change-Id: I1d3d6be0cbd2bcc73e4654ec4b58f68473f9af7f --- basic/non_plat/file_contexts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/basic/non_plat/file_contexts b/basic/non_plat/file_contexts index bd745a7..fee8755 100644 --- a/basic/non_plat/file_contexts +++ b/basic/non_plat/file_contexts @@ -984,3 +984,6 @@ # Date: 2021/09/26 # Purpose: Add permission for vilte /dev/ccci_vts u:object_r:ccci_vts_device:s0 + +# Power +/(vendor|system/vendor)/bin/hw/vendor\.mediatek\.hardware\.mtkpower@1\.2-service\.stub u:object_r:mtk_hal_power_exec:s0