allow init to run fsck for early mount partitions
Bug: 111883560 Test: fsck runs successfully during early mount Change-Id: I697d0ab8ba51824d5c5062b48370a73438311566
This commit is contained in:
parent
719fa6db00
commit
47157353af
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ allow init device:file relabelfrom;
|
|||
allow init runtime_event_log_tags_file:file { open write setattr relabelto create };
|
||||
# /dev/socket
|
||||
allow init { device socket_device }:dir relabelto;
|
||||
# /dev/random, /dev/urandom
|
||||
allow init random_device:chr_file relabelto;
|
||||
# Relabel /dev nodes created in first stage init, /dev/null, /dev/ptmx, /dev/random, /dev/urandom
|
||||
allow init { null_device ptmx_device random_device } : chr_file relabelto;
|
||||
# /dev/device-mapper, /dev/block(/.*)?
|
||||
allow init tmpfs:{ chr_file blk_file } relabelfrom;
|
||||
allow init tmpfs:blk_file getattr;
|
||||
|
|
Loading…
Reference in a new issue