yukawa: Fix system_suspend sysfs access
Bug: 148301615
Test: Manual
Change-Id: Ic870166159e8578f4e8dece6d5df6502a93e631b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index e54b229..f345853 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -9,6 +9,12 @@
/sys/devices/virtual/thermal(/.*)? u:object_r:sysfs_thermal:s0
/sys/class/thermal(/.*)? u:object_r:sysfs_thermal:s0
+/sys/devices/platform/soc/ffe03000.sd/mmc_host(/.*)? u:object_r:sysfs_suspend_stats:s0
+/sys/devices/platform/soc/ff800000.bus/ff8000a8.rtc/wakeup(/.*)? u:object_r:sysfs_suspend_stats:s0
+/sys/devices/platform/soc/ff800000.bus/ff8000a8.rtc/rtc/rtc0/wakeup1(/.*)? u:object_r:sysfs_suspend_stats:s0
+/sys/devices/platform/soc/ffd00000.bus/ffd24000.serial(/.*)? u:object_r:sysfs_suspend_stats:s0
+/sys/devices/platform/soc/ffe09000.usb/ff500000.usb(/.*)? u:object_r:sysfs_suspend_stats:s0
+
# files in /vendor
/(vendor|system/vendor)/lib(64)?/hw/gralloc\.yukawa\.so u:object_r:same_process_hal_file:s0
/vendor/bin/hw/android\.hardware\.health@2\.0-service\.yukawa u:object_r:hal_health_default_exec:s0