Merge "New property to control Async I/O for snapuserd"

This commit is contained in:
Akilesh Kailash 2022-01-14 00:06:23 +00:00 committed by Gerrit Code Review
commit 9de6ad61ff
2 changed files with 4 additions and 0 deletions

View file

@ -296,9 +296,11 @@ ro.virtual_ab.retrofit u:object_r:virtual_ab_prop:s0 exact bool
ro.virtual_ab.compression.enabled u:object_r:virtual_ab_prop:s0 exact bool
ro.virtual_ab.compression.xor.enabled u:object_r:virtual_ab_prop:s0 exact bool
ro.virtual_ab.userspace.snapshots.enabled u:object_r:virtual_ab_prop:s0 exact bool
ro.virtual_ab.io_uring.enabled u:object_r:virtual_ab_prop:s0 exact bool
snapuserd.ready u:object_r:snapuserd_prop:s0 exact bool
snapuserd.proxy_ready u:object_r:snapuserd_prop:s0 exact bool
snapuserd.test.dm.snapshots u:object_r:snapuserd_prop:s0 exact bool
snapuserd.test.io_uring.force_disable u:object_r:snapuserd_prop:s0 exact bool
ro.product.ab_ota_partitions u:object_r:ota_prop:s0 exact string
# Property to set/clear the warm reset flag after an OTA update.

View file

@ -8,6 +8,8 @@ init_daemon_domain(snapuserd)
allow snapuserd kmsg_device:chr_file rw_file_perms;
allow snapuserd self:capability ipc_lock;
# Allow snapuserd to reach block devices in /dev/block.
allow snapuserd block_device:dir search;