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.