Skip to content
Snippets Groups Projects
Commit b5396d98 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "Fix init's restorecon of /dev/kmsg." am: c0937b6e

am: b70abb6e

Change-Id: I1b1fed22276faec32759d9b705fce60caa093d20
parents 0f41c34e b70abb6e
No related branches found
No related tags found
No related merge requests found
...@@ -11,12 +11,15 @@ allow init tmpfs:chr_file create_file_perms; ...@@ -11,12 +11,15 @@ allow init tmpfs:chr_file create_file_perms;
# #
# init direct restorecon calls. # init direct restorecon calls.
# #
# /dev/socket # /dev/kmsg
allow init { device socket_device }:dir relabelto; allow init tmpfs:chr_file relabelfrom;
allow init kmsg_device:chr_file { write relabelto };
# /dev/__properties__ # /dev/__properties__
allow init properties_device:dir relabelto; allow init properties_device:dir relabelto;
allow init properties_serial:file { write relabelto }; allow init properties_serial:file { write relabelto };
allow init property_type:file { create_file_perms relabelto }; allow init property_type:file { create_file_perms relabelto };
# /dev/socket
allow init { device socket_device }:dir relabelto;
# setrlimit # setrlimit
allow init self:capability sys_resource; allow init self:capability sys_resource;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment