vmm: Enable Landlock on http-server thread

Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
This commit is contained in:
Praveen K Paladugu
2024-02-15 21:53:11 +00:00
committed by Liu Wei
parent 130c988380
commit 1dd53c3d24
2 changed files with 20 additions and 0 deletions
+2
View File
@@ -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