From 3c90852f99e81371e78084adeabb1fec3eecd306 Mon Sep 17 00:00:00 2001 From: Zinadin Zidan Date: Thu, 27 Oct 2022 00:36:01 +0300 Subject: [PATCH] sepolicy: basic: non_plat: Allow mtk fm app to access /dev/fm Signed-off-by: Zinadin Zidan Change-Id: Ie9f4593ae6d122505b39ba212cce939375c7f447 --- basic/non_plat/system_app.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/basic/non_plat/system_app.te b/basic/non_plat/system_app.te index e135679..d6c26f1 100644 --- a/basic/non_plat/system_app.te +++ b/basic/non_plat/system_app.te @@ -42,3 +42,6 @@ allowxperm system_app proc_mtk_jpeg:file ioctl { # Purpose: Allow system app to access mtk fpsgo allow system_app sysfs_fpsgo:dir search; allow system_app sysfs_fpsgo:file r_file_perms; + +# MTK FM Radio +allow system_app fm_device:chr_file rw_file_perms;