9.89 signal_return

int signal_return(void);

This syscall is to be called to return to normal execution from a signal handler. Not calling this syscall at the end of handling a signal is very much undefined behaviour, and will most likely make you regret not doing so.

This syscall does not return in success, and returns -1 on failure, with the errno:

EAGAIN

Thread is not handling a signal.