Add listen/accept permission to MM's vsock

Bug: 259241719
Test: atest MicrodroidHostTestCases MicrodroidTestApp
Change-Id: I7403b2ae777fd72bb056b5cb260e693ef0793cff
This commit is contained in:
Inseob Kim 2022-11-16 20:13:29 +09:00
parent cb2c533d83
commit 5df428bea8

View file

@ -48,6 +48,9 @@ allow microdroid_manager kmsg_device:chr_file w_file_perms;
# Let microdroid_manager to create a vsock connection back to the host VM
allow microdroid_manager self:vsock_socket { create_socket_perms_no_ioctl };
# Let microdroid_manager listen/accept from the host for stdio proxy
allow microdroid_manager self:vsock_socket { listen accept };
# microdroid_manager is using bootstrap bionic
use_bootstrap_libs(microdroid_manager)