summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2020-02-26change explicit_bzero();free() to freezero()Jonathan Gray
While freezero() returns early if the pointer is NULL the tests for NULL in callers are left to avoid warnings about passing an uninitialised size argument across a function boundry. ok deraadt@ djm@
2020-02-26Have sftp reject "-1" in the same way as ssh(1) and scp(1) do insteadDarren Tucker
of accepting and silently ignoring it since protocol 1 support has been removed. Spotted by shivakumar2696 at gmail.com, ok deraadt@
2020-02-26Remove obsolete XXX comment. ok deraadt@Darren Tucker
2020-02-25use timingsafe_bcmp and get rid of now unused safe.cFlorian Obser
2020-02-25use freezero() rather that explicit_bzero() when free() is immediatelyTheo de Raadt
after. pointed out by jsing
2020-02-25traditional nslookup would not fatal if the server name was undiscoverable.Theo de Raadt
change lower level code to return an error, and bump the fatal for host(1) upwards, then tweak nslookup to work nicely
2020-02-25malloc(a * b) -> reallocarray(NULL, a, b)Theo de Raadt
ok jsing jca florian
2020-02-25unused fileFlorian Obser
2020-02-25declare isc_appctx_t once where it is usedJonathan Gray
Should fix typedef redefinition build error on gcc3 reported by aoyama@. ok florian@
2020-02-25Do not generate dns_rdatatype_attributes and dns_rdatatype_totext.Florian Obser
OK jung
2020-02-25reduce multiple newlinesJonathan Gray
2020-02-25remove some unused typedefsJonathan Gray
2020-02-25remove some unused definesJonathan Gray
2020-02-24Marc Espie reported that "man p*ipc" displayed the perlipc(1) manual.Ingo Schwarze
The reason was that as a last resort when failing to find a page name in mandoc.db(5) or at a few well well-defined fully qualified file names, man(1) uses glob(3) to look for candidate files in relevant directories, because some operating systems have weird file name extensions, for example pcap.3pcap and BF_set_key.3ssl on Linux. But during that globbing, the metacharacters "*?[" need to be escaped in the name, section, and path supplied by the user, or you would get weird false positives and misleading warning messages and would be unable to use the fallback for path or file names that actually contain an opening bracket. Feedback and OK espie@.
2020-02-24Stop generating rdatastruct.h and put the dns_rdata_* structs forFlorian Obser
cname, ns, soa, and tsig directly into rdata.h
2020-02-24Delete a few more fromstruct_*, tostruct_* and freestruct_* functionsFlorian Obser
missed in previous. Also delete now unused utility functions.
2020-02-24We only need to create cname, ns, soa and tsig structs.Florian Obser
OK jsg
2020-02-24We only need to fill a wire format buffer from soa and tsig structs.Florian Obser
OK jsg
2020-02-24We only need to free cname, ns, soa and tsig structs.Florian Obser
OK jsg
2020-02-24We are never required to "render glue first" since we just print whatFlorian Obser
we get from the net.
2020-02-24dead store, pointed out by scan buildFlorian Obser
2020-02-24totext_filter_proc is always null, remove.Florian Obser
2020-02-24remove some unused codeJonathan Gray
ok florian@
2020-02-24remove some uneeded includesJonathan Gray
2020-02-24We only need to check the owner for nsec3 records, remove all theFlorian Obser
rest. OK jung
2020-02-24We are always preserving the order of records.Florian Obser
This lets us remove compare_* and casecompare_* functions from RR types. OK jung
2020-02-24Stop generating DNS class and type enums.Florian Obser
OK jsg, jung
2020-02-24Change mouse selection so that after selecting a word, dragging selectsNicholas Marriott
only words and similar for lines. From Anindya Mukherjee.
2020-02-24Fix typo. Patch from itoama at live.jp via github PR#173.Darren Tucker
2020-02-24Fix 'previously declared here' error on gcc3(luna88k).Kenji Aoyama
ok jsg@ florian@ jung@
2020-02-23remove some unused functionsJonathan Gray
ok jung@
2020-02-23rmeove more unused functions and codeJoerg Jung
ok florian
2020-02-23remove unused parts of types.hJonathan Gray
ok jung@ florian@
2020-02-23We never request to clone the buffer from the message parser.Florian Obser
OK millert
2020-02-23We are not passing options to the message renderer.Florian Obser
OK millert
2020-02-23Partial rendering was never implemented.Florian Obser
OK millert
2020-02-23Remove unused fields from struct dst_key and stop passing name andFlorian Obser
rdclass around. OK millert, jung
2020-02-23hmacs do not support NULL keysFlorian Obser
OK millert, jung
2020-02-23All key funcs are populated, skip NULL check.Florian Obser
While here remove *_isprivate since it is always true. OK millert, jung
2020-02-23createctx2, verify2, and cleanup are always NULL.Florian Obser
OK millert, jung
2020-02-23Remove unused hmac functions from struct dst_func which in turn letsFlorian Obser
us delete parsing of private keys from files. OK millert, jung
2020-02-23remove unused structsJonathan Gray
2020-02-23remove unused dns_rdatacallbacks struct and typedefJonathan Gray
2020-02-22remove various unused macrosJoerg Jung
ok florian
2020-02-22remove some unused args and unused assignments, as resultJoerg Jung
msgblock_free() becomes just free() also add UNUSED() for some dns_message *msg args for later revisit and cleanup ok millert florian
2020-02-22remove assigned but unused valuesJoerg Jung
ok millert florian
2020-02-22remove unused codeJoerg Jung
ok millert florian
2020-02-22Avoid duplication in the code that sends headersJeremie Courreges-Anglas
ok yasuoka@
2020-02-22Respect userinfo even when built with NOSSL (floppy ramdisks)Jeremie Courreges-Anglas
Not handling it is incorrect and can lead to credentials leaks in DNS requests. The resulting growth is reasonable (about 300 bytes on amd64). ok yasuoka@
2020-02-21some rewording and text shuffle to improve readability;Jason McIntyre
ok millert