From c1e8eb522680ce4d18f520f2debd35fd7e53061b Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 4 Apr 2022 20:20:24 +0000 Subject: [PATCH] crosvm: netlink perms for acpi Required by crosvm update. Bug: 228077254 Bug: 226645768 Test: CompOsTestCase progress Change-Id: I25e9aa257a26992e48e99e02f04195be52a24194 --- private/crosvm.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/private/crosvm.te b/private/crosvm.te index 26b1df3c5..0fd146e31 100644 --- a/private/crosvm.te +++ b/private/crosvm.te @@ -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;')