commit | 920232be30318c32c00c5e49c2be345f33203391 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Nov 14 22:40:40 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Nov 14 22:40:40 2018 +0000 |
tree | 5cfa319374be41382a396daab0e86555963978c9 | |
parent | 5791e6eeeb6b13390294ee78a4a29ecceaf10309 [diff] | |
parent | fefc887edab6375dd46f6576c05fbcd6eb8a8ef6 [diff] |
Merge "vold: allow ioctls BLKDISCARD and BLKGETSIZE"
diff --git a/public/vold.te b/public/vold.te index 236604f..3848c35 100644 --- a/public/vold.te +++ b/public/vold.te
@@ -107,6 +107,7 @@ LOOP_SET_STATUS64 }; 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:blk_file rw_file_perms; allowxperm vold dm_device:blk_file ioctl BLKSECDISCARD;