Merge "[selinux] allow priv_app to get incremental progress" am: f14e49be1c

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1581966

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If428dfe89afd31a5f491553c3dc6e7a99a3eb9e1
This commit is contained in:
Treehugger Robot 2021-02-10 01:25:12 +00:00 committed by Automerger Merge Worker
commit 258ee7802e

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