Skip to content

Commit 46e6002

Browse files
authored
Merge pull request #5402 from coreos/dependabot/cargo/rustix-1.0.7
build(deps): bump rustix from 0.38.44 to 1.0.7
2 parents c808900 + 460364c commit 46e6002

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ cap-std-ext = "4"
5252
cap-primitives = "3"
5353
cap-std = { version = "3", features = ["fs_utf8"] }
5454
# Explicitly force on libc
55-
rustix = { version = "0.38", features = ["use-libc", "process", "fs"] }
55+
rustix = { version = "1.0", features = ["use-libc", "process", "fs"] }
5656
chrono = { version = "0.4.41", features = ["serde"] }
5757
clap = { version = "4.5", features = ["derive"] }
5858
cxx = "1.0.158"

rust/src/bwrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl RoFilesMount {
9595
unsafe {
9696
c.pre_exec(|| {
9797
rustix::process::set_parent_process_death_signal(Some(
98-
rustix::process::Signal::Term,
98+
rustix::process::Signal::TERM,
9999
))
100100
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))
101101
});

rust/src/cmdutils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl CommandRunExt for Command {
9898
unsafe {
9999
self.pre_exec(|| {
100100
rustix::process::set_parent_process_death_signal(Some(
101-
rustix::process::Signal::Term,
101+
rustix::process::Signal::TERM,
102102
))
103103
.map_err(Into::into)
104104
})

rust/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn inner_main() -> Result<i32> {
110110
if std::env::var("RPMOSTREE_GDB_HOOK").is_ok() {
111111
println!("RPMOSTREE_GDB_HOOK detected; stopping...");
112112
println!("Attach via gdb using `gdb -p {}`.", std::process::id());
113-
rustix::process::kill_current_process_group(rustix::process::Signal::Stop)
113+
rustix::process::kill_current_process_group(rustix::process::Signal::STOP)
114114
.expect("signal(SIGSTOP)");
115115
}
116116
// Initialize failpoints

0 commit comments

Comments
 (0)