summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/socket.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* We have sockaddr_storage these days, get rid of isc_sockaddr_t.florian2020-09-151-16/+16
| | | | OK beck, "beautiful" deraadt
* The various sockaddr structures have length fields these days.florian2020-09-151-4/+4
| | | | OK beck
* Mechanically replace isc_boolean_t with int.florian2020-09-141-9/+9
| | | | OK deraadt
* Bunch of dead stores and otherwise unused stuff lets us get rid offlorian2020-09-141-3/+1
| | | | | | unix/net.{c.h}. We need to sprinkle in a few #includes that net.h dragged in. OK deraadt
* fix socket_log() calls, EVENT expands to three comma separatedotto2020-05-101-4/+4
| | | | values; spotted by gcc; ok florian@
* Make sure cmsgbufs are properly aligned by using the idiom from theotto2020-05-081-5/+15
| | | | CMSG_DATA man page. Avoids SIGBUS on landisk; ok kettenis@ jca@
* malloc(a * b) -> reallocarray(NULL, a, b)deraadt2020-02-251-2/+2
| | | | ok jsing jca florian
* reduce multiple newlinesjsg2020-02-251-2/+0
|
* Fix 'previously declared here' error on gcc3(luna88k).aoyama2020-02-241-3/+0
| | | | ok jsg@ florian@ jung@
* remove assigned but unused valuesjung2020-02-221-6/+0
| | | | ok millert florian
* Get rid of ISC_MAGIC and ISC_MAGIC_VALID macros.florian2020-02-181-184/+99
| | | | | | | While pulling on that it turns out we can / need git rid of a isc_task -> isc__task, isc_taskmgr -> isc__taskmgr, isc_timer -> isc__timer and isc_socket -> isc__socket indirection. OK millert
* Remove unused task, taskmgr, app, socket and socketmgr methods.florian2020-02-181-26/+0
| | | | OK millert
* remove unused codejung2020-02-171-2/+0
| | | | ok florian
* Replace isc_time_t and interval_t with struct timespec.florian2020-02-161-2/+1
| | | | Input & OK millert
* remove unused lockid var and FDLOCK_ID macrojsg2020-02-151-7/+0
|
* threads are gone, replace thread safe isc__strerror() wrapperjung2020-02-131-35/+13
| | | | | | with strerror() and drop it ok millert florian
* expand ISC_FORMAT_PRINTF and get rid of formatcheck.hflorian2020-02-131-2/+2
|
* remove unused macrosjsg2020-02-131-13/+0
| | | | ok florian@
* remove uneeded #include linesjsg2020-02-111-7/+0
| | | | ok florian@
* unifdef feature checks; we have all these things.florian2020-02-111-10/+0
| | | | OK millert
* Move dig(1) and needed DNS libraries into it's own source directory inflorian2020-02-071-0/+2753
usr.bin/dig. From the beginning when we started to remove unneeded nameserver code, it was our goal to extract dig functionality from the bind sources, for everyone's benefit as this is easier to reason about. In total we removed about 2/3 or over 300.000 lines of code. We kept the lib/ subdirectory layout but moved the content of bin/ to the top from the old bind source directory. Previous sources and history can be found in the src/usr.sbin/bind Attic. With & OK deraadt Proposed directory layout sounds good to sthen