Allow LOOP_CONFIGURE ioctl in otapreopt_chroot
This ioctl is called by mount in otapreopt_chroot
Test: manual
Bug: 181182967
Change-Id: I37b8538f3e0aae6c66ea1af3d60c4eb340dcea62
diff --git a/private/otapreopt_chroot.te b/private/otapreopt_chroot.te
index 37149ab..f7fbcfa 100644
--- a/private/otapreopt_chroot.te
+++ b/private/otapreopt_chroot.te
@@ -42,6 +42,7 @@
# 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