cosmopolitan/libc/dns
Justine Tunney ae5d06dc53 Unbloat build config
- 10.5% reduction of o//depend dependency graph
- 8.8% reduction in latency of make command
- Fix issue with temporary file cleanup

There's a new -w option in compile.com that turns off the recent
Landlock output path workaround for "good commands" which do not
unlink() the output file like GNU tooling does.

Our new GNU Make unveil sandboxing appears to have zero overhead
in the grand scheme of things. Full builds are pretty fast since
the only thing that's actually slowed us down is probably libcxx

    make -j16 MODE=rel
    RL: took 85,732,063µs wall time
    RL: ballooned to 323,612kb in size
    RL: needed 828,560,521µs cpu (11% kernel)
    RL: caused 39,080,670 page faults (99% memcpy)
    RL: 350,073 context switches (72% consensual)
    RL: performed 0 reads and 11,494,960 write i/o operations

pledge() and unveil() no longer consider ENOSYS to be an error.
These functions have also been added to Python's cosmo module.

This change also removes some WIN32 APIs and System Five magnums
which we're not using and it's doubtful anyone else would be too
2022-08-10 04:43:09 -07:00
..
comparednsnames.c Make minor improvements 2021-05-15 21:53:26 -07:00
consts.h Merge HTTP request / response parsing code 2021-06-27 17:04:32 -07:00
dns.h Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
dns.mk Fix link order in cosmopolitan.a 2021-01-16 12:05:41 -08:00
dns.png Initial import 2020-06-15 07:18:57 -07:00
dnsheader.c Make minor improvements 2021-05-15 21:53:26 -07:00
dnsheader.h Make minor improvements 2021-05-15 21:53:26 -07:00
dnsquestion.h Make minor improvements 2021-05-15 21:53:26 -07:00
ent.h Improve system calls 2022-07-08 06:42:03 -07:00
freeaddrinfo.c Add some more necessary locks 2022-06-12 22:20:59 -07:00
freehoststxt.c Make minor improvements 2021-05-15 21:53:26 -07:00
freeresolvconf.c Make minor improvements 2021-05-15 21:53:26 -07:00
gai_strerror.c Rename eai2str to gai_strerror (#131) 2021-03-20 20:48:40 -07:00
getaddrinfo.c Add finger demo to redbean and fix regression 2022-06-23 03:42:05 -07:00
gethostbyaddr.c Make whitespace changes 2021-08-13 03:20:45 -07:00
gethostbyname.c Make whitespace changes 2021-08-13 03:20:45 -07:00
gethoststxt.c Add some more necessary locks 2022-06-12 22:20:59 -07:00
getnameinfo.c Do code cleanup use duff device linenoise i/o 2022-04-22 18:56:52 -07:00
getntnameservers.c Reduce Makefile dependencies by 4% 2022-05-23 15:07:01 -07:00
getntprotocolstxtpath.c Unbloat build config 2022-08-10 04:43:09 -07:00
getntservicestxtpath.c Unbloat build config 2022-08-10 04:43:09 -07:00
getprotobyname.c Unbloat build config 2022-08-10 04:43:09 -07:00
getprotobynumber.c Unbloat build config 2022-08-10 04:43:09 -07:00
getresolvconf.c Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
getservbyname.c Make whitespace changes 2021-08-13 03:20:45 -07:00
getservbyport.c Make whitespace changes 2021-08-13 03:20:45 -07:00
h_errno.c Improve system calls 2022-07-08 06:42:03 -07:00
herror.c Improve system calls 2022-07-08 06:42:03 -07:00
hostent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
hoststxt.h Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
hstrerror.c Improve system calls 2022-07-08 06:42:03 -07:00
lookupprotobyname.c Unbloat build config 2022-08-10 04:43:09 -07:00
lookupprotobynumber.c Unbloat build config 2022-08-10 04:43:09 -07:00
lookupservicesbyname.c Unbloat build config 2022-08-10 04:43:09 -07:00
lookupservicesbyport.c Unbloat build config 2022-08-10 04:43:09 -07:00
netent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
newaddrinfo.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
parsehoststxt.c Make minor improvements 2021-05-15 21:53:26 -07:00
parseresolvconf.c Make minor improvements 2021-05-15 21:53:26 -07:00
pascalifydnsname.c Make minor improvements 2021-05-15 21:53:26 -07:00
protoent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
prototxt.h Make whitespace changes 2021-08-13 03:20:45 -07:00
resolvconf.h Make minor improvements 2021-05-15 21:53:26 -07:00
resolvedns.c Make numerous improvements 2021-09-28 01:52:34 -07:00
resolvednsreverse.c Make numerous improvements 2021-09-28 01:52:34 -07:00
resolvehostsreverse.c Add test for ioctl(SIOCGIFCONF) and polyfill on BSDs 2021-06-25 18:44:04 -07:00
resolvehoststxt.c Add SSL to redbean 2021-06-24 13:20:50 -07:00
rfc0226.txt Initial import 2020-06-15 07:18:57 -07:00
rfc0247.txt Initial import 2020-06-15 07:18:57 -07:00
rfc1035.txt Initial import 2020-06-15 07:18:57 -07:00
serializednsquestion.c Make minor improvements 2021-05-15 21:53:26 -07:00
servent.c Make whitespace changes 2021-08-13 03:20:45 -07:00
servicestxt.h Make whitespace changes 2021-08-13 03:20:45 -07:00