From e000ecbd84ae99729d31975662f040194cc245db Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sat, 8 Jun 2024 08:31:35 +0100 Subject: [PATCH] std::unix::process adding few specific freebsd signals to be able to id. --- std/src/sys/pal/unix/process/process_unix.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/std/src/sys/pal/unix/process/process_unix.rs b/std/src/sys/pal/unix/process/process_unix.rs index e2fca8c7e63dc..72bda90a9ba71 100644 --- a/std/src/sys/pal/unix/process/process_unix.rs +++ b/std/src/sys/pal/unix/process/process_unix.rs @@ -1053,6 +1053,10 @@ fn signal_string(signal: i32) -> &'static str { libc::SIGINFO => " (SIGINFO)", #[cfg(target_os = "hurd")] libc::SIGLOST => " (SIGLOST)", + #[cfg(target_os = "freebsd")] + libc::SIGTHR => " (SIGTHR)", + #[cfg(target_os = "freebsd")] + libc::SIGLIBRT => " (SIGLIBRT)", _ => "", } }