Open virtmgr / crosvm / libavf for vendor clients
Vendor domains are required to customize SEPolicy to use AVF. This
allows vendors to use virtualizationservice_use and early_virtmgr_use
macros, and to link against libavf.
Bug: 384424151
Test: run a VM from vendor clients
Change-Id: I6f6edca0a926f2cc8521b14a997b9b96f23926de
diff --git a/apex/com.android.virt-file_contexts b/apex/com.android.virt-file_contexts
index 75f9c10..bb0f909 100644
--- a/apex/com.android.virt-file_contexts
+++ b/apex/com.android.virt-file_contexts
@@ -12,3 +12,4 @@
is_flag_enabled(RELEASE_AVF_ENABLE_EARLY_VM, `
/bin/early_virtmgr u:object_r:early_virtmgr_exec:s0
')
+/lib(64)?(/.*)? u:object_r:system_lib_file:s0