From cca808865d0330ac6d623595f36f6b6345ea61b0 Mon Sep 17 00:00:00 2001 From: Praveen K Paladugu Date: Mon, 1 Apr 2024 16:14:45 +0000 Subject: [PATCH] tests: Enable landlock in test_net_hotplug Signed-off-by: Praveen K Paladugu --- tests/integration.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration.rs b/tests/integration.rs index 458f6da68..5bc679baa 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -5841,6 +5841,10 @@ mod common_parallel { .args(["--memory", "size=512M"]) .args(["--kernel", kernel_path.to_str().unwrap()]) .args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE]) + .args([ + "--landlock-rules", + format!("path={:?},flags=rw", "/dev/net/tun").as_str(), + ]) .default_disks() .capture_output();