summaryrefslogtreecommitdiff
path: root/lib/libc/net
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2022-12-04lib: Mark up error names in man pages with .Eruwe
2022-12-04Sections 2 and 3 have RETURN VALUES, not DIAGNOSTICSuwe
2022-12-04getservent(3): Section 3 has RETURN VALUES, not DIAGNOSTICSuwe
While here, don't claim that null pointer is zero. We should probably just pick the wording from POSIX, but that yak is a bit too big for me to shave at the moment.
2022-12-03reference /var/db/services.cdb / services_mkdb(8)jschauma
2022-06-28fix references in manual pages to the reference documentationrillig
2022-05-22fix various small typos, mainly in comments.andvar
2022-04-19lib: remove CONSTCOND commentrillig
Since 2021-01-31, lint doesn't need it anymore for the common pattern of 'do ... while (0)'.
2022-03-12reallocarr returns errno. preserve it.christos
2022-03-12getservent_r: use reallocarrnia
CVSv ----------------------------------------------------------------------
2022-03-12getprotoent_r: use reallocarrnia
2021-10-28Fix typo in comment: allows, not alows.riastradh
I don't know what an alow is, maybe some cousin of the alot. Awaiting a nature documentary by Allie Brosh about these perhaps more elusive beasts. PR misc/56473, from jschauma
2021-10-27getaddrinfo(3): malloc + memset -> callocnia
2021-08-08introduce a SOL_LOCAL for unix-domain socket level socket optionsnia
as an alias of the current 0 used for these options, as in FreeBSD. reviewed by many.
2021-04-12new GCC_NO_* uses for warning issues. most of the users of the newmrg
GCC_NO_RETURN_LOCAL_ADDR are bugs in GCC itself, not the code.
2020-11-18Don't complain about additional DNAME records received when resolving A oris
AAAA (like already done for SIG/KEY and CNAME).
2020-06-05Remove more bogus tests for 64-bit i386 and SuperH.nia
These are always false.
2020-06-04getaddrinfo.3: order of the struct members is wrong, correct itnia
2019-10-13introduce some common variables for use in GCC warning disables:mrg
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
2019-10-10More cases to disable gcc-8 warnings only when we're using gcc>=8kre
2019-10-09Add -Wno-error for gcc-8 warningschristos
2019-05-29 Fix typo(s/suppport/support/) in comment. From FreeBSD.msaitoh
2018-12-13Adjust English usage in message for EAI_NONAME.dholland
2018-12-13Return EAI_NODATA, not EAI_NONAME, for nonexistent hosts.dholland
This causes e.g. "ssh nosuchname" to print "No address associated with hostname", which is correct, rather than "hostname nor servname provided, or not known", which is not.
2018-08-22- SIOCGIFINDEX was added in 2013, but if_freenameindex(3) have not used itmsaitoh
for years. Use it to improve performance. Same as FreeBSD. - KNF.
2018-08-13Various improvements.wiz
More markup, sort errors, fix -1.
2018-08-02Add missing SCTP manpage.rjs
2018-08-02Add userland support for SCTP and manpages.rjs
2018-02-21Consistenly use "host byte order".uwe
2018-02-21Fix endnetent prototype. Fix NULL. New sentence, new line.wiz
2018-02-21Improve the getnetent(3) man-pagekamil
Document return type of setnetent(3) and endnetent(3). Both "void". Sponsored by <The NetBSD Foundation>
2018-02-16Enforce that getpeereid only returns success on AF_LOCAL sockets, insteadchristos
of returning garbage for other socket types.
2018-02-07Fix typos, as reported by Eitan Adler. Update dates.pgoyette
2017-12-28PR/52837: Michael Kaufmann: getaddrinfo() resolves "127.0.0.1 www.example.com"christos
to 127.0.0.1. Apply the patch from FreeBSD and explain the rationale.
2017-10-30Fix Bl argument.wiz
2017-10-25Add freeifaddrs to the NAME sectionabhinav
2017-10-25Remove comma after last Nm entryabhinav
2017-10-25Remove comma after last Nm entry.abhinav
New sentence, new line
2017-09-29PR/52578: Benjamin M. Schwartz: sync the internal copy of res_nquery forchristos
getaddrinfo, with the real version so that we handle EDNS fallback.
2017-07-03Remove workaround for ancient HTML generation code.wiz
2017-06-18Include IPv6 global variable in USE_INET6=no libcmanu
This ensures a binary built with USE_INET6=yes libc can still link at runtime with a USE_INET6=no libc. Of course IPv6 functionnality is not available, but dynamic linking is not killed by missing symbols such as in6addr_any.
2017-03-10Remove entirely redundant free right after declaration.maya
This block existed because the original code used bindname as a global.
2017-03-10Drop redundant null checks.maya
this doesn't increase diff to upstream, the whole block differs already.
2017-01-10KNF, simplify expressions for readability.christos
2016-12-18clarify res_nclose and res_ndestroy.christos
2016-12-07Fix comment: s/ACCD/ADDC/pgoyette
2016-12-07Actually guarantee that the returned buffer from link_ntoa() is alwayskre
NUL terminated, even when called by malicious/broken applications.
2016-12-07More tweaking...pgoyette
2016-12-07Update BUGS section to note the possibility of a truncated return value.pgoyette