Skip to content
Snippets Groups Projects
Commit 77fd9dbd authored by Yifan Hong's avatar Yifan Hong Committed by Gerrit Code Review
Browse files

Merge "Allow BLKIOMIN and BLKALIGNOFF to super device in update_engine."

parents 46522131 8d32223b
No related branches found
No related tags found
No related merge requests found
...@@ -64,3 +64,12 @@ allow update_engine_common dm_device:blk_file rw_file_perms; ...@@ -64,3 +64,12 @@ allow update_engine_common dm_device:blk_file rw_file_perms;
# read / write metadata on super device to resize partitions # read / write metadata on super device to resize partitions
allow update_engine_common super_block_device:blk_file rw_file_perms; allow update_engine_common super_block_device:blk_file rw_file_perms;
# ioctl on super device to get block device alignment and alignment offset
allowxperm update_engine_common {
system_block_device
super_block_device
}:blk_file ioctl { BLKIOMIN BLKALIGNOFF };
# get physical block device to map logical partitions on device mapper
allow update_engine_common block_device:dir r_dir_perms;
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