Allow update_verifier to connect to snapuserd daemon

Bug: 193863442
Test: OTA
Signed-off-by: Akilesh Kailash <akailash@google.com>
Change-Id: I10cb900466078930c9124fc381ba2adfc50ffcd4
This commit is contained in:
Akilesh Kailash 2022-03-23 18:50:23 +00:00
parent 06c506940e
commit 5fe8252425

View file

@ -7,3 +7,10 @@ set_prop(update_verifier, powerctl_prop)
# Allow to set the OTA related properties e.g. ota.warm_reset.
set_prop(update_verifier, ota_prop)
# allow update_verifier to connect to snapuserd daemon
allow update_verifier snapuserd_socket:sock_file write;
allow update_verifier snapuserd:unix_stream_socket connectto;
# virtual a/b properties
get_prop(update_verifier, virtual_ab_prop)