jakubfi/em400 — pull request #7 by saper (2014-05-09 11:37:28+00:00)
Title: Reinstall signal handler

SysV semantics in Linux signal(2) seems to imply SA_RESETHAND therefore we
should reinstate the signal handler whenever it is called, as our signal
handlers are re-entrant.

We still have a problem when using BSD signal(2) semantics (SA_RESTART) imply
restart the system calls if not asked otherwise.