Merge "New property to control virtual a/b user-space snapshots" am: b295d44694

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

Change-Id: Ie804ed4155f4cb5cdfbe490f882f8215030aa63d
This commit is contained in:
Akilesh Kailash 2021-11-22 20:31:36 +00:00 committed by Automerger Merge Worker
commit ec750298c3
2 changed files with 3 additions and 0 deletions

View file

@ -294,8 +294,10 @@ ro.virtual_ab.enabled u:object_r:virtual_ab_prop:s0 exact bool
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
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
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

@ -40,6 +40,7 @@ allow snapuserd kernel:fd use;
# snapuserd.* properties
set_prop(snapuserd, snapuserd_prop)
get_prop(snapuserd, virtual_ab_prop)
# For inotify watching for /dev/socket/snapuserd_proxy to appear.
allow snapuserd tmpfs:dir { read watch };