selinux: Add policies for QXDM logger.

Change-Id: I4c3249a3289243356d9c5258b12c9c9974186923
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 38edb00..cc2b74c 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -54,6 +54,7 @@
 /dev/hsicctl[0-3]                      u:object_r:radio_device:s0
 /dev/ks_hsic_bridge                    u:object_r:kickstart_device:s0
 /dev/efs_hsic_bridge                   u:object_r:kickstart_device:s0
+/dev/diag_mdm                          u:object_r:kickstart_device:s0
 # RCA, EF1, EF2, CDR labeling
 /dev/block/mmcblk0p8                   u:object_r:efs_block_device:s0
 /dev/block/mmcblk0p21                  u:object_r:efs_block_device:s0
diff --git a/sepolicy/radio.te b/sepolicy/radio.te
index 229051b..36ed9ef 100644
--- a/sepolicy/radio.te
+++ b/sepolicy/radio.te
@@ -1,2 +1,9 @@
 # Talk to qmuxd (/dev/socket/qmux_radio)
 qmux_socket(radio)
+
+# The following 3 are needed for QXDM Logger
+userdebug_or_eng(`
+  allow radio radio_data_file:file { execute execute_no_trans };
+  allow radio kickstart_device:chr_file rw_file_perms;
+  allow radio su_exec:file getattr;
+')