summaryrefslogtreecommitdiff
path: root/sbin/dhclient/privsep.c
AgeCommit message (Expand)Author
2020-05-20Replace fixed 128-byte fields for search domains, static routes andKenneth R Westerback
2020-05-19Eliminate imsg_propose{}, imsg_revoke{} and imsg_tell_unwind{} asKenneth R Westerback
2019-11-19Inform unwind about DNS servers it finds in leases.Kenneth R Westerback
2019-02-12Restructure code to simplifiy imsg communications, further separatingKenneth R Westerback
2019-01-19Since dhclient no longer tries to clean up when exiting, there is noKenneth R Westerback
2019-01-19IMSG_HUP -> IMSG_RESTART. sendhup() -> sendrestart.Kenneth R Westerback
2019-01-19Drop pseudo-signal idiom. Rename INTERNALSIG to TERMINATE. Use RESTARTKenneth R Westerback
2017-09-20Tweak, shorten, use more consistant verbiage.Kenneth R Westerback
2017-09-17Create global 'log_procname' and set it to '<ifname>' orKenneth R Westerback
2017-09-15Use a poll() loop when trying read the default route fromKenneth R Westerback
2017-09-14Strive to rationalize fatal[x]() usage andKenneth R Westerback
2017-08-31Don't delete v4 routes that are going to beKenneth R Westerback
2017-08-13Simplify HUP handling now that proper errorKenneth R Westerback
2017-08-12Stop trying to outfox the routing tableKenneth R Westerback
2017-08-11Don't write out resolv.conf unless the contentsKenneth R Westerback
2017-08-10Add IMSG_SET_RESOLV_CONF and keep the cached contentsKenneth R Westerback
2017-08-08Rename resolv_conf_priority() to default_route_index() toKenneth R Westerback
2017-08-06Simplify logic seeking/checking the interface overKenneth R Westerback
2017-08-05Bring route creation into line with what route(8) does. InKenneth R Westerback
2017-07-22Rename *_add_address to *_set_address to reflect that theKenneth R Westerback
2017-07-21s/set_interface_mtu/set_mtu/gKenneth R Westerback
2017-07-14Replace remaining "!var" expressions withKenneth R Westerback
2017-07-10Use ioctlfd/routefd sockets rather than rolling one's ownKenneth R Westerback
2017-07-07dispatch_imsg() only needs to know name and rdomain.Kenneth R Westerback
2017-07-02Unbreak tree by putting revised resolv_conf_priority() declaration inKenneth R Westerback
2017-07-01Eliminate multiple socket openings/closings and passKenneth R Westerback
2017-06-28Only pass required fields of interface_info to priv_* functionsKenneth R Westerback
2017-06-28Stop trying to clean up addresses, routes and "-L" fileKenneth R Westerback
2017-06-24Tweak handling of HUP and new LLADDR. Just use expose and use sighup()Kenneth R Westerback
2017-06-24Use a local variable rather than a global flag to recordKenneth R Westerback
2017-06-23Oops. Remove extraneous 'return' and some braces fromKenneth R Westerback
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