summaryrefslogtreecommitdiff
path: root/lib/libc/net
AgeCommit message (Collapse)Author
2014-02-07RFC 3542 (section 10.1) states that optlen should only be checked whenchristos
opt != NULL (Eitan Adler)
2014-01-24CID 1163170, 1164171, resource leakchristos
CID 1161172 double free
2014-01-17fix memory allocation, and an off-by-onedrochner
2014-01-17the addition is handled in the alias.christos
2014-01-17Move more code into the macro, and fix the bug where realloc would causechristos
a dangling pointer and memory corruption.
2014-01-16Remove MAXALIASES limitchristos
2014-01-04Sort sections. Remove trailing whitespace.wiz
2014-01-04Sort sections. Punctuation formatting nits.wiz
2013-12-22- don't clobber hp in the RES_USE_INET6 casechristos
- increment naddrs in the yp case - don't use __hostalias(), it is not thread-safe.
2013-12-22this is supposed to be re-entrant, call don't call __hostalias that useschristos
a static buffer.
2013-11-14Remove annoying comma and sort SEE ALSO.wiz
2013-11-13PR/48379: mention kqueue functionalitychristos
2013-10-31Try improving the description.wiz
2013-10-19Minor fixes.wiz
2013-10-19document the scopeid functionschristos
2013-10-19use new constantschristos
2013-10-19add inet6_scopeidchristos
2013-08-27move the host file getbyname and getbyaddr functions to sethostent.c sochristos
that they are in a separate file from the dns ones in order for libhack to use them.
2013-08-22get rid of bogus + 1christos
2013-08-19fix gethostbyaddr prototype per TOG.christos
2013-08-18Update comment.wiz
2013-08-18getnameinfo is now thread-safe so remove bugs section.christos
2013-08-18appease lint.christos
2013-08-16Add not advertised reentrant functions: {get,set,end}hostent_r,christos
gethostbyname{,2}_r, gethostbyaddr_r. Make getnameinfo(3) use gethostbyaddr_r(3) so it is re-entrant (ahem __ypdomain). These are not being advertised because there is a bunch of different implementation of them that have a variety of type signatures. If people want to follow someone's implementation, it is now easy.
2013-05-13CVE 1020946: Fix res leak.christos
2013-05-13CVE 1020938: Fix memory leakchristos
2013-05-08New sentence, new line. Fix minus. Avoid <>.wiz
Remove trailing whitespace.
2013-05-08Clarify which functions are only in libresolv.christos
2013-05-03New sentence, new line.wiz
2013-05-03document AI_SRVchristos
2013-05-03PR/32373, PR/25827: Add SRV lookup in getaddrinfo(3)christos
Per DNS-SD (RFC 2782), but only enabled if AI_SRV is set.
2013-05-03KNF, whitespace police -- no code changeschristos
2013-04-07Remove trailing whitespace.wiz
2013-04-07Add a small example.christos
2013-03-01Retire OSI network stack. OK core@joerg
2012-12-27Avoid gcc 4.5.3 compiler bug on ia64 by compiling hesiod.c with -O1 only.martin
2012-11-07fix outdated includes list.christos
2012-09-26add and document AF_LOCAL (and the rest that were not)christos
2012-09-09implement no-check-nameschristos
2012-07-14bin/46703: BSD r-commands use wrong source address for stderrdarrenr
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=46703 Bump libc minor for the addition of rresvport_af_addr()
2012-06-25Update old-style definitions to ANSI, remove a couple of registerabs
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-08Henning Petersen in PR lib/46561: cosmetic change: avoid self assignement.martin
2012-03-20Use C89 Prototypes.matt
Remove use of __P
2012-03-20PR pkg/46206kardel
re-establish fqdn lookup when AI_ADDRCONFIG is used in hints AI_ADDRCONFIG led to fqdn lookup being skipped as the systems didn't configure any PF_UNSPEC addresses - check was too strict here. Thnaks to Ryo ONODERA for testing.
2012-03-20PR 46206: fix programmed SIGSEGVkardel
more work is needed as tests seem to indicate that name resolution now does no seem to work (firefox reports Server not found) thanks to Ryo ONODERA for testing.
2012-03-17Add AI_ADDRCONFIG, which makes getaddrinfo() return only address with familieschristos
that are already configured in the system.
2012-03-13PR/45989: Martin Husemann: lint invocation does include -w only on i386christos
- turn lint -w for all the platforms after fixing the lint warnings. - add _DIAGASSERTS() for casts that would assign values to types that would not fit. - change types, add casts - change into ansii prototypes - turn on _DIAGNOSTIC for libc (during current, to be eliminated for release builds) approved by core@
2012-03-04fix signature according to TOG.christos
2012-01-20Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressionsjoerg
again. This was changed in sys/socket.h r1.51 to work around fallout from the IPv6 aux data migration. It broke the historic ABI on some platforms. This commit restores compatibility for netbsd32 code on such platforms and provides a template for future changes to the CMSG_* alignment. Revert PCC/Clang workarounds in postfix and tmux.
2011-12-25Apply fix for previous changes per request from joerg@:tsutsui
http://mail-index.NetBSD.org/source-changes-d/2011/12/25/msg004454.html XXX1: More Makefiles should be fixed otherwise they will be copy-and-pasted blindly again and again. XXX2: Probably we need more explicit and simple macro to check active CC.