Skip to content
Snippets Groups Projects
Commit dddda727 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Init: Enable init to relabel symlinks for recovery_block_device." into pi-dev

parents 0773d17f ecab4010
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,11 @@ allow init dm_device:{ chr_file blk_file } relabelto; ...@@ -39,8 +39,11 @@ allow init dm_device:{ chr_file blk_file } relabelto;
allow init kernel:fd use; allow init kernel:fd use;
# restorecon for early mount device symlinks # restorecon for early mount device symlinks
allow init tmpfs:lnk_file { getattr read relabelfrom }; allow init tmpfs:lnk_file { getattr read relabelfrom };
allow init system_block_device:{ blk_file lnk_file } relabelto; allow init {
allow init misc_block_device:{ blk_file lnk_file } relabelto; misc_block_device
recovery_block_device
system_block_device
}:{ blk_file lnk_file } relabelto;
# setrlimit # setrlimit
allow init self:global_capability_class_set sys_resource; allow init self:global_capability_class_set 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