Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"
diff --git a/vendor/qcom/common/hal_dumpstate_impl.te b/vendor/qcom/common/hal_dumpstate_impl.te
index f0d9b8d..2e0c95d 100644
--- a/vendor/qcom/common/hal_dumpstate_impl.te
+++ b/vendor/qcom/common/hal_dumpstate_impl.te
@@ -11,6 +11,8 @@
userdebug_or_eng(`
# smlog_dump
domain_auto_trans(hal_dumpstate_impl, smlog_dump_exec, smlog_dump)
+ allow hal_dumpstate_impl modem_dump_file:dir create_dir_perms;
+ allow hal_dumpstate_impl modem_dump_file:file create_file_perms;
allow hal_dumpstate_impl radio_vendor_data_file:dir r_dir_perms;
allow hal_dumpstate_impl radio_vendor_data_file:file r_file_perms;
allow hal_dumpstate_impl netmgr_data_file:dir r_dir_perms;
@@ -26,9 +28,9 @@
set_prop(hal_dumpstate_impl, vendor_modem_diag_prop)
')
-allow hal_dumpstate_impl modem_dump_file:dir create_dir_perms;
-allow hal_dumpstate_impl modem_dump_file:file create_file_perms;
allow hal_dumpstate_impl modem_stat_data_file:file r_file_perms;
+dontaudit hal_dumpstate_impl modem_dump_file:dir create_dir_perms;
+dontaudit hal_dumpstate_impl modem_dump_file:file create_file_perms;
allow hal_dumpstate_impl uio_device:chr_file rw_file_perms;
r_dir_file(hal_dumpstate_impl, sysfs_uio)