Skip to content
Snippets Groups Projects
Commit 26164a63 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

* commit '792622c3':
  fsck: allow e2fsck to stat swap_block_device
parents 0bbe2fff 792622c3
Branches
Tags
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