sepolicy: ssr_dump: Allow write sysrq to trigger panic

Bug: 78316491

As ramdump enable, trigger panic with detection of modem disable ssr

Change-Id: I79ef3b497b1f3ddd438bc7199a94f0aa0b8a67f2
Signed-off-by: SalmaxChang <salmaxchang@google.com>
diff --git a/vendor/qcom/common/subsystem_ramdump.te b/vendor/qcom/common/subsystem_ramdump.te
index 9b65cb1..e19c774 100644
--- a/vendor/qcom/common/subsystem_ramdump.te
+++ b/vendor/qcom/common/subsystem_ramdump.te
@@ -23,7 +23,10 @@
   allow subsystem_ramdump ssr_log_file:dir rw_dir_perms;
   allow subsystem_ramdump ssr_log_file:file create_file_perms;
 
+  allow subsystem_ramdump proc_sysrq:file w_file_perms;
+
   set_prop(subsystem_ramdump, vendor_ssr_prop);
+  get_prop(subsystem_ramdump, vendor_ramdump_prop);
 
   dontaudit subsystem_ramdump kernel:system module_request;
 ')