Merge "Fix init's restorecon of /dev/kmsg."
diff --git a/init.te b/init.te
index ff029ab..425aebc 100644
--- a/init.te
+++ b/init.te
@@ -11,12 +11,15 @@
#
# init direct restorecon calls.
#
-# /dev/socket
-allow init { device socket_device }:dir relabelto;
+# /dev/kmsg
+allow init tmpfs:chr_file relabelfrom;
+allow init kmsg_device:chr_file { write relabelto };
# /dev/__properties__
allow init properties_device:dir relabelto;
allow init properties_serial:file { write relabelto };
allow init property_type:file { create_file_perms relabelto };
+# /dev/socket
+allow init { device socket_device }:dir relabelto;
# setrlimit
allow init self:capability sys_resource;