mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Enable Landlock on http-server thread
Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
This commit is contained in:
committed by
Liu Wei
parent
130c988380
commit
1dd53c3d24
@@ -490,6 +490,7 @@ pub fn start_vmm_thread(
|
||||
seccomp_action,
|
||||
exit_event,
|
||||
hypervisor_type,
|
||||
landlock_enable,
|
||||
)?)
|
||||
} else if let Some(http_fd) = http_fd {
|
||||
Some(api::start_http_fd_thread(
|
||||
@@ -499,6 +500,7 @@ pub fn start_vmm_thread(
|
||||
seccomp_action,
|
||||
exit_event,
|
||||
hypervisor_type,
|
||||
landlock_enable,
|
||||
)?)
|
||||
} else {
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user