Skip to content
Snippets Groups Projects
Commit 911292ee authored by Jeffrey Vander Stoep's avatar Jeffrey Vander Stoep Committed by android-build-merger
Browse files

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

am: 26164a63

* commit '26164a63':
  fsck: allow e2fsck to stat swap_block_device
parents 9b16fbb9 26164a63
No related branches found
No related tags found
No related merge requests found
......@@ -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
###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment