summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeev Kumar <rajekumar@google.com>2021-03-29 19:08:01 -0700
committerRajeev Kumar <rajekumar@google.com>2021-03-30 02:24:19 +0000
commit30e44b791ae4166acf28440dbd5a4e2bf858c7d8 (patch)
treea709cbdea7e877cc99237d5bef81a6612c9ce353
parentafbb1443e191123d0252770691137ffd8f451b95 (diff)
downloadwembley-sepolicy-30e44b791ae4166acf28440dbd5a4e2bf858c7d8.tar.gz
se_policy changes to support System navigation selection.
Bug: 182378048 Fixes: 182378048 Test: Manually changed system navigation in Settings and it worked. Change-Id: Iff16de4dfe45f61c96145254710d0ba9214af4a6
-rw-r--r--non_plat/system_app.te9
1 files changed, 9 insertions, 0 deletions
diff --git a/non_plat/system_app.te b/non_plat/system_app.te
index a62e4d3..d5cf4e0 100644
--- a/non_plat/system_app.te
+++ b/non_plat/system_app.te
@@ -56,3 +56,12 @@ 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;
+
+# Date 2021/03/29
+# Purpose: To support System navigation selection
+allow system_app mtk_cmdq_device:chr_file read;
+allow system_app mtk_cmdq_device:chr_file open;
+allow system_app mtk_cmdq_device:chr_file ioctl;
+allow system_app mtk_mdp_sync:chr_file read;
+allow system_app mtk_mdp_sync:chr_file open;
+allow system_app mtk_mdp_sync:chr_file ioctl;