pub fn unblock_signal(&mut self, sig: Sig) {
        let mut mask: sig_set_t = self.get_sigmask();
        mask &= !signal_bit(sig);
        let ret = self.fallible_ptrace(
            PTRACE_SETSIGMASK,
            RemotePtr::<Void>::from(size_of::<sig_set_t>()),
            PtraceData::ReadFrom(u8_raw_slice(&mask)),
        );
        if ret < 0 {
            if errno() == EIO {
                fatal!("PTRACE_SETSIGMASK not supported; rd requires Linux kernel >= 3.11");
            }
            ed_assert!(self, errno() == EINVAL);
        } else {
            log!(
                LogDebug,
                "Set signal mask to block all signals (bar \
                 SYSCALLBUF_DESCHED_SIGNAL/TIME_SLICE_SIGNAL) while we \
                 have a stashed signal"
            );
        }
        self.invalidate_sigmask();
    }
/// Unblock the signal for the process.
Unblock the signal for the process.
Unblock the signal for the process .
pub fn unblock_signal(&mut self, sig: Sig) {
        let mut mask: sig_set_t = self.get_sigmask();
        mask &= !signal_bit(sig);
        let ret = self.fallible_ptrace(
            PTRACE_SETSIGMASK,
            RemotePtr::<Void>::from(size_of::<sig_set_t>()),
            PtraceData::ReadFrom(u8_raw_slice(&mask)),
        );
        if ret < 0 {
            if errno() == EIO {
                fatal!("PTRACE_SETSIGMASK not supported; rd requires Linux kernel >= 3.11");
            }
            ed_assert!(self, errno() == EINVAL);
        } else {
            log!(
                LogDebug,
                "Set signal mask to block all signals (bar \
                 SYSCALLBUF_DESCHED_SIGNAL/TIME_SLICE_SIGNAL) while we \
                 have a stashed signal"
            );
        }
        self.invalidate_sigmask();
    }
pub fn unblock_signal ( & mut self , sig : Sig ) { let mut mask : sig_set_t = self . get_sigmask ( ) ; mask &= ! signal_bit ( sig ) ; let ret = self . fallible_ptrace ( PTRACE_SETSIGMASK , RemotePtr :: < Void > :: from ( size_of :: < sig_set_t > ( ) ) , PtraceData :: ReadFrom ( u8_raw_slice ( & mask ) ) , ) ; if ret < 0 { if errno ( ) == EIO { fatal ! ( " " ) ; } ed_assert ! ( self errno ( ) EINVAL ) ; } else { log ! ( LogDebug " \
 \
 " ) ; } self . invalidate_sigmask ( ) ; }
Unblock the signal for the process.
Unblock the signal for the process .
&mut self
sig
Sig