Allow shell read access to suspend mechanism
The sysfs node /sys/power/mem_sleep can be used to infer suspend
mechanism used by the device as part of CTS tests.
Test: adb shell cat /sys/power/mem_sleep
Bug: 378969936
Merged-In: I5bf2c5da6b5346e5b58f83cb6bab6875a8c0fea2
Change-Id: I25652e46dd816a44137c1742f3709192569defa6
diff --git a/private/file.te b/private/file.te
index 856af1d..af1ed8b 100644
--- a/private/file.te
+++ b/private/file.te
@@ -259,5 +259,9 @@
type tee_service_contexts_file, system_file_type, file_type;
')
+until_board_api(202504, `
+ type sysfs_mem_sleep, fs_type, sysfs_type;
+')
+
## END Types added in 202504 in public/file.te