sepolicy: basic: non_plat: Allow ccci_mdinit to read bootmode
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ic7fde9763638697168b38f9c88639a83a2e06290
diff --git a/basic/non_plat/ccci_mdinit.te b/basic/non_plat/ccci_mdinit.te
index de9af63..e57dc5b 100644
--- a/basic/non_plat/ccci_mdinit.te
+++ b/basic/non_plat/ccci_mdinit.te
@@ -89,6 +89,7 @@
allow ccci_mdinit sysfs_ssw:dir search;
allow ccci_mdinit sysfs_ssw:file r_file_perms;
allow ccci_mdinit sysfs_boot_info:file r_file_perms;
+allow ccci_mdinit sysfs_boot_mode:file r_file_perms;
# Purpose : Allow ccci_mdinit to open and read/write /proc/bootprof
allow ccci_mdinit proc_bootprof:file rw_file_perms;