Dumpstate: allow fsck/checkpoint time for dumpstate
Bug: 149844577
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I5a22c9a6c182c51eccd1d906bcec92fe3aeada54
diff --git a/vendor/google/hal_dumpstate_impl.te b/vendor/google/hal_dumpstate_impl.te
index 9cf62c6..3d9837b 100644
--- a/vendor/google/hal_dumpstate_impl.te
+++ b/vendor/google/hal_dumpstate_impl.te
@@ -100,6 +100,9 @@
allow hal_dumpstate_impl proc_scsi:dir r_dir_perms;
allow hal_dumpstate_impl proc_scsi:file r_file_perms;
+# Access to prop
+get_prop(hal_dumpstate_impl, boottime_public_prop)
+
dontaudit hal_dumpstate_impl tcpdump_vendor_data_file:dir create_dir_perms;
dontaudit hal_dumpstate_impl tcpdump_vendor_data_file:file create_file_perms;
dontaudit hal_dumpstate_impl vendor_tcpdump_log_prop:file r_file_perms;