Merge "Sepolicy for crosvm to play audio with aaudio" into main am: 12d84e2484

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

Change-Id: I367c968a615df84904a36d17b26ebc193d133318
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mu-Le Lee 2024-06-01 01:35:12 +00:00 committed by Automerger Merge Worker
commit 397d1c59bc

View file

@ -97,6 +97,10 @@ is_flag_enabled(RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES, `
allow crosvm servicemanager:binder { call transfer };
allow crosvm virtualization_service:service_manager find;
allow crosvm virtualizationservice:binder { call transfer };
# Allow crosvm to play sound.
binder_call(crosvm, audioserver)
allow crosvm audioserver_service:service_manager find;
')
# crosvm tries to use netlink sockets as part its APCI implementation, but we don't need it for AVF (b/228077254)