From dd6ccc7aad1cd22687093e9e16a49675982e7ee8 Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Sat, 11 Feb 2023 15:18:16 +0100 Subject: [PATCH] Version 0.3.15 / registry 1.4.1 --- CHANGELOG.md | 5 +++++ Cargo.lock | 14 +++++++------- Cargo.toml | 2 +- signal-hook-registry/Cargo.toml | 2 +- src/iterator/exfiltrator/raw.rs | 2 +- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60e0f30..7277e76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 0.3.15 +# signal-hook-registry-1.4.1 + +* AIX support (experimental/not guaranteed to work). + # 0.3.14 * Added the SIGINFO signal (where available). diff --git a/Cargo.lock b/Cargo.lock index 3ec6073..edddd38 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -754,12 +754,12 @@ dependencies = [ [[package]] name = "signal-hook" -version = "0.3.14" +version = "0.3.15" dependencies = [ "cc", "libc", "serial_test 0.7.0", - "signal-hook-registry 1.4.0", + "signal-hook-registry 1.4.1", ] [[package]] @@ -790,18 +790,18 @@ dependencies = [ [[package]] name = "signal-hook-registry" version = "1.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" dependencies = [ "libc", - "signal-hook", ] [[package]] name = "signal-hook-registry" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0" +version = "1.4.1" dependencies = [ "libc", + "signal-hook", ] [[package]] @@ -863,7 +863,7 @@ dependencies = [ "num_cpus", "parking_lot 0.12.1", "pin-project-lite", - "signal-hook-registry 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "signal-hook-registry 1.4.0", "socket2", "tokio-macros", "winapi 0.3.9", diff --git a/Cargo.toml b/Cargo.toml index 0909d9e..636d479 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "signal-hook" -version = "0.3.14" +version = "0.3.15" authors = [ "Michal 'vorner' Vaner ", "Thomas Himmelstoss ", diff --git a/signal-hook-registry/Cargo.toml b/signal-hook-registry/Cargo.toml index 6bb060f..d68fbc9 100644 --- a/signal-hook-registry/Cargo.toml +++ b/signal-hook-registry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "signal-hook-registry" -version = "1.4.0" +version = "1.4.1" authors = [ "Michal 'vorner' Vaner ", "Masaki Hara ", diff --git a/src/iterator/exfiltrator/raw.rs b/src/iterator/exfiltrator/raw.rs index bf3488e..93c1ace 100644 --- a/src/iterator/exfiltrator/raw.rs +++ b/src/iterator/exfiltrator/raw.rs @@ -85,7 +85,7 @@ unsafe impl Exfiltrator for WithRawSiginfo { } fn init(&self, slot: &Self::Storage, _: c_int) { - let new = Box::new(Channel::default()); + let new = Box::default(); let old = slot.0.swap(Box::into_raw(new), Ordering::Release); // We leak the pointer on purpose here. This is invalid state anyway and must not happen, // but if it still does, we can't drop that while some other thread might still be having