diff --git a/init.te b/init.te index ff029ab7812851ffd611894983841bffd1aea038..425aebc810625aedb5357fce2914e0a529b7c32a 100644 --- a/init.te +++ b/init.te @@ -11,12 +11,15 @@ allow init tmpfs:chr_file create_file_perms; # # 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;