From 5021aa05e8529b9effdea563677484a2ee04a8fc Mon Sep 17 00:00:00 2001 From: Praveen K Paladugu Date: Mon, 1 Apr 2024 16:04:19 +0000 Subject: [PATCH] tests: Enable landlock in test_console_file 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 717546895..7a17aaa89 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -4332,6 +4332,10 @@ mod common_parallel { .args(["--memory", "size=512M"]) .args(["--kernel", direct_kernel_boot_path().to_str().unwrap()]) .args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE]) + .args([ + "--landlock-rules", + format!("path={:?},flags=rw", console_path.to_str().unwrap()).as_str(), + ]) .default_disks() .default_net() .args([