summaryrefslogtreecommitdiffstats
path: root/signal.c
AgeCommit message (Collapse)Author
2017-07-12Move signal code into proc.c.nicm
2017-06-04Support SIGUSR2 to stop and start logging for an existing server. Alsonicm
we currently only have two log levels so just use -v and -vv rather than -v and -vvvv, and clarify the man page entry for -v.
2016-10-10Loads more static, except for cmd-*.c and window-*.c.nicm
2016-01-19I no longer use my SourceForge address so replace it.nicm
2015-10-27Break the common process set up, event loop and imsg dispatch codenicm
between server and client out into a separate internal API. This will make it easier to add another process.
2014-10-20Tidy up some includes.nicm
2010-08-19Do not call event_del() for signals after fork(), just use sigaction()Nicholas Marriott
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-14Use $OpenBSD$.Nicholas Marriott
2010-05-12Catch SIGHUP and terminate if running as a client. This prevents clientsJoel Sing
from being left hanging around when, for example, a SSH session is disconnected. ok nicm@
2010-05-04Put this back in with the initialisation in the right order.Nicholas Marriott
2010-05-04Revert last change, it appears to be broken somehow.Nicholas Marriott
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois.