summaryrefslogtreecommitdiff
path: root/sbin/dhclient/privsep.c
AgeCommit message (Expand)Author
2017-06-23Take reyk's imsg resolv.conf improvements of a while ago to theirKenneth R Westerback
2017-04-10Rework -L logic to use the idiom used in handling the leases file.Kenneth R Westerback
2017-03-08Shuffle another bit of code closer to its friends.Kenneth R Westerback
2017-02-12Eliminate most strerror() invocations by using log_warn() and fatal()Kenneth R Westerback
2017-02-12Switch from 'legacy' errwarn.c to standard daemon logging functions.Kenneth R Westerback
2016-09-02Kill 'ifi' global.Martin Pieuchot
2016-08-23Make the 'ifi' global local to dhclient.c and pass it as an argument toMartin Pieuchot
2016-02-06Eliminate #include inside *.h files and include only needed headers inKenneth R Westerback
2015-02-07Add support for interface-mtu (option 26).Kenneth R Westerback
2015-02-06The write_file() privsep interface was too permissive andReyk Floeter
2014-10-27Zap extraneous whitespace and a stuttered extra 'break;'.Kenneth R Westerback
2014-02-09Missing {} around multi-statement else. Malformed IMSG_HUP messages shouldKenneth R Westerback
2014-01-20more %d type correctness; ok krwTheo de Raadt
2013-06-09Re-apply route adding code refactoring -- it wasn't the problem thatKenneth R Westerback
2013-06-09Backout static/classless route handling and default route refactoringKenneth R Westerback
2013-06-01Refactor the default route adding code to use a general route addingKenneth R Westerback
2013-03-30Since deleting all the addresses on an interface removes all theKenneth R Westerback
2013-02-18Rework log messages to be more useful. RenameKenneth R Westerback
2013-01-27Refactor code a bit. Calculate resolv.conf contents once when binding aKenneth R Westerback
2013-01-15Add IMSG_WRITE_FILE and associated bits to allow the unprivilegedKenneth R Westerback
2012-12-29Make HUP to either one of the processes cause a restart that willKenneth R Westerback
2012-12-04Eliminate hand-rolled pseudo-strerror() %m strangeness by replacingKenneth R Westerback
2012-12-02Try harder to cleanup when exiting. In particular catch signalsKenneth R Westerback
2012-11-23Use the libutil imsg framework rather than a hand-rolled localKenneth R Westerback
2012-11-14Remove useless _new_ and _old_ from various function names to makeKenneth R Westerback
2012-11-08Remove confusing extra address abstraction 'struct iaddr'. Just useKenneth R Westerback
2012-11-04Use consistant initialization idiom to reduce confusion.Kenneth R Westerback
2012-11-04No need to pass interface name around when flushing routes.Kenneth R Westerback
2012-11-04No need to pass interface name around when creating routes.Kenneth R Westerback
2012-11-03Various fixes/tweaks for resolv.conf handling:Kenneth R Westerback
2012-10-30Nuke dhclient-script and dhclient.conf 'script' directive. Do allKenneth R Westerback
2011-04-04Dump some useless calls to dhclient-script. i.e. MEDIUM, PREINIT,Kenneth R Westerback
2009-06-06Nuke debug() unless DEBUG is defined. Elminates debug output fromKenneth R Westerback
2007-02-15make read connection closed message a debug(); ok henning@Kevin Steves
2007-02-14spacing and a typo that fell out of the readTheo de Raadt
2005-10-07Don't display errno message when errno isn't set.Pedro Martelletto
2005-08-08re-add write() error check in buf_close(). ok henning@Moritz Jodeit
2005-08-07Simplify code by calling error() from inside buf_* functions ratherKenneth R Westerback
2005-08-04buf_* was taken from the framework I wrote for bgpd (also used by ntpd, ospfdHenning Brauer
2005-06-02Make buf_add a no-op if length == 0. OK henningChad Loder
2004-05-10missing casts spotted by 64 bit ccTheo de Raadt
2004-05-04use SIZE_T_MAX, canacarHenning Brauer
2004-05-04more shrink and lint fixes; henning okTheo de Raadt
2004-05-04$OpenBSD$Henning Brauer
2004-05-04prevent the len params from overflowing, catched by & ok canacarHenning Brauer
2004-05-04Fix memory leak, ok henning@Can Erkin Acar
2004-05-04privilege seperate dhclient.Henning Brauer