Merge "Allow sgdisk to use BLKPBSZGET ioctl" am: 19eab1a117

Change-Id: I4ec0f2175604c3e7c59134b3affd9006c20be0e8
This commit is contained in:
Alistair Delva 2020-05-17 00:48:45 +00:00 committed by Automerger Merge Worker
commit c44ce0c93b

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 };