summaryrefslogtreecommitdiffstats
path: root/signal.c
AgeCommit message (Collapse)Author
2010-08-29Sync OpenBSD patchset 751:Tiago Cunha
Do not call event_del() for signals after fork(), just use sigaction() directly instead - calling libevent functions after fork() w/o event_reinit() is a bad idea, even if in this case it was harmless.
2010-05-14Sync OpenBSD patchset 698:Tiago Cunha
Catch SIGHUP and terminate if running as a client. This prevents clients from being left hanging around when, for example, a SSH session is disconnected. ok nicm@
2010-05-14Sync OpenBSD patchset 696:Tiago Cunha
Make signal handler setup/teardown two common functions instead of six, and reset SIGCHLD after fork to fix problems with some shells. From Romain Francoise.