Skip to content
Snippets Groups Projects
Commit dde36a61 authored by Sandeep Patil's avatar Sandeep Patil Committed by android-build-merger
Browse files

Merge "init: allow init to restorecon on block devices and their symlinks" am:...

Merge "init: allow init to restorecon on block devices and their symlinks" am: 2e934f7f am: 4afe2e28
am: ccead992

Change-Id: I628a999694aa3bbb70a4263a61d977c85d62cb45
parents 567b490e ccead992
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,11 @@ allow init random_device:chr_file relabelto;
# /dev/device-mapper, /dev/block(/.*)?
allow init tmpfs:{ chr_file blk_file } relabelfrom;
allow init tmpfs:blk_file getattr;
allow init block_device:{ dir blk_file } relabelto;
allow init block_device:{ dir blk_file lnk_file } relabelto;
allow init dm_device:{ chr_file blk_file } relabelto;
allow init kernel:fd use;
# restorecon for early mount device symlinks
allow init tmpfs:lnk_file { getattr read relabelfrom };
# setrlimit
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