From 452a5f84059b21c3ec5ac81e5363ebf525cc6fbb Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Sat, 14 Dec 2024 20:22:34 +0800 Subject: [PATCH] build: Update seccompiler to 0.5.0 Update `secompiler` to capture RISC-V architecture support and v6.12 kernel support (since `syscall_tables` were generated from v6.12 kernel source). Signed-off-by: Ruoqing He --- Cargo.lock | 3 +-- Cargo.toml | 2 +- fuzz/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 85c8775c0..0b5628489 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1853,8 +1853,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "seccompiler" version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345a3e4dddf721a478089d4697b83c6c0a8f5bf16086f6c13397e4534eb6e2e5" +source = "git+https://github.com/TimePrinciple/seccompiler?branch=update-to-6.12#5aae7bfc496bd39c92dc51599c1863f959e7d30d" dependencies = [ "libc", ] diff --git a/Cargo.toml b/Cargo.toml index 4225cef0a..e0c67835e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -108,7 +108,7 @@ kvm-ioctls = "0.19.0" linux-loader = "0.13.0" mshv-bindings = "0.3.2" mshv-ioctls = "0.3.2" -seccompiler = "0.4.0" +seccompiler = { git = "https://github.com/TimePrinciple/seccompiler", branch = "update-to-6.12" } vfio-bindings = { git = "https://github.com/rust-vmm/vfio", branch = "main" } vfio-ioctls = { git = "https://github.com/rust-vmm/vfio", branch = "main", default-features = false } vfio_user = { git = "https://github.com/rust-vmm/vfio-user", branch = "main" } diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 947035fac..aa38ed5cf 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -22,7 +22,7 @@ linux-loader = { version = "0.13.0", features = ["bzimage", "elf", "pe"] } micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "main" } net_util = { path = "../net_util" } once_cell = "1.19.0" -seccompiler = "0.4.0" +seccompiler = { git = "https://github.com/TimePrinciple/seccompiler", branch = "update-to-6.12" } virtio-devices = { path = "../virtio-devices" } virtio-queue = "0.14.0" vm-device = { path = "../vm-device" }