From 1a077dfd6bc506be2dc4f4684481876c24f37dee Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 20 Apr 2023 17:34:29 -0700 Subject: [PATCH] Fix `poll_oneoff`'s handling of non-regular files. (#6258) `poll_oneoff` uses `system_interface::ReadReady` to compute how many bytes are ready to be read, which is part of the Preview1 `poll_oneoff` API. This updates to system-interface 0.25.7 which has a fix to handle special files such as /dev/urandom and /dev/null properly. Fixes #6239. --- Cargo.lock | 4 ++-- supply-chain/audits.toml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 12fa99a744..b72a5f6eb2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2984,9 +2984,9 @@ dependencies = [ [[package]] name = "system-interface" -version = "0.25.6" +version = "0.25.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e1ab6a74e204b606bf397944fa991f3b01046113cc0a4ac269be3ef067cc24b" +checksum = "928ebd55ab758962e230f51ca63735c5b283f26292297c81404289cda5d78631" dependencies = [ "bitflags", "cap-fs-ext", diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml index 880531e497..9bc5c753e2 100644 --- a/supply-chain/audits.toml +++ b/supply-chain/audits.toml @@ -1140,6 +1140,12 @@ criteria = "safe-to-deploy" delta = "0.25.4 -> 0.25.6" notes = "Just a dependency version bump" +[[audits.system-interface]] +who = "Dan Gohman " +criteria = "safe-to-deploy" +delta = "0.25.6 -> 0.25.7" +notes = "This is a minor bug-fix update." + [[audits.tinyvec]] who = "Alex Crichton " criteria = "safe-to-deploy"