brucec
7adc5f91cf
Revert changes of 'assure' to 'ensure' made in r211936.
...
Approved by: rrs (mentor)
2010-09-11 10:49:56 +00:00
brucec
76d7244728
Fix incorrect usage of 'assure' and 'insure'.
...
Approved by: rrs (mentor)
2010-08-28 16:32:01 +00:00
joel
dd1fff9bcb
Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
...
translating these manual pages. Minor corrections by me.
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2010-08-16 15:18:30 +00:00
ume
71b91f8199
Correct the return code from _dns_gethostby*() to correspond
...
with h_errno.
Obtained from: NetBSD
MFC after: 2 weeks
2010-08-15 16:28:08 +00:00
ume
5fdaddea72
- When there is no room for returning the result, nss backend
...
have to return ERANGE and terminate with NS_RETURN.
- When gethostbyname_r(3) and the friends end with an error,
set errno to the value nss backend returns, and return errno
value.
PR: kern/131623
MFC after: 2 weeks
2010-08-13 06:39:54 +00:00
joel
f4e8725880
Fix typos and spelling mistakes.
2010-08-06 14:33:42 +00:00
joel
52dbc8b634
Spelling fixes.
2010-08-02 16:01:45 +00:00
rrs
11ebe7c039
If a user calls sctp_sendx() with a NULL
...
sinfo we will crash. Instead we should provide
our own temp structure to use internally.
MFC after: 1 month
2010-07-07 11:19:06 +00:00
brucec
d33b286554
Increment 'sa' at the end of the loop; otherwise, only the first
...
address ever gets checked.
Approved by: rrs (mentor)
MFC after: 1 month
2010-07-05 03:55:49 +00:00
brucec
a605c9b153
Use ISO C99 integer types instead of the BSD-specific u_int*_t.
...
Approved by: rrs (mentor)
2010-07-04 08:09:33 +00:00
brucec
4945d8d26d
sctp_recvmsg returns the number of bytes received, not sent.
...
Approved by: rrs (mentor)
MFC after: 1 month
2010-06-11 18:43:55 +00:00
ume
eace2c4331
Use the stored length value instead of calculating it by strlen().
2010-04-06 12:33:05 +00:00
ume
7915a50654
Add capability to use a db version of services. It is enabled by
...
specifying `db' as source of service in /etc/nsswitch.conf.
MFC after: 2 weeks
2010-04-04 08:31:03 +00:00
ume
6e468628cf
Reduce duplicate code.
...
MFC after: 2 weeks
2010-04-04 07:31:10 +00:00
ume
ad7b5cc594
Treat '+' as special only when in compat mode, and simplify
...
the logic bit.
MFC after: 2 weeks
2010-04-04 07:21:45 +00:00
ume
74ecc8e0c6
Stop adding trailing '\n'. The servent_unpack() doesn't expect
...
lines terminated with '\n'.
MFC after: 2 weeks
2010-04-04 07:02:10 +00:00
brucec
c801976d13
Remove extra semicolon.
...
Approved by: rrs (mentor)
2010-01-31 21:47:39 +00:00
brucec
b51b4f4d2b
Fix typo of ENOTCONN.
...
Add missing RETURN VALUES section in sctp_opt_info(3).
Approved by: rrs (mentor)
2010-01-31 21:45:14 +00:00
brueffer
197dc264ae
Miscellaneous mdoc, spelling and inconsistency fixes.
...
PR: 142573, 142576 (mostly)
Submitted by: brucec
MFC after: 1 week
2010-01-12 21:45:03 +00:00
danger
6729ce6df0
- correct xref sections
...
PR: docs/140940
Submitted by: Bruce Cran <bruce@cran.org.uk>
MFC after: 1 week
2009-11-28 11:27:37 +00:00
ume
803189ee1c
Add missing IEEE1394 support dropped during merge from NetBSD.
2009-11-12 11:54:12 +00:00
ume
2a2df770dc
ANSIfy.
...
MFC after: 1 week
2009-11-11 15:21:06 +00:00
ume
a9dc4dbb62
Add NLS catalogs support to gai_strerror(3).
...
Controlled by NLS define.
2009-11-09 12:46:59 +00:00
phk
92c0e3160b
Revert r196976, now that <machine/param.h> behaves predictably.
2009-09-09 10:31:20 +00:00
phk
a1226dc97c
Add necessary include
2009-09-08 15:18:25 +00:00
delphij
fb4a68cc3a
Document how to enable strict RFC 1034 enforcements.
...
PR: kern/129477
2009-05-29 07:55:44 +00:00
zml
b186e91180
Fix an issue when nss fallback routines are used in a multithreaded application.
...
Reviewed by: bushman
Approved by: dfr (mentor)
2009-05-27 17:01:59 +00:00
bms
259233890b
Fix an obvious bug in getsourcefilter()'s use of struct __msfilterreq;
...
the kernel will return in msfr_nsrcs the number of source filters
in-mode for a given multicast group.
However, the filters themselves were never copied out, as the libc
function clobbers this field with zero, causing the kernel to assume
the provided vector of struct sockaddr_storage has zero length.
This bug would only affect users of SSM multicast, which is shimmed
in 7.x.
Picked up during mtest(8) refactoring.
MFC after: 1 day
2009-04-29 09:58:31 +00:00
ume
cb768e2631
Query DNS only once per an address family.
...
Obtained from: KAME
MFC after: 2 weeks
2009-03-29 17:55:11 +00:00
ume
b9602dae34
Add support for SCTP to getaddrinfo(3).
...
Now, getaddrinfo(3) returns two SOCK_STREAMs, IPPROTO_TCP and
IPPROTO_SCTP. It confuses some programs. If getaddrinfo(3) returns
IPPROTO_SCTP when SOCK_STREAM is specified by hints.ai_socktype, at
least Apache doesn't work. So, I made getaddrinfo(3) to return
IPPROTO_SCTP with SOCK_STREAM only when IPPROTO_SCTP is specified
explicitly by hints.ai_protocol.
PR: bin/128167
Submitted by: Bruce Cran <bruce__at__cran.org.uk> (partly)
MFC after: 2 week
2009-03-25 16:23:43 +00:00
ume
9572ca2bf0
getaddrinfo(3) should accept numeric when ai_socktype is not
...
specified in hint or hints is NULL.
PR: bin/51827
Submitted by: Mark Andrews <marka__at__isc.org>
MFC after: 1 week
2009-03-24 17:47:24 +00:00
bms
0d63b902b4
Considerably improve the wording of this man page.
2009-03-04 01:59:14 +00:00
bms
76de7f52e0
Update copyright.
2009-03-04 01:58:48 +00:00
delphij
c968042e93
Add a missing .El.
2009-03-01 05:47:14 +00:00
ume
185bd48df4
Shutup warning for DNAME RR.
...
PR: bin/127591
Submitted by: "Eugene M. Kim" <20080111.freebsd.org__at__ab.ote.we.lv>
MFC after: 1 week
2009-02-08 16:58:05 +00:00
danger
b73b4a5b71
- forgot to bump a date
2009-01-06 13:10:15 +00:00
danger
25a4ec32ad
catch up wtih r175955 by ume:
...
- the support of AI_ALL and AI_V4MAPPED has been completely removed.
2009-01-06 13:05:58 +00:00
murray
ac00ba8d82
Add an ENVIRONMENT section to note that the RSH variable can be set to
...
override the use of the rsh(1) program in rcmd(3).
PR: docs/51133
Obtained from: NetBSD, partially
MFC after: 3 weeks
2008-12-14 22:48:48 +00:00
danger
7572ac6273
- AI_ALL and AI_V4MAPPED flags are currently not supported
...
PR: docs/120248
Submitted by: Heiko Wundram <wundram (a) beenic.net>
2008-07-01 22:59:20 +00:00
jhb
c57ec28c3f
Include libc_private.h for the declaration of __isthreaded instead of
...
relying on namespace pollution in stdio.h.
MFC after: 3 days
2008-05-02 14:51:22 +00:00
ume
97fd4b42a1
Remove incomplete support of AI_ALL and AI_V4MAPPED.
...
Reported by: "Heiko Wundram (Beenic)" <wundram__at__beenic.net>
2008-02-03 19:07:55 +00:00
bushman
9d2bf43707
Moved logging out of the nss_method_lookup() in order not to
...
flood logs with failed fallback method lookup attempts.
2007-12-17 16:12:57 +00:00
bushman
b02556dae5
Implementing 'fallback' nsswitch source. 'fallback' source is used
...
when particular function can't be found in nsswitch-module. For
example, getgrouplist(3) will use module-supplied 'getgroupmembership'
function (which can work in an optimal way for such source as LDAP) and
will fall back to the stanard iterate-through-all-groups implementation
otherwise.
PR: ports/114655
Submitted by: Michael Hanselmann <freebsd AT hansmi DOT ch>
Reviewed by: brooks (mentor)
2007-12-12 10:08:03 +00:00
ru
29de595612
Fix bad rule and bad dependency for nsparser.h that can
...
cause the build to fail because y.tab.c can have a more
recent modification time than y.tab.h, and the bad rule
relied on the opposite.
(The last write to y.tab.c by yacc(1) happens after the
last write to y.tab.h, according to truss(1).)
Reported by: kensmith
2007-11-15 22:39:15 +00:00
keramida
7d196f53c8
mdoc fix: remove extraneous empty line.
...
MFC after: 3 days
2007-10-30 15:31:41 +00:00
tmclaugh
325514ce7b
- Correctly define CACHED_SOCKET_PATH as /var/run/nscd after cached to
...
nscd renaming.
Approved by: mux
2007-10-17 23:20:49 +00:00
brueffer
a55c6d7bef
Assorted spelling, punctuation and mdoc fixes.
...
Approved by: re (blanket)
2007-09-25 16:48:08 +00:00
gabor
146ada0686
- Fix description to say "receive" instead of "send"
...
PR: docs/115466
Submitted by: Bruce Cran <bruce@cran.org.uk>
Approved by: re (bmah)
2007-09-20 10:49:10 +00:00
jinmei
9bcc40000e
ensure the head entry of addrinfo chain has non-NULL ai_canonname to be
...
compliant with RFC3493.
PR: standards/114910
Approved by: ume (mentor)
Approved by: re
MFC after: 1 week
2007-09-05 18:08:14 +00:00
bushman
ce4c62aa34
- Getipnodebyname() and getipnodebyaddr() reimplemented through
...
gethostbyname() and gethostbyaddr() accordingly
Approved by: re (kensmith), brooks (mentor)
2007-07-31 16:09:41 +00:00