From 9e897de49844c82c01da8f5dc5da35f732ca6b15 Mon Sep 17 00:00:00 2001 From: Yashodhan Joshi Date: Thu, 1 Feb 2024 12:44:03 +0530 Subject: [PATCH] Update libbpf-sys --- Cargo.lock | 40 ++++++++---------------------------- crates/libcgroups/Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a6fb9da9b..e0afe4862 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -533,7 +533,7 @@ dependencies = [ "flate2", "libcgroups", "libcontainer", - "nix 0.27.1", + "nix", "num_cpus", "oci-spec", "once_cell", @@ -1860,12 +1860,12 @@ dependencies = [ [[package]] name = "libbpf-sys" -version = "1.2.1+v1.2.0" +version = "1.3.0+v1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75adb4021282a72ca63ebbc0e4247750ad74ede68ff062d247691072d709ad8b" +checksum = "b6e68987fe8f2dd7b76930f800a4e5b958c766171fc3a7c33dd67c06a0f1e801" dependencies = [ "cc", - "nix 0.26.4", + "nix", "num_cpus", "pkg-config", ] @@ -1888,7 +1888,7 @@ dependencies = [ "libbpf-sys", "libc", "mockall", - "nix 0.27.1", + "nix", "oci-spec", "procfs", "quickcheck", @@ -1915,7 +1915,7 @@ dependencies = [ "libcgroups", "libseccomp", "nc", - "nix 0.27.1", + "nix", "oci-spec", "once_cell", "prctl", @@ -2074,15 +2074,6 @@ dependencies = [ "libc", ] -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - [[package]] name = "memoffset" version = "0.8.0" @@ -2193,19 +2184,6 @@ dependencies = [ "cc", ] -[[package]] -name = "nix" -version = "0.26.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" -dependencies = [ - "bitflags 1.3.2", - "cfg-if", - "libc", - "memoffset 0.7.1", - "pin-utils", -] - [[package]] name = "nix" version = "0.27.1" @@ -2584,7 +2562,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "059a34f111a9dee2ce1ac2826a68b24601c4298cfeb1a587c3cb493d5ab46f52" dependencies = [ "libc", - "nix 0.27.1", + "nix", ] [[package]] @@ -3078,7 +3056,7 @@ dependencies = [ "anyhow", "libc", "nc", - "nix 0.27.1", + "nix", "oci-spec", ] @@ -5719,7 +5697,7 @@ dependencies = [ "libcgroups", "libcontainer", "liboci-cli", - "nix 0.27.1", + "nix", "once_cell", "pentacle", "procfs", diff --git a/crates/libcgroups/Cargo.toml b/crates/libcgroups/Cargo.toml index baaa1573b..a14512be2 100644 --- a/crates/libcgroups/Cargo.toml +++ b/crates/libcgroups/Cargo.toml @@ -26,7 +26,7 @@ oci-spec = { version = "~0.6.4", features = ["runtime"] } fixedbitset = "0.4.2" serde = { version = "1.0", features = ["derive"] } rbpf = { version = "0.2.0", optional = true } -libbpf-sys = { version = "1.2.1", optional = true } +libbpf-sys = { version = "1.3.0", optional = true } errno = { version = "0.3.8", optional = true } libc = { version = "0.2.153", optional = true } thiserror = "1.0.56"