summaryrefslogtreecommitdiff
path: root/runtime/ops/signal.rs
diff options
context:
space:
mode:
authorMarvin Hagemeister <hello@marvinh.dev>2023-06-01 00:39:01 +0200
committerGitHub <noreply@github.com>2023-05-31 16:39:01 -0600
commit926d493f1967faa143205ad02a9c35f757829603 (patch)
treee3c791f50f923142e5869c603c670ee6e46e03a2 /runtime/ops/signal.rs
parentf3193e0e1c12ea139f00d6b19d152b95f37b73c3 (diff)
fix(runtime): add missing SIGIOT alias to SIGABRT (#19333)
Diffstat (limited to 'runtime/ops/signal.rs')
-rw-r--r--runtime/ops/signal.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs
index 93e1cfef2..ba9a2a178 100644
--- a/runtime/ops/signal.rs
+++ b/runtime/ops/signal.rs
@@ -113,6 +113,7 @@ pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
"SIGQUIT" => Ok(3),
"SIGILL" => Ok(4),
"SIGTRAP" => Ok(5),
+ "SIGIOT" => Ok(6),
"SIGABRT" => Ok(6),
"SIGEMT" => Ok(7),
"SIGFPE" => Ok(8),
@@ -193,6 +194,7 @@ pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
"SIGQUIT" => Ok(3),
"SIGILL" => Ok(4),
"SIGTRAP" => Ok(5),
+ "SIGIOT" => Ok(6),
"SIGABRT" => Ok(6),
"SIGBUS" => Ok(7),
"SIGFPE" => Ok(8),
@@ -269,6 +271,7 @@ pub fn signal_str_to_int(s: &str) -> Result<libc::c_int, AnyError> {
"SIGQUIT" => Ok(3),
"SIGILL" => Ok(4),
"SIGTRAP" => Ok(5),
+ "SIGIOT" => Ok(6),
"SIGABRT" => Ok(6),
"SIGEMT" => Ok(7),
"SIGFPE" => Ok(8),