mozilla/rr — pull request #378 by cgjones (2013-09-05 18:54:25+00:00)
Title: Enable tests fixed by 0de9292d78a26d614007252e99af1b994a42abc8.

Resolves #363.

Darnit, 0de9292d78a26d614007252e99af1b994a42abc8 included the cherry-on-top tiny patch that fixed the rest of the bugs

diff --git a/src/recorder/handle_signal.c b/src/recorder/handle_signal.c
index f8e1d10..dad9c0c 100644
--- a/src/recorder/handle_signal.c
+++ b/src/recorder/handle_signal.c
@@ -243,6 +243,12 @@ static int try_handle_desched_event(struct task* t, const siginfo_t* si,
* we've unblocked the reset. */
t->delay_syscallbuf_flush = 1;

+	/* The descheduled syscall was interrupted by a signal, like
+	* all other may-restart syscalls, with the exception that
+	* this one has already been restarted (which we'll detect
+	* back in the main loop). */
+	push_syscall_interruption(t, call, regs);
+
debug(" resuming (and probably switching out) blocked `%s'",
syscallname(call));