Make /dev/{kvm,vhost-vsock} accessible to all UIDs

We will continue to restrict access to /dev/kvm and /dev/vhost-vsock with SELinux.

Bug: 245727626
Test: atest -p packages/modules/Virtualization:avf-presubmit
Change-Id: Id4f3e19c18a51bc51e6363d6ffde31c1032cf967
This commit is contained in:
David Brazdil 2022-10-08 20:00:07 +01:00
parent 3e951a7758
commit 8faa47c3ec

View file

@ -69,8 +69,8 @@ subsystem dma_heap
# CDMA radio interface MUX
/dev/ppp 0660 radio vpn
/dev/kvm 0600 system system
/dev/vhost-vsock 0600 system system
/dev/kvm 0666 root root
/dev/vhost-vsock 0666 root root
# sysfs properties
/sys/devices/platform/trusty.* trusty_version 0440 root log