Skip to main content

disable_rust_signal_handlers

Function disable_rust_signal_handlers 

Source
pub fn disable_rust_signal_handlers() -> Result<(), Errno>
Expand description

Disables the custom signal handlers installed by Rust for stack-overflow handling. With those custom signal handlers processes ignore the first SIGBUS and SIGSEGV signal they receive. See https://github.com/rust-lang/rust/blob/8ac1525e091d3db28e67adcbbd6db1e1deaa37fb/src/libstd/sys/unix/stack_overflow.rs#L71-L92 for details.