summaryrefslogtreecommitdiffstats
path: root/signals.c
Commit message (Collapse)AuthorAge
* Add (c) to CopyrightRoy Marples2009-05-01
|
* We should handle SIGUSR1 correctly.Roy Marples2009-03-20
|
* Fix up some more formatting.Roy Marples2009-02-12
|
* Enforce NetBSD KNF style moreRoy Marples2009-02-11
|
* Clean up compiler warnings from overly pedantic checking.Roy Marples2009-01-29
|
* We updated these files this year.Roy Marples2009-01-28
|
* We need to handle SIGPIPE so we don't abort.Roy Marples2009-01-20
|
* Add an event loop.Roy Marples2008-09-02
| | | | | | | | Split client.c into smaller files and functions and recode around the event loop. Add multiple interface support using the new event loop. Document changes and outstanding bugs.
* Prefer signal to poll so we avoid any possibilty of a timeval -> int/msecs ↵Roy Marples2008-07-31
| | | | overflow. We could of course loop msecs / INT_MAX times, but it then gets messy. It also saves around 200 bytes of binary size :)
* Normalise tv_usecs. Also, send the fd ready back to the main loop so we ↵Roy Marples2008-07-24
| | | | don't have to re-poll each fd. Saves bytes and is more efficient.
* Remove the signal array stack as our pipe handling should be secure enough ↵Roy Marples2008-06-10
| | | | now. Also, move the normalize close_on_exec and setting non block.
* We should test a specific fd instead of index 0 in a structure.Roy Marples2008-06-07
|
* Replace the signal clear with a pipe so child can notify parent when to exit.Roy Marples2008-05-27
|
* Fix signal loop.Roy Marples2008-05-27
|
* Fix compile.Roy Marples2008-05-26
|
* Fix a signal race when daemonising.Roy Marples2008-05-26
|
* Don't prefix functions with _Roy Marples2008-05-20
|
* Move signal.{c,h} to signals.{c.h} so we can work better in the NetBSD ↵Roy Marples2008-05-15
| | | | source tree.
* Move signals.c,h to signal.c,hRoy Marples2007-11-08
|
* Reword the headers to just say we use the GPLv2.Roy Marples2007-11-07
|
* Remove the reference to udhcp.Roy Marples2007-11-07
|
* Actually read the signal from the bufferRoy Marples2007-11-07
|
* Clear the signal_pipe fd from the fdset when all signals haveRoy Marples2007-11-07
| | | | | been read.
* Allow none signal pipe users to grab signalsRoy Marples2007-10-11
|
* ==-1 is cheaper than <0Roy Marples2007-07-18
|
* Cuddle up to LKML style CRoy Marples2007-04-11
|
* Fix indentationRoy Marples2007-04-10
|
* Clean upsRoy Marples2007-04-05
|
* You can now build dhcpcd without support for writing ntp, nis and info filesRoy Marples2007-04-03
| | | | | | | | which makes the binary a few k smaller. Support OpenNTP as well as NTP. Re-work the state engine a little, so we renew and rebind correctly. Subsequent debug options stop dhcpcd from daemonising.
* Respond to SIGCHLD with a wait so we don't leave zombies around.Roy Marples2007-01-27
|
* Fix cleanmetas function and fix FreeBSD againRoy Marples2006-12-15
|
* Make the consts saneRoy Marples2006-12-14
|
* Add loads of debugging CFLAGS so we can remove all compiler warningsRoy Marples2006-12-14
|
* Add dhcpcd-3 re-writeRoy Marples2006-11-27