mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
tests: Enable landlock in test_console_file
Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
This commit is contained in:
parent
ab0f103dac
commit
5021aa05e8
@ -4332,6 +4332,10 @@ mod common_parallel {
|
|||||||
.args(["--memory", "size=512M"])
|
.args(["--memory", "size=512M"])
|
||||||
.args(["--kernel", direct_kernel_boot_path().to_str().unwrap()])
|
.args(["--kernel", direct_kernel_boot_path().to_str().unwrap()])
|
||||||
.args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE])
|
.args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE])
|
||||||
|
.args([
|
||||||
|
"--landlock-rules",
|
||||||
|
format!("path={:?},flags=rw", console_path.to_str().unwrap()).as_str(),
|
||||||
|
])
|
||||||
.default_disks()
|
.default_disks()
|
||||||
.default_net()
|
.default_net()
|
||||||
.args([
|
.args([
|
||||||
|
Loading…
Reference in New Issue
Block a user