Merge "[selinux] allow priv_app to get incremental progress"
This commit is contained in:
commit
f14e49be1c
1 changed files with 2 additions and 1 deletions
|
@ -156,11 +156,12 @@ allow priv_app system_server:udp_socket {
|
||||||
r_dir_file(priv_app, sysfs_fs_incfs_features)
|
r_dir_file(priv_app, sysfs_fs_incfs_features)
|
||||||
|
|
||||||
# allow apps like Phonesky to check the file signature of an apk installed on
|
# allow apps like Phonesky to check the file signature of an apk installed on
|
||||||
# the Incremental File System, fill missing blocks and get the app status
|
# the Incremental File System, fill missing blocks and get the app status and loading progress
|
||||||
allowxperm priv_app apk_data_file:file ioctl {
|
allowxperm priv_app apk_data_file:file ioctl {
|
||||||
INCFS_IOCTL_READ_SIGNATURE
|
INCFS_IOCTL_READ_SIGNATURE
|
||||||
INCFS_IOCTL_FILL_BLOCKS
|
INCFS_IOCTL_FILL_BLOCKS
|
||||||
INCFS_IOCTL_GET_BLOCK_COUNT
|
INCFS_IOCTL_GET_BLOCK_COUNT
|
||||||
|
INCFS_IOCTL_GET_FILLED_BLOCKS
|
||||||
};
|
};
|
||||||
|
|
||||||
# allow privileged data loader apps (e.g. com.android.vending) to read logs from Incremental File System
|
# allow privileged data loader apps (e.g. com.android.vending) to read logs from Incremental File System
|
||||||
|
|
Loading…
Reference in a new issue