Skip to content
Snippets Groups Projects
Commit 0975d730 authored by Joel Galenson's avatar Joel Galenson
Browse files

Allow init to create /dev/event-log-tags.

Now that creating a symlink automatically sets its context,
init needs permission to create this file.

Bug: 69965807
Test: Booted device and tested wifi and camera.
Change-Id: I41f5ca8f4d877312c9b2a909001fe9cd80c3d458
parent b8b4f5d6
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ allow init properties_serial:file { write relabelto }; ...@@ -23,7 +23,7 @@ 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/event-log-tags # /dev/event-log-tags
allow init device:file relabelfrom; allow init device:file relabelfrom;
allow init runtime_event_log_tags_file:file { open write setattr relabelto }; allow init runtime_event_log_tags_file:file { open write setattr relabelto create };
# /dev/socket # /dev/socket
allow init { device socket_device }:dir relabelto; allow init { device socket_device }:dir relabelto;
# /dev/random, /dev/urandom # /dev/random, /dev/urandom
......
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