Merge "fsck: allow e2fsck to stat swap_block_device" am: 792622c383

am: 26164a6331

* commit '26164a6331509d6bc7d192f879af0a9b60bce7a7':
  fsck: allow e2fsck to stat swap_block_device
This commit is contained in:
Jeffrey Vander Stoep 2016-01-22 00:03:55 +00:00 committed by android-build-merger
commit 911292ee13

View file

@ -21,6 +21,10 @@ allow fsck userdata_block_device:blk_file rw_file_perms;
allow fsck cache_block_device:blk_file rw_file_perms;
allow fsck dm_device:blk_file rw_file_perms;
# fsck performs a stat() on swap to verify that it is a valid
# swap device before setting the EXT2_MF_SWAP mount flag.
allow fsck swap_block_device:blk_file getattr;
###
### neverallow rules
###