pub fn maybe_reset_syscallbuf(&mut self) {
        if self.flushed_syscallbuf
            && !self.delay_syscallbuf_reset_for_desched
            && !self.delay_syscallbuf_reset_for_seccomp_trap
        {
            self.flushed_syscallbuf = false;
            log!(LogDebug, "Syscallbuf reset");
            self.reset_syscallbuf();
            self.syscallbuf_blocked_sigs_generation = 0;
            self.record_event(Some(Event::syscallbuf_reset()), None, None, None);
        }
    }
/// Call this after recording an event when it might be safe to reset the
/// syscallbuf. It must be after recording an event to ensure during replay
/// we run past any syscallbuf after-syscall code that uses the buffer data.
Call this after recording an event when it might be safe to reset the
syscallbuf. It must be after recording an event to ensure during replay
we run past any syscallbuf after-syscall code that uses the buffer data.
Call this after recording an event when it might be safe to reset the syscallbuf . It must be after recording an event to ensure during replay we run past any syscallbuf after - syscall code that uses the buffer data .
pub fn maybe_reset_syscallbuf(&mut self) {
        if self.flushed_syscallbuf
            && !self.delay_syscallbuf_reset_for_desched
            && !self.delay_syscallbuf_reset_for_seccomp_trap
        {
            self.flushed_syscallbuf = false;
            log!(LogDebug, "Syscallbuf reset");
            self.reset_syscallbuf();
            self.syscallbuf_blocked_sigs_generation = 0;
            self.record_event(Some(Event::syscallbuf_reset()), None, None, None);
        }
    }
pub fn maybe_reset_syscallbuf ( & mut self ) { if self . flushed_syscallbuf && ! self . delay_syscallbuf_reset_for_desched && ! self . delay_syscallbuf_reset_for_seccomp_trap { self . flushed_syscallbuf = false ; log ! ( LogDebug " " ) ; self . reset_syscallbuf ( ) ; self . syscallbuf_blocked_sigs_generation = 0 ; self . record_event ( Some ( Event :: syscallbuf_reset ( ) ) , None , None , None ) ; } }
Call this after recording an event when it might be safe to reset the
syscallbuf.
Call this after recording an event when it might be safe to reset the syscallbuf .
&mut self