Merge "New property to control Async I/O for snapuserd" am: 9de6ad61ff
am: f3262f89ef
am: 5a333c328c
am: 20cc7e22c7
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1936919 Change-Id: Ia051234549fcf735dbc87b59609ac09e41af09f5
This commit is contained in:
commit
baa752e071
2 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue