Add shutdown_checkpoints rules for platform_app
Relaxation of SELinux policies to allow platform apps to read the
shutdown files
Test: Read /data/system/shutdown-checkpoints/* from platform_app
Bug: 306198106
Change-Id: Ifaf87b9898ac2ea3913e6b98863e8a82b9f8718f
diff --git a/private/platform_app.te b/private/platform_app.te
index eb9b70c..38339da 100644
--- a/private/platform_app.te
+++ b/private/platform_app.te
@@ -144,6 +144,9 @@
# Allow platform apps to create VMs
virtualizationservice_use(platform_app)
+# Allow platform apps to read files and directories under /data/system/shutdown-checkpoints/
+r_dir_file(platform_app, shutdown_checkpoints_system_data_file)
+
###
### Neverallow rules
###