Skip to content
Snippets Groups Projects
Commit 1af17a08 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix init's restorecon of /dev/kmsg.

Bug: http://b/30699558
Change-Id: Id9b213967ab290f45d1b8a5ab6712845ac9a0b69
parent b89d1d21
No related branches found
No related tags found
No related merge requests found
......@@ -11,12 +11,16 @@ 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;
allow init kernel:fd use;
# setrlimit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment