sepolicy: basic: non_plat: Allow Sensors HAL to write to SCP log

Change-Id: I51887fd93ed97e96de214383c20b6b905af2347e
Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
bengris32 2023-08-06 22:09:46 +01:00
parent e4dbda893d
commit d73d1700e3
No known key found for this signature in database
GPG Key ID: 5C798EC5589ED9BF

View File

@ -76,3 +76,7 @@ allow mtk_hal_sensors merged_hal_service:fd use;
# Date : WK20.25
# Purpose: Allow to read /bus/platform/drivers/mtk_nanohub/state
allow mtk_hal_sensors sysfs_mtk_nanohub_state:file r_file_perms;
# Allow mtk_hal_sensors to access sysfs_scp
allow mtk_hal_sensors sysfs_scp:dir search;
allow mtk_hal_sensors sysfs_scp:file rw_file_perms;