Commit Graph

3221 Commits

Author SHA1 Message Date
kleink
6910891781 Add NAN constant glue for sh3. 2000-01-17 16:27:53 +00:00
kleink
34c7685f30 Adjust for little endian environments (confirmed by msaitoh). 2000-01-17 16:21:36 +00:00
itojun
2705db0080 do not filter address families that are not supported by kernel.
the behavior was introduced in 1.8 -> 1.9, by itojun, and it was
not a correct behavior.

even if we may be able to connect to the the returned addresses,
filtering them out is not a correct thing to do.  for example, even if
you have partial unreachablility in IPv4, gethostbyname(3) will return
IPv4 addresses in the unreachable network nonetheless.
2000-01-17 15:57:29 +00:00
itojun
79641939e0 remove #if 0'ed sections. 2000-01-17 08:34:04 +00:00
itojun
88d175cdc4 sync with latest KAME tree.
add example section to get{addr,name}info.
s/\.Os KAME/.Os/.
2000-01-17 08:33:45 +00:00
kleink
5d03e70658 (Re-)use the assembly version for labs(), too. 2000-01-16 00:32:32 +00:00
kleink
cc34c654dc Add the C99 %F conversion. 2000-01-15 16:59:05 +00:00
christos
fc1a83184b add and "f" flag to fopen that makes sure we are opening a plain file,
so that there is no chance to block.
2000-01-15 01:11:45 +00:00
msaitoh
df208e8ae8 sync with libkern 2000-01-14 22:55:46 +00:00
ad
902637d2e4 swapctl(SWAP_OFF, ...) now works. 2000-01-13 12:11:30 +00:00
scw
2a8d425699 After writing a page out to disk, run the page back through the user's
input filter to ensure we don't end up with a cached copy of the page
in the wrong byte-order for the host cpu.

This fixes a fatal bug which bites when the DB 'lorder' is different
to the cpu's, and a cached page is accessed soon after it was flushed
to disk.
2000-01-09 19:56:15 +00:00
hubertf
959b8807ca Document that errno is set to ENOMEM if no memory can be allocated. 2000-01-09 16:14:04 +00:00
itojun
0e776c76b4 need sys/types.h before sys/socket.h 2000-01-07 01:49:42 +00:00
itojun
2e904aec57 make IPV6_BINDV6ONLY setsockopt available. it controls behavior of
AF_INET6 wildcard listening socket.  heavily documented in ip6(4).
net.inet6.ip6.bindv6only defines default value.  default is 1.

"options INET6_BINDV6ONLY" removes any code fragment that supports
IPV6_BINDV6ONLY == 0 case (not defopt'ed as use of this is rare).
2000-01-06 06:41:18 +00:00
itojun
97998ce539 wording fix in net.inet6.icmp6.errratelim. 2000-01-06 03:43:03 +00:00
itojun
9695855746 add missing variables under net.inet6.ip6. 2000-01-06 02:56:44 +00:00
drochner
65bf8c30e2 fix use of uninitialized "buflen" (botched in 1.18), closes PR lib/9104
by bgrayson@ece.utexas.edu
2000-01-05 18:40:06 +00:00
msaitoh
95d875fb90 libc for SH3.
TODO: fplib
2000-01-05 14:07:29 +00:00
itojun
2cd2ee94b9 allow reverse query for v4 loopbacknet (127.0.0.0/8). 2000-01-05 04:54:54 +00:00
itojun
9ffbadc055 clarify text for RES_USE_INET6. this is almost always unnecessary. 2000-01-03 11:56:05 +00:00
msaitoh
40732a4308 nlist for COFF 2000-01-03 02:13:32 +00:00
itojun
07c2fe1cd9 add net.inet6.icmp6.nodeinfo sysctl.
this allows you to disable/enable ICMPv6 node information query/reply
processing (which tells remote end the gethostname(3) setting, interface
addresses on the node, and some other things - documented in
draft-ietf-ipngwg-icmp-name-lookup* or something alike).

to test it, try ping6 -w ::1 with nodeinfo=0 and nodeinfo=1.
(sync with kame change)
2000-01-02 16:31:17 +00:00
itojun
062c67829f typo fix 2000-01-02 13:34:25 +00:00
itojun
14719f6549 document PF_INET6 items (net.inet6.*). 2000-01-01 18:00:56 +00:00
eeh
0ba088f0a3 New bzero() using block store insns. 1999-12-30 15:31:39 +00:00
eeh
d1b815fe32 Sample code to implement ffs() using the popc insn (if it's ever implemented). 1999-12-30 15:30:26 +00:00
tron
eec7b963e1 Correct typo reported by Jens Nilsson in PR misc/9069. 1999-12-29 21:19:36 +00:00
assar
8f5685ec6b ignore KEY and SIG records when matching responses to the query. we
get those as extras from DNSsec-enabled name servers.
1999-12-28 15:47:41 +00:00
mjl
67b9836fda Fix typo. 1999-12-28 02:51:17 +00:00
itojun
1f9eba958f properly check the error result from if_nametoindex(), to disallow
bogus interface index specification like fe80::1@bogus.
(sync with kame)
1999-12-27 10:20:59 +00:00
shin
509e885e3b fix name space pollution by adding prefix '_mips_'.
closes PR 8770.
1999-12-26 00:22:31 +00:00
kleink
c28a7d70bf Bump minor. 1999-12-23 10:16:36 +00:00
kleink
11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
itojun
72e7091f16 more complete solution for gethostby*() buffer overwrite issue.
(we need thread-safe gethostby*...)
1999-12-13 17:05:45 +00:00
itojun
58481c1c06 fix getaddrinfo(3) and getnameinfo(3).
getaddrinfo(3): result from gethostby* will be broken if we call it again.
deep-copy them.  we have sa_len so configure them.
getnameinfo(3): we have sa_len so configure them.
1999-12-13 16:22:56 +00:00
itojun
1501f61891 bring in latest KAME get{addr,name}info(3).
getnameinfo(3) globs ai_socktype and ai_protocol correctly.
KAME scopeid extension is implemented.
(draft-ietf-ipngwg-scopedaddr-format-00.txt)

bump up shlib minor
(may not be necessary, but rather big difference in behavior - especially
ai_flags)
1999-12-13 14:18:31 +00:00
itojun
0b3c3042e6 inet6_rthdr_reverse() is not implemented yet. 1999-12-12 14:59:09 +00:00
itojun
c3f65850fd wording fixes (from openbsd camp -> kame) 1999-12-12 11:21:04 +00:00
itojun
a57d497906 add manpage for inet6_{option,rthdr}_*. 1999-12-12 11:20:03 +00:00
msaitoh
3b476f4adb use .Er 1999-12-11 19:35:48 +00:00
explorer
cda5601f3c revert this file, the changes I made were quite unnecessary. 1999-12-10 17:27:28 +00:00
wennmach
19e89641c1 Back out last change; now vis takes care not to produce ambigous
encodings.
1999-12-07 18:26:27 +00:00
wennmach
12c643233f In SVIS, encode all characters on the extra list either in C-style
fashion (if possible) or as octal representation (else).
1999-12-07 18:20:28 +00:00
explorer
5bfb624265 Put the function prototype back. Grr. 1999-12-03 23:34:41 +00:00
explorer
bb10ce81bd Do this a bit differently.
On platforms where we can use weak aliases, use
	__weak_alias(__errno, __errno_func);
and on platforms where we cannot, just compile the function as
__errno, since on those platforms we cannot make libc thread-safe,
at least using this trick.

Are there any platforms where we cannot do __weak_alias() anymore?
1999-12-03 23:31:20 +00:00
explorer
c9227efe70 Make __errno() be a weak alias for __errno_func(), so thread packages
can actually override what plain old 'errno' looks like.
1999-12-03 23:24:33 +00:00
explorer
179a2df725 add. This holds the global __isthreaded variable, to indicate that threading
is (or is not) present.
1999-12-03 06:37:34 +00:00
explorer
7d1b0fabbc typo 1999-12-03 06:36:55 +00:00
kleink
15be242b3a Add a LIBRARY section to system call manual pages. While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
1999-12-02 21:42:35 +00:00
kleink
087b539e0f Change the declaration of the argv argument to getopt(3) from "char * const *"
(as originally declared in System V) to "char * const []", as was done in
1003.2 and subsequently propagated into XPG4.
From Andrew Cagney in PR lib/8930.
1999-12-02 13:15:55 +00:00