Storage: fix hal_health_storage_default selinux error
Bug: 264490032
Test: atest VtsHalHealthStorageTargetTest
Change-Id: I953e9425f890863d2cdd10aed1efbdc1e31845c9
Signed-off-by: Randall Huang <huangrandall@google.com>
diff --git a/storage/sepolicy/hal_health_storage_default.te b/storage/sepolicy/hal_health_storage_default.te
new file mode 100644
index 0000000..af6593a
--- /dev/null
+++ b/storage/sepolicy/hal_health_storage_default.te
@@ -0,0 +1,3 @@
+# Access to /sys/devices/platform/*ufs/*
+allow hal_health_storage_default sysfs_scsi_devices_0000:dir r_dir_perms;
+allow hal_health_storage_default sysfs_scsi_devices_0000:file rw_file_perms;