diff --git a/public/sgdisk.te b/public/sgdisk.te index 47966bd4b3f2ceb3afd991301e7b199f070cd49b..9d71249836fd70cb1176bc56f84426ab1e6abbe9 100644 --- a/public/sgdisk.te +++ b/public/sgdisk.te @@ -15,6 +15,8 @@ allowxperm sgdisk vold_device:blk_file ioctl { HDIO_GETGEO }; # 2T in size, but we allow it for now and hope that sgdisk # will fix their bug. allowxperm sgdisk vold_device:blk_file ioctl { BLKGETSIZE }; +# Force a re-read of the partition table. +allowxperm sgdisk vold_device:blk_file ioctl { BLKRRPART }; # Inherit and use pty created by android_fork_execvp() allow sgdisk devpts:chr_file { read write ioctl getattr };