Skip to content
Snippets Groups Projects
Commit 891798a0 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "Let init restorecon /dev/random and /dev/urandom." am: 56febcef am: e5c0faf7

am: 69030514

Change-Id: I76affbf21b2a70e557e6a12ace675afc50fd024e
parents 87f2ee8e 69030514
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,9 @@ allow init properties_serial:file { write relabelto }; ...@@ -20,6 +20,9 @@ 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 # /dev/socket
allow init { device socket_device }:dir relabelto; allow init { device socket_device }:dir relabelto;
# /dev/random, /dev/urandom
allow init random_device:chr_file relabelto;
allow init urandom_device:chr_file relabelto;
# /dev/device-mapper, /dev/block(/.*)? # /dev/device-mapper, /dev/block(/.*)?
allow init tmpfs:{ chr_file blk_file } relabelfrom; allow init tmpfs:{ chr_file blk_file } relabelfrom;
allow init tmpfs:blk_file getattr; allow init tmpfs:blk_file getattr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment