Skip to content
Snippets Groups Projects
Commit a54911b6 authored by Hung-ying Tyan's avatar Hung-ying Tyan Committed by android-build-merger
Browse files

Allow init to mount /odm, /vendor early

am: c3774720

Change-Id: I7ffbc6c1d4213fe68c52ded884bd9db9f6b37fb1
parents 9cb9c4bd c3774720
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,11 @@ allow init properties_serial:file { write relabelto }; ...@@ -20,6 +20,11 @@ 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/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 dm_device:{ chr_file blk_file } relabelto;
# setrlimit # setrlimit
allow init self:capability sys_resource; 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