From 9f597c6cebf98c2749b4206b40bba56b0db22768 Mon Sep 17 00:00:00 2001 From: bengris32 Date: Mon, 15 Aug 2022 12:49:09 +0100 Subject: [PATCH] sepolicy: basic: non_plat: Allow ccci_mdinit to read bootmode Signed-off-by: bengris32 Change-Id: Ic7fde9763638697168b38f9c88639a83a2e06290 --- basic/non_plat/ccci_mdinit.te | 1 + 1 file changed, 1 insertion(+) 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_ccci:file rw_file_perms; 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;