Commit Graph

774 Commits

Author SHA1 Message Date
christos 33434557c9 dprintf is claimed by posix. 2010-08-29 15:40:35 +00:00
seanb 10f798a007 - remove extra len check as per discussion on tech-net. 2010-06-29 14:44:19 +00:00
joerg b9cf7d31ab Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.
2010-04-25 00:54:44 +00:00
wiz 8cd16a22d0 Join URL. 2010-04-17 20:28:47 +00:00
jruoho 6d890644fe Use the common template for the USENIX paper. Add URL. 2010-04-17 10:08:21 +00:00
joerg 1c3412fa2f Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
is 45845cf0d7 Print AppleTalk phase 2 range, too, if available. 2010-01-29 22:26:48 +00:00
is 000fbf6b41 Add AF_APPLETALK support to getnameinfo(); make "route show" use it.
Doesn't print "ranges" yet (should it be done here?); only numeric
output.
2010-01-26 21:27:54 +00:00
wiz 663935444d Bump date for previous. 2009-12-14 07:31:49 +00:00
dholland e2423fa273 getaddrinfo is defined to use the AF_* constants, even though perhaps its
interface ought to have been defined in terms of PF_*. Add a note about
how the distinction has been lost anyway. Fixes PR lib/42384.
2009-12-14 01:53:31 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
joerg 178d0fc825 Do not nest displays, use lists instead. Discussed with wiz.
Fix markup.
2009-10-14 17:24:03 +00:00
wiz 3dee657aa5 Revert a -> an changes: Adding an 'n' follows pronunciation, not writing. 2009-10-02 07:41:08 +00:00
wiz b9f34d69ea Bump date for new allocaddrinfo. 2009-10-02 06:59:37 +00:00
cegger 45db136e91 fix grammar: a -> an 2009-10-02 06:49:23 +00:00
tsarna 1f4f234ea9 Introduce allocaddrinfo(3) to make writing getaddrinfo() nss plugins easier.
Discussed on tech-net.
2009-10-02 02:45:28 +00:00
seanb 612dfc4de9 Watch getservbyport_r() semantics. sv needs scope
while results are being looked at which in turn
are no longer valid after a endservent_r().
2009-08-12 20:24:30 +00:00
christos d9b57d2294 another missing \ 2009-06-08 17:18:11 +00:00
christos d6dbd2857d remove duplicated line 2009-06-08 17:06:22 +00:00
christos 64ef372149 missing \ 2009-06-08 17:00:40 +00:00
christos d37a1d1b07 sort, add missing, fix section 2009-06-08 16:59:52 +00:00
christos ecb120d5ca new resolver functions. 2009-06-08 16:57:09 +00:00
christos 190ebc6a17 merge our changes 2009-06-08 16:55:30 +00:00
dyoung 46db29bcf1 Bring getifaddrs(3) behavior in line with the documentation: the
ifa_data member of every AF_LINK struct ifaddrs points at the
corresponding struct if_data.  In ifconfig(8), do not try to suppress
duplicate AF_LINK ifaddrs by checking for a NULL ifa_data.

Don't copy out two AF_LINK struct ifaddrs for each active link-layer
address. getifaddrs(3) used to copy out one ifaddrs for the kernel's
RTM_IFINFO message, and one more for the kernel's RTM_NEWADDR message.
I suppress the first duplicate with a highly conservative change that
wastes a little bit of ifaddrs storage.  The storage is not leaked.
2009-04-27 20:10:49 +00:00
wiz 48f171ac9f Mark up NULL. New sentence, new line. Bump date for previous. 2009-04-22 07:26:52 +00:00
dyoung c378e7997c For non-AF_LINK ifaddrs, ifa_data is NULL. AFAICT, this has always been
so.  Say so in the documentation.
2009-04-21 23:27:09 +00:00
christos 59a755a40f merge libbind and bump. 2009-04-12 17:07:16 +00:00
joerg 592c0f8761 Remove reundant quote. 2009-04-11 15:32:03 +00:00
joerg 0e5f0af7e9 Fix preamble 2009-03-11 13:35:21 +00:00
joerg fa91a1ac51 Use .An for author list. 2009-03-10 23:36:10 +00:00
lukem da77f10ac5 sign-compare fix 2009-02-11 05:25:17 +00:00
lukem fc2df2f1c0 sign-compare fix 2009-02-05 23:22:39 +00:00
lukem 8bbffe062a sign-compare fix 2009-02-05 13:21:11 +00:00
lukem 8a09e86085 sign-compare fix 2009-01-30 23:35:35 +00:00
tls 8d33a6da32 Cause getaddrinfo() without socktype specification to work correctly for
numeric addresses.  The documentation appears to say this works, and some
other systems support it -- more importantly, why should it _not_ work?  If
it does not, getaddrinfo() cannot be used as a general-purpose textual to
binary address conversion utility function; yet it is the only such function
we have in the system, since inet_pton() requires a priori knowledge of the
address family.

This change also causes getaddrinfo() with NULL hint (expressly documented
as working) to work properly for numeric addresses.
2009-01-23 00:48:57 +00:00
gmcgarry 77023558e8 Changee __attribute(__weak__) to __weak_reference(). Produces same object code
and matches lib/csu/common_elf/common.h.  Fixes linkage with PCC.
2008-08-17 10:51:19 +00:00
christos 3873655b27 updates from bind-9-5-0 2008-06-21 20:41:48 +00:00
lukem edf03256a8 Fix possible memory leak in error path.
Part of PR 38677.
2008-05-18 22:36:15 +00:00
lukem 2713f76747 Convert getnetbyname(3) and getnetbyaddr(3) to the more "standard"
nsdispatch() backend method API.
2008-05-08 13:01:42 +00:00
lukem d8aac84366 Fix a misuse of an automatic as a static that was exposed by the previous. 2008-05-08 12:26:55 +00:00
lukem 6e5e2748b3 Fix DNS getnetbyname(), which has been broken for at least 5.5 years
(if not longer).
2008-05-08 05:06:18 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
martin 3028e483e4 Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
lukem e11ffebb07 Document the callback API used by "standard" functions.
NOTE: some of these will be changing in the future to be more
consistent with the technique used in the group & passwd backends.
I'm just documenting the existing behaviour.

Be more consistent when using certain terms.
Rename some variables to reduce confusion.
2008-04-19 08:24:45 +00:00
lukem e39aac16df Add a missing const. 2008-04-19 07:56:34 +00:00
lukem a699245e9a The ns_mtab.mdata is passed to the ns_mtab.method as the cbdata argument. 2008-04-07 13:25:42 +00:00
lukem 7ce7cf535a Improve description of the arguments and return values of
various methods & callbacks.
Improve markup.
2008-04-07 13:20:44 +00:00
abs e26de9edf5 Adjust "The getpeereid() function appeared in NetBSD 4.0" to a more
correct NetBSD 5.0.
2008-01-29 13:55:27 +00:00
christos 5f01dfbd0d PR/37708: A.Leo.: getservbyname, segetaddrinfo sefgfaults when user has no
rights for reading ``/etc/services''
2008-01-06 16:34:18 +00:00