Commit Graph

4669 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
chs e0acecf117 in kvm_getprocs(), check for error from kvm_deadprocs(). 2000-01-15 19:16: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
mjl 633ab39a92 Make setusercontext() resilient against missing login.conf too. 2000-01-14 02:14:42 +00:00
itojun 7a9fea2792 improve message when IPv4 address is not assigned to interface
(and netmask-related directives can misbehave).

the change is in kame and tcpdump.org repository as well.
2000-01-13 17:14:56 +00:00
ad 902637d2e4 swapctl(SWAP_OFF, ...) now works. 2000-01-13 12:11:30 +00:00
mjl 923f186481 Make login_cap routines resilient to non-existant conf file, and
secure_path() less noisy.
2000-01-13 06:48:14 +00:00
mjl 33a82426ba Add a history section. 2000-01-13 06:16:48 +00:00
mjl 142f369443 Add necessary support routines for login.conf. 2000-01-12 05:02:10 +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 818cfe2268 Workaround for gcc 2.96 bugs. 1999-12-30 15:34:47 +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
kleink 718fb4e493 RCS Id police (again!). 1999-12-22 14:38:12 +00:00
itojun 320dc0884c s/.Os KAME/.Os/
From: Klaus Klein <kleink@ira.uka.de>
1999-12-21 14:17:18 +00:00
hubertf 5f98f60ad8 Document that bit #0 is the LSB of the first longword in the array.
Pointed out by Matt Thomas.
1999-12-20 02:04:24 +00:00
blymn b7466e4fd7 * Moved the contents of the EXPOSE_PRIVATES ifdef into internal.h and
killed the now empty ifdef in menu.h.  Also removed the define in
  the CFLAGS in Makefile.
* Renamed _menui_menu_hook to Menu_Hook for compatiability with
  ncurses.
* Renamed all internal functions to have _menui prefix instead of
  __menui
* Cleaned up some automatic function variable names that were
  shadowing function calls.
* Fixed email address in headers.
1999-12-16 12:08:06 +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
christos 25b059b813 If we are not including i387 support in libm, build a separate libi387. 1999-12-13 09:40:27 +00:00
christos e133a9e685 Makefile and shared library for libm387. 1999-12-13 09:36:29 +00:00
itojun 60860abcb8 be more pedant. remove unused vars and such.
don't use s6_addr{8,16,32} directly, they are not in standard.
hide not-supposed-to-be-visible functions as static.

increase shlib minor.
1999-12-13 01:44:30 +00:00