sepolicy: basic: non_plat: Drop sysfs_block type
* The sysfs_block type was removed in the T sepolicy.
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ib301a4b49d1a74013923fc6c56ade1a2a3c5c13d
diff --git a/basic/non_plat/factory.te b/basic/non_plat/factory.te
index 9f28f91..141a103 100644
--- a/basic/non_plat/factory.te
+++ b/basic/non_plat/factory.te
@@ -511,10 +511,6 @@
# Date: 2021/07/30
# Operation : To access camera control daemon driver
allow factory mtk_ccd_device:chr_file rw_file_perms;
-# Date: 2021/08/27
-# Operation : add permission for storage
-allow factory sysfs_block:dir search;
-
# Date: 2022/01/24
allow factory mnt_vendor_file:dir search;
diff --git a/basic/non_plat/recovery.te b/basic/non_plat/recovery.te
index aad62a6..a871565 100644
--- a/basic/non_plat/recovery.te
+++ b/basic/non_plat/recovery.te
@@ -47,8 +47,3 @@
# Seen during 'Wipe data/factory reset'
allow recovery devpts:chr_file rw_file_perms;
-
-# Date : WK36.02
-# Operation : OTA-SIU
-# Purpose : Android Migration for Google issue
-allow recovery sysfs_block:dir search;
diff --git a/basic/non_plat/update_engine.te b/basic/non_plat/update_engine.te
index 9a9f66c..cb2ff6d 100644
--- a/basic/non_plat/update_engine.te
+++ b/basic/non_plat/update_engine.te
@@ -56,8 +56,3 @@
allow update_engine postinstall_block_device:dir w_dir_perms;
allow update_engine postinstall_block_device:lnk_file create_file_perms;
allow update_engine proc_bootconfig:file r_file_perms;
-
-# Date : 2022/02/07
-# Operation : T migration
-# Purpose : Add permission for pl path utilities
-allow update_engine sysfs_block:dir search;