The sigreturn system call, found in the signal trampoline, unwinds the trampoline frame restoring the thread/process to the pre-signal delivery state. Tests can include: - that the process didn't just run free, as can occure when the kernel screws up single stepping of sigreturn
There is now a specific test for this. TestTaskObserverInstructionSigReturn