prepare_to_restart_syscall

Function prepare_to_restart_syscall 

Source
pub fn prepare_to_restart_syscall(
    thread_state: &mut ThreadState,
    sigaction: Option<sigaction_t>,
)
Expand description

Maybe adjust a task’s registers to restart a syscall once the task switches back to userspace, based on whether the task previously had a syscall return with an error code indicating that a restart was required.