Merge "Allow LOOP_CONFIGURE ioctl in otapreopt_chroot"

This commit is contained in:
Treehugger Robot 2021-03-11 06:22:04 +00:00 committed by Gerrit Code Review
commit 8c885f0b36

View file

@ -46,6 +46,7 @@ allow otapreopt_chroot loop_control_device:chr_file rw_file_perms;
# Allow otapreopt_chroot to access loop devices.
allow otapreopt_chroot loop_device:blk_file rw_file_perms;
allowxperm otapreopt_chroot loop_device:blk_file ioctl {
LOOP_CONFIGURE
LOOP_GET_STATUS64
LOOP_SET_STATUS64
LOOP_SET_FD