Merge "Allow sgdisk to use BLKPBSZGET ioctl" into rvc-dev am: ca26a345db

Change-Id: I79c925cb0a572e7a3f6645afc46e3d60b40bb449
This commit is contained in:
TreeHugger Robot 2020-05-18 08:31:57 +00:00 committed by Automerger Merge Worker
commit 976b9be5ba

View file

@ -17,6 +17,8 @@ allowxperm sgdisk vold_device:blk_file ioctl { HDIO_GETGEO };
allowxperm sgdisk vold_device:blk_file ioctl { BLKGETSIZE };
# Force a re-read of the partition table.
allowxperm sgdisk vold_device:blk_file ioctl { BLKRRPART };
# Allow reading of the physical block size.
allowxperm sgdisk vold_device:blk_file ioctl { BLKPBSZGET };
# Inherit and use pty created by android_fork_execvp()
allow sgdisk devpts:chr_file { read write ioctl getattr };