Merge changes from topic "task_profile_crosvm"

* changes:
  Virtualizationservice is owned by the system UID
  /dev/[kvm|vhost-vsock] are owned by system
This commit is contained in:
Jiyong Park 2022-04-18 16:38:29 +00:00 committed by Gerrit Code Review
commit 5590e1152e
2 changed files with 3 additions and 4 deletions

View file

@ -829,7 +829,7 @@ on post-fs-data
mkdir /data/misc/odsign/metrics 0770 root system
# Directory for VirtualizationService temporary image files.
mkdir /data/misc/virtualizationservice 0700 virtualizationservice virtualizationservice
mkdir /data/misc/virtualizationservice 0700 system system
mkdir /data/preloads 0775 system system encryption=None

View file

@ -67,9 +67,8 @@ subsystem dma_heap
# CDMA radio interface MUX
/dev/ppp 0660 radio vpn
# Virtualization is managed by VirtualizationService.
/dev/kvm 0600 virtualizationservice root
/dev/vhost-vsock 0600 virtualizationservice root
/dev/kvm 0600 system system
/dev/vhost-vsock 0600 system system
# sysfs properties
/sys/devices/platform/trusty.* trusty_version 0440 root log