Skip to content
Snippets Groups Projects
Commit 920232be authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "vold: allow ioctls BLKDISCARD and BLKGETSIZE"

parents 5791e6ee fefc887e
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,7 @@ allowxperm vold loop_device:blk_file ioctl { ...@@ -107,6 +107,7 @@ allowxperm vold loop_device:blk_file ioctl {
LOOP_SET_STATUS64 LOOP_SET_STATUS64
}; };
allow vold vold_device:blk_file { create setattr unlink rw_file_perms }; allow vold vold_device:blk_file { create setattr unlink rw_file_perms };
allowxperm vold vold_device:blk_file ioctl { BLKDISCARD BLKGETSIZE };
allow vold dm_device:chr_file rw_file_perms; allow vold dm_device:chr_file rw_file_perms;
allow vold dm_device:blk_file rw_file_perms; allow vold dm_device:blk_file rw_file_perms;
allowxperm vold dm_device:blk_file ioctl BLKSECDISCARD; allowxperm vold dm_device:blk_file ioctl BLKSECDISCARD;
......
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