omni: sepolicy: allow platform_app syslog_read

for MatLog collecting dmesg
and add MatLog to apps list

Change-Id: I424d0904eccefdeac43a9322f1e8f5d9d4c49902
diff --git a/config/packages.mk b/config/packages.mk
index 47ec2d9..10264b3 100644
--- a/config/packages.mk
+++ b/config/packages.mk
@@ -19,7 +19,8 @@
     audio_effects.conf \
     libcyanogen-dsp \
     Phonograph \
-    Turbo
+    Turbo \
+    MatLog
 
 PRODUCT_PACKAGES += \
     CellBroadcastReceiver
diff --git a/sepolicy/platform_app.te b/sepolicy/platform_app.te
index a7e21fc..dcbfa2d 100644
--- a/sepolicy/platform_app.te
+++ b/sepolicy/platform_app.te
@@ -14,3 +14,5 @@
 allow platform_app fuse_device:file { rw_file_perms create_file_perms };
 allow platform_app fuse_device:filesystem getattr;
 
+# MatLog calls dmesg
+allow platform_app kernel:system syslog_read;