Merge pull request #11450 from kata-containers/dependabot/cargo/src/agent/nix-0.27.1

build(deps): bump nix to 0.26.4 in agent, libs, runtime-rs
This commit is contained in:
Zvonko Kaiser
2025-07-17 14:22:40 -04:00
committed by GitHub
10 changed files with 51 additions and 37 deletions

8
src/agent/Cargo.lock generated
View File

@@ -2000,7 +2000,7 @@ dependencies = [
"netlink-packet-core", "netlink-packet-core",
"netlink-packet-route", "netlink-packet-route",
"netlink-sys 0.7.0", "netlink-sys 0.7.0",
"nix 0.24.3", "nix 0.26.4",
"oci-spec", "oci-spec",
"opentelemetry", "opentelemetry",
"procfs 0.12.0", "procfs 0.12.0",
@@ -2069,7 +2069,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"mockall", "mockall",
"nix 0.24.3", "nix 0.26.4",
"oci-spec", "oci-spec",
"once_cell", "once_cell",
"pci-ids", "pci-ids",
@@ -3669,7 +3669,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"libseccomp", "libseccomp",
"nix 0.24.3", "nix 0.26.4",
"oci-spec", "oci-spec",
"path-absolutize", "path-absolutize",
"protobuf 3.7.2", "protobuf 3.7.2",
@@ -4233,7 +4233,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683"
name = "test-utils" name = "test-utils"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"nix 0.24.3", "nix 0.26.4",
] ]
[[package]] [[package]]

View File

@@ -13,7 +13,8 @@ lazy_static = "1.3.0"
ttrpc = { version = "0.8.4", features = ["async"], default-features = false } ttrpc = { version = "0.8.4", features = ["async"], default-features = false }
protobuf = "3.7.2" protobuf = "3.7.2"
libc = "0.2.94" libc = "0.2.94"
nix = "0.24.2" # Notes: nix needs to stay in sync with libs
nix = "0.26.4"
capctl = "0.2.0" capctl = "0.2.0"
scan_fmt = "0.2.6" scan_fmt = "0.2.6"
scopeguard = "1.0.0" scopeguard = "1.0.0"

View File

@@ -18,7 +18,7 @@ common-path = "=1.0.0"
fail = "0.5.0" fail = "0.5.0"
lazy_static = "1.4.0" lazy_static = "1.4.0"
libc = "0.2.100" libc = "0.2.100"
nix = "0.24.2" nix = "0.26.4"
once_cell = "1.9.0" once_cell = "1.9.0"
serde = { version = "1.0.138", features = ["derive"] } serde = { version = "1.0.138", features = ["derive"] }
serde_json = "1.0.73" serde_json = "1.0.73"

View File

@@ -37,7 +37,7 @@ safe-path = { path = "../safe-path" }
[dev-dependencies] [dev-dependencies]
tempfile = "3.19.1" tempfile = "3.19.1"
test-utils = { path = "../test-utils" } test-utils = { path = "../test-utils" }
nix = "0.24.2" nix = "0.26.4"
[features] [features]
default = [] default = []

View File

@@ -13,7 +13,7 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "^1.0" anyhow = "^1.0"
nix = "0.24.0" nix = "0.26.4"
tokio = { version = "1.44.2", features = ["rt-multi-thread"] } tokio = { version = "1.44.2", features = ["rt-multi-thread"] }
hyper = { version = "0.14.20", features = ["stream", "server", "http1"] } hyper = { version = "0.14.20", features = ["stream", "server", "http1"] }
hyperlocal = "0.8" hyperlocal = "0.8"

View File

@@ -12,4 +12,4 @@ license = "Apache-2.0"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
nix = "0.24.2" nix = "0.26.4"

View File

@@ -48,7 +48,7 @@ dependencies = [
"kata-types", "kata-types",
"log", "log",
"logging", "logging",
"nix 0.24.3", "nix 0.26.4",
"oci-spec 0.8.1", "oci-spec 0.8.1",
"protobuf 3.7.2", "protobuf 3.7.2",
"protocols", "protocols",
@@ -519,7 +519,7 @@ dependencies = [
"api_client", "api_client",
"kata-sys-util", "kata-sys-util",
"kata-types", "kata-types",
"nix 0.26.2", "nix 0.26.4",
"serde", "serde",
"serde_json", "serde_json",
"thiserror 1.0.69", "thiserror 1.0.69",
@@ -570,7 +570,7 @@ dependencies = [
"kata-sys-util", "kata-sys-util",
"kata-types", "kata-types",
"lazy_static", "lazy_static",
"nix 0.24.3", "nix 0.26.4",
"oci-spec 0.8.1", "oci-spec 0.8.1",
"persist", "persist",
"protobuf 3.7.2", "protobuf 3.7.2",
@@ -1745,7 +1745,7 @@ dependencies = [
"httpdate", "httpdate",
"itoa", "itoa",
"pin-project-lite", "pin-project-lite",
"socket2 0.5.7", "socket2 0.4.9",
"tokio", "tokio",
"tower-service", "tower-service",
"tracing", "tracing",
@@ -1799,7 +1799,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"logging", "logging",
"nix 0.24.3", "nix 0.26.4",
"oci-spec 0.8.1", "oci-spec 0.8.1",
"path-clean", "path-clean",
"persist", "persist",
@@ -1818,6 +1818,7 @@ dependencies = [
"shim-interface", "shim-interface",
"slog", "slog",
"slog-scope", "slog-scope",
"tempfile",
"test-utils", "test-utils",
"tests_utils", "tests_utils",
"thiserror 1.0.69", "thiserror 1.0.69",
@@ -2107,7 +2108,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"mockall", "mockall",
"nix 0.24.3", "nix 0.26.4",
"oci-spec 0.8.1", "oci-spec 0.8.1",
"once_cell", "once_cell",
"pci-ids", "pci-ids",
@@ -2545,16 +2546,15 @@ dependencies = [
[[package]] [[package]]
name = "nix" name = "nix"
version = "0.26.2" version = "0.26.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bfdda3d196821d6af13126e40375cdf7da646a96114af134d5f417a9a1dc8e1a" checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"cfg-if 1.0.0", "cfg-if 1.0.0",
"libc", "libc",
"memoffset 0.7.1", "memoffset 0.7.1",
"pin-utils", "pin-utils",
"static_assertions",
] ]
[[package]] [[package]]
@@ -3757,7 +3757,7 @@ dependencies = [
"netlink-packet-route", "netlink-packet-route",
"netlink-sys", "netlink-sys",
"netns-rs", "netns-rs",
"nix 0.24.3", "nix 0.26.4",
"oci-spec 0.8.1", "oci-spec 0.8.1",
"persist", "persist",
"rand 0.8.5", "rand 0.8.5",
@@ -4251,7 +4251,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"logging", "logging",
"nix 0.24.3", "nix 0.26.4",
"oci-spec 0.8.1", "oci-spec 0.8.1",
"protobuf 3.7.2", "protobuf 3.7.2",
"rand 0.8.5", "rand 0.8.5",
@@ -4293,7 +4293,7 @@ dependencies = [
"hyperlocal", "hyperlocal",
"kata-sys-util", "kata-sys-util",
"kata-types", "kata-types",
"nix 0.24.3", "nix 0.26.4",
"tokio", "tokio",
] ]
@@ -4452,12 +4452,6 @@ version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
[[package]]
name = "static_assertions"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
[[package]] [[package]]
name = "strsim" name = "strsim"
version = "0.11.1" version = "0.11.1"
@@ -4643,7 +4637,7 @@ checksum = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683"
name = "test-utils" name = "test-utils"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"nix 0.24.3", "nix 0.26.4",
] ]
[[package]] [[package]]
@@ -5000,7 +4994,7 @@ dependencies = [
"home", "home",
"libc", "libc",
"log", "log",
"nix 0.26.2", "nix 0.26.4",
"protobuf 3.7.2", "protobuf 3.7.2",
"protobuf-codegen 3.7.2", "protobuf-codegen 3.7.2",
"thiserror 1.0.69", "thiserror 1.0.69",
@@ -5213,7 +5207,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"logging", "logging",
"nix 0.24.3", "nix 0.26.4",
"oci-spec 0.8.1", "oci-spec 0.8.1",
"persist", "persist",
"protobuf 3.7.2", "protobuf 3.7.2",

View File

@@ -58,7 +58,8 @@ lazy_static = "1.4"
libc = "0.2" libc = "0.2"
log = "0.4.14" log = "0.4.14"
netns-rs = "0.1.0" netns-rs = "0.1.0"
nix = "0.24.2" # Note: nix needs to stay sync'd with libs versions
nix = "0.26.4"
oci-spec = { version = "0.8.1", features = ["runtime"] } oci-spec = { version = "0.8.1", features = ["runtime"] }
protobuf = "3.7.2" protobuf = "3.7.2"
rand = "0.8.4" rand = "0.8.4"

View File

@@ -150,6 +150,12 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "cfg_aliases"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]] [[package]]
name = "chrono" name = "chrono"
version = "0.4.41" version = "0.4.41"
@@ -525,7 +531,7 @@ dependencies = [
"futures", "futures",
"libc", "libc",
"logging", "logging",
"nix", "nix 0.30.1",
"opentelemetry 0.14.0", "opentelemetry 0.14.0",
"opentelemetry-jaeger", "opentelemetry-jaeger",
"privdrop", "privdrop",
@@ -606,9 +612,9 @@ dependencies = [
[[package]] [[package]]
name = "nix" name = "nix"
version = "0.23.1" version = "0.23.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6" checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"cc", "cc",
@@ -617,6 +623,18 @@ dependencies = [
"memoffset", "memoffset",
] ]
[[package]]
name = "nix"
version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
dependencies = [
"bitflags 2.9.0",
"cfg-if",
"cfg_aliases",
"libc",
]
[[package]] [[package]]
name = "num-conv" name = "num-conv"
version = "0.1.0" version = "0.1.0"
@@ -768,7 +786,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c02cf257b10e4b807bccadb19630d5dea7e0369c3c5e84673ee8e58dc8da6a5" checksum = "4c02cf257b10e4b807bccadb19630d5dea7e0369c3c5e84673ee8e58dc8da6a5"
dependencies = [ dependencies = [
"libc", "libc",
"nix", "nix 0.23.2",
] ]
[[package]] [[package]]
@@ -1260,7 +1278,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e32675ee2b3ce5df274c0ab52d19b28789632406277ca26bffee79a8e27dc133" checksum = "e32675ee2b3ce5df274c0ab52d19b28789632406277ca26bffee79a8e27dc133"
dependencies = [ dependencies = [
"libc", "libc",
"nix", "nix 0.23.2",
] ]
[[package]] [[package]]

View File

@@ -14,7 +14,7 @@ license = "Apache-2.0"
futures = "0.3.15" futures = "0.3.15"
clap = { version = "4.5.40", features = ["cargo"] } clap = { version = "4.5.40", features = ["cargo"] }
vsock = "0.2.3" vsock = "0.2.3"
nix = "0.23.0" nix = { version = "0.30.1", features = ["fs", "user"] }
libc = "0.2.94" libc = "0.2.94"
serde = { version = "1.0.126", features = ["derive"] } serde = { version = "1.0.126", features = ["derive"] }
bincode = "1.3.3" bincode = "1.3.3"