crosvm: netlink perms for acpi

Required by crosvm update.

Bug: 228077254
Bug: 226645768
Test: CompOsTestCase progress
Change-Id: I25e9aa257a26992e48e99e02f04195be52a24194
This commit is contained in:
Steven Moreland 2022-04-04 20:20:24 +00:00
parent 586e350678
commit c1e8eb5226

View file

@ -63,6 +63,9 @@ allow crosvm {
allow crosvm adbd:fd use;
allow crosvm adbd:unix_stream_socket { read write };
# For ACPI
allow crosvm self:netlink_generic_socket create_socket_perms_no_ioctl;
# The console log can also be written to /data/local/tmp. This is not safe as the log then can be
# visible to the processes which don't own the VM. Therefore, this is a debugging only feature.
userdebug_or_eng(`allow crosvm shell_data_file:file w_file_perms;')