55d808c28c
Split virtualizationservice policy into rules that should remain with the global service and rules that now apply to virtmgr - a child process of the client that runs the VM on its behalf. The virtualizationservice domain remains responsible for: * allocating CIDs (access to props) * creating temporary VM directories (virtualization_data_file, chown) * receiving tombstones from VMs * pushing atoms to statsd * removing memlock rlimit from virtmgr The new virtualizationmanager domain becomes responsible for: * executing crosvm * creating vsock connections, handling callbacks * preparing APEXes * pushing ramdumps to tombstoned * collecting stats for telemetry atoms The `virtualizationservice_use` macro is changed to allow client domains to transition to the virtmgr domain upon executing it as their child, and to allow communication over UDS. Clients are not allowed to communicate with virtualizationservice via Binder, only virtmgr is now allowed to do that. Bug: 250685929 Test: atest -p packages/modules/Virtualization:avf-presubmit Change-Id: Iefdccd908fc28e5d8c6f4566290e79ed88ade70b |
||
---|---|---|
.. | ||
Android.bp | ||
apex.test-file_contexts | ||
com.android.adbd-file_contexts | ||
com.android.adservices-file_contexts | ||
com.android.appsearch-file_contexts | ||
com.android.art-file_contexts | ||
com.android.art.debug-file_contexts | ||
com.android.bluetooth-file_contexts | ||
com.android.bootanimation-file_contexts | ||
com.android.btservices-file_contexts | ||
com.android.car.framework-file_contexts | ||
com.android.cellbroadcast-file_contexts | ||
com.android.compos-file_contexts | ||
com.android.conscrypt-file_contexts | ||
com.android.cronet-file_contexts | ||
com.android.devicelock-file_contexts | ||
com.android.extservices-file_contexts | ||
com.android.federatedcompute-file_contexts | ||
com.android.geotz-file_contexts | ||
com.android.gki-file_contexts | ||
com.android.healthconnect-file_contexts | ||
com.android.i18n-file_contexts | ||
com.android.ipsec-file_contexts | ||
com.android.media-file_contexts | ||
com.android.media.swcodec-file_contexts | ||
com.android.mediaprovider-file_contexts | ||
com.android.neuralnetworks-file_contexts | ||
com.android.ondevicepersonalization-file_contexts | ||
com.android.os.statsd-file_contexts | ||
com.android.permission-file_contexts | ||
com.android.resolv-file_contexts | ||
com.android.rkpd-file_contexts | ||
com.android.runtime-file_contexts | ||
com.android.scheduling-file_contexts | ||
com.android.sdkext-file_contexts | ||
com.android.sepolicy-file_contexts | ||
com.android.tethering-file_contexts | ||
com.android.tzdata-file_contexts | ||
com.android.uwb-file_contexts | ||
com.android.virt-file_contexts | ||
com.android.vndk-file_contexts | ||
com.android.wifi-file_contexts |