Merge "Allow init to relabelto to misc_block_device."

This commit is contained in:
Tao Bao 2017-09-11 16:35:27 +00:00 committed by Gerrit Code Review
commit fdedacd629

View file

@ -37,6 +37,7 @@ allow init kernel:fd use;
# restorecon for early mount device symlinks
allow init tmpfs:lnk_file { getattr read relabelfrom };
allow init system_block_device:{ blk_file lnk_file } relabelto;
allow init misc_block_device:{ blk_file lnk_file } relabelto;
# setrlimit
allow init self:capability sys_resource;