Merge "[selinux] allow priv_app to get incremental progress"

This commit is contained in:
Treehugger Robot 2021-02-10 00:32:39 +00:00 committed by Gerrit Code Review
commit f14e49be1c

View file

@ -156,11 +156,12 @@ allow priv_app system_server:udp_socket {
r_dir_file(priv_app, sysfs_fs_incfs_features)
# 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 {
INCFS_IOCTL_READ_SIGNATURE
INCFS_IOCTL_FILL_BLOCKS
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