summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/process/kill.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:32 +0000
commit4547b622d8d29df964fa2914213088b148c498fc (patch)
tree9fc6b25f3c3add6b745be9a2400a6e96140046e9 /vendor/rustix/src/process/kill.rs
parentReleasing progress-linux version 1.66.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-4547b622d8d29df964fa2914213088b148c498fc.tar.xz
rustc-4547b622d8d29df964fa2914213088b148c498fc.zip
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/rustix/src/process/kill.rs')
-rw-r--r--vendor/rustix/src/process/kill.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/rustix/src/process/kill.rs b/vendor/rustix/src/process/kill.rs
index d8daaf8da..69cfba261 100644
--- a/vendor/rustix/src/process/kill.rs
+++ b/vendor/rustix/src/process/kill.rs
@@ -1,7 +1,7 @@
use crate::process::Pid;
-use crate::{imp, io};
+use crate::{backend, io};
-pub use imp::process::types::Signal;
+pub use backend::process::types::Signal;
/// `kill(pid, sig)`—Sends a signal to a process.
///
@@ -14,7 +14,7 @@ pub use imp::process::types::Signal;
#[inline]
#[doc(alias = "kill")]
pub fn kill_process(pid: Pid, sig: Signal) -> io::Result<()> {
- imp::process::syscalls::kill_process(pid, sig)
+ backend::process::syscalls::kill_process(pid, sig)
}
/// `kill(-pid, sig)`—Sends a signal to all processes in a process group.
@@ -32,7 +32,7 @@ pub fn kill_process(pid: Pid, sig: Signal) -> io::Result<()> {
#[inline]
#[doc(alias = "kill")]
pub fn kill_process_group(pid: Pid, sig: Signal) -> io::Result<()> {
- imp::process::syscalls::kill_process_group(pid, sig)
+ backend::process::syscalls::kill_process_group(pid, sig)
}
/// `kill(0, sig)`—Sends a signal to all processes in the current process
@@ -47,5 +47,5 @@ pub fn kill_process_group(pid: Pid, sig: Signal) -> io::Result<()> {
#[inline]
#[doc(alias = "kill")]
pub fn kill_current_process_group(sig: Signal) -> io::Result<()> {
- imp::process::syscalls::kill_current_process_group(sig)
+ backend::process::syscalls::kill_current_process_group(sig)
}