Fix denials during bugreport.
Bug: 124465994
Test: Build
Change-Id: I31682a5a16287190b435928b7f6723a4641367b2
(cherry picked from commit d7249a91576114591a00721fcc804041ebcdb7b2)
diff --git a/sepolicy/dumpstate.te b/sepolicy/dumpstate.te
index 06f113a..563bb5a 100644
--- a/sepolicy/dumpstate.te
+++ b/sepolicy/dumpstate.te
@@ -6,6 +6,5 @@
# For collecting bugreports.
allow dumpstate sysfs_scsi_devices_0000:file r_file_perms;
allow dumpstate sysfs_scsi_devices_other:file r_file_perms;
-allow dumpstate sysfs_devices_block:file r_file_perms;
allow dumpstate persist_file:dir getattr;
dontaudit dumpstate kernel:system module_request;
diff --git a/sepolicy/file.te b/sepolicy/file.te
index 9ba8621..c3ac7a0 100644
--- a/sepolicy/file.te
+++ b/sepolicy/file.te
@@ -36,7 +36,6 @@
type sysfs_diag, fs_type, sysfs_type;
type sysfs_scsi_devices_0000, sysfs_type, fs_type;
type sysfs_scsi_devices_other, sysfs_type, fs_type;
-type sysfs_devices_block, sysfs_type, fs_type;
# b/70518189 vDSO experiments
type sysfs_vdso, fs_type, sysfs_type;
diff --git a/sepolicy/genfs_contexts b/sepolicy/genfs_contexts
index bf0e65b..5d73115 100644
--- a/sepolicy/genfs_contexts
+++ b/sepolicy/genfs_contexts
@@ -68,7 +68,6 @@
genfscon sysfs /devices/soc/624000.ufshc/host0/target0:0:0/0:0:0:5 u:object_r:sysfs_scsi_devices_other:s0
genfscon sysfs /devices/soc/624000.ufshc/health u:object_r:sysfs_scsi_devices_0000:s0
genfscon sysfs /module/diagchar u:object_r:sysfs_diag:s0
-genfscon sysfs /devices/virtual/block/ u:object_r:sysfs_devices_block:s0
# debugfs
genfscon debugfs /kgsl/proc u:object_r:debugfs_kgsl:s0