Commit Graph

4800 Commits

Author SHA1 Message Date
itojun 959ca07b4b add hw.alignbytes sysctl mib. this gives you the value of ALIGNBYTES
at the kernel compilation time (ALIGNBYTES that the kernel uses).
2000-02-27 06:13:35 +00:00
thorpej a9f90558b3 Traverse into alpha/. 2000-02-26 19:39:35 +00:00
thorpej 933205b479 Oops, forgot this file. 2000-02-26 19:00:08 +00:00
thorpej cd8a1657b4 Userland interface to the bus window translation support now present
in the alpha sysarch(2).  In a perfect world, these would go away in
favor of a generic bus space mapping framework, but XFree86 is a long
ways away from being able to use one.
2000-02-26 18:59:36 +00:00
itojun 6a433be509 remove net.inet6.ip6.nd6_proxyall sysctl.
support "ndp -s <ip6> <mac> proxy" for proxy NDP.
2000-02-26 08:48:21 +00:00
mycroft 19b51e87a9 Remove pointless #ifdef. 2000-02-25 17:40:30 +00:00
kleink 7b61131dba Missed in end -> _end cleanup. 2000-02-24 15:37:34 +00:00
itojun 7b48263c7b (rcmd.c) to make Zoularis happier, pass sa_len separately from sockaddrs.
this changes function prototype for __ivalid*.
This commit breaks binary compatibility for __ivalid*.  I believe this can be
forgiven due to the following:
- this is not really exported function.  no function prototype is in headers.
  function name starts with underbars.  No third-party applications are
  expected to use it.
- the function was introduced very recently, when rcmd.c was made IPv6-ready.
- the only customer in NetBSD tree is lpd.

(lpd.c) sync with rcmd.c change.
2000-02-24 06:33:47 +00:00
kleink a379081935 For consistency with all other ports, clear errno in the prologue to the
syscall here as well - while the manual page advises applications to clear
errno themselves their actual behaviour may be questionable, especially in
light of the other ports' implementations.
2000-02-23 20:16:57 +00:00
itojun 73f8a2b760 add freeifaddrs.3 as MLINKS. 2000-02-23 15:44:00 +00:00
itojun 4b9363d8e4 add freeifaddrs(), which reclaims region allocated by getifaddrs().
in sync with kame and bsdi.
2000-02-23 15:29:18 +00:00
itojun 2397ac761e increase shlib minor of libc, for addition of getifaddrs(3). 2000-02-23 07:00:54 +00:00
itojun 6037c7862b add getifaddrs(3) from bsdi4, as mentioned in tech-net (in SIOCGIFCONF
related thread).
this will save future apps from complexity of SIOCGIFCONF.

getifaddrs(3) does not use SIOCGIFCONF internally, it uses sysctl.
2000-02-23 06:57:46 +00:00
augustss 18654c9f8e Handle report IDs a little better (but still not right). 2000-02-22 12:39:22 +00:00
itojun b2da836f1e avoid memory leak on valid FQDN + invalid port name. 2000-02-22 05:47:15 +00:00
mycroft 9ff0891c83 Fix bogons. 2000-02-22 03:28:04 +00:00
mycroft 5256a370bf Do the minimum work to make this compile with -Werror. 2000-02-22 03:14:20 +00:00
mycroft 32d50d3388 Do the minimum work to make this compile with -Werror. 2000-02-22 01:18:28 +00:00
itojun 08f1ee0d30 query NIS hosts.byname only when necessary (= PF_UNSPEC of PF_INET queries). 2000-02-20 17:07:01 +00:00
itojun 503ce101c1 getaddrinfo(3) now obeys nsswitch.conf correctly. 2000-02-20 14:45:34 +00:00
itojun 40e69da142 to honor the search order defined by nsswitch.conf,
getaddrinfo(3) now calls lower-layer resolver functions directly.

XXX code duplicate with gethnamaddr.c/res_search.c - future code
maintenance issue?  Since BIND[89] does not address this issue either at
this moment, switching to BIND[89] does not help.
2000-02-20 14:44:30 +00:00
kleink 4dfa5f1d65 Place inclusion of required headers within multiple-inclusion wrappers. 2000-02-20 13:32:52 +00:00
mycroft d018facbbf A better fix for the stub-in-other-module problem:
Load the address of cerror through the GOT, so we can do a PIC_EPILOGUE and
leave the stack clean.
2000-02-19 21:04:58 +00:00
mycroft 519baa3266 Build a PIC version of this -- but not yet a shlib, due to some obscure lossage
-- so that it can be linked into another shlib as needed.
2000-02-19 18:51:30 +00:00
mycroft 05fc321ebf Fix refresh glitches when using auto-margin. 2000-02-19 09:08:16 +00:00
itojun 1ae287d8f9 fix alignment issue with 64bit arch (packed struct/SIOCGIFCONF).
From: =?iso-8859-1?Q?G=F6ran_Bengtson?= <goeran@cdg.chalmers.se>
2000-02-18 08:26:01 +00:00
itojun 5b36a9108a do not perform sleep() every time we get ECONNREFUSED.
try all the set of addresses before go to sleep() and retry.

not sure if we still need sleep() - retry logic.  why is it so persistent
in connecting?

From: SHIMIZU Ryo <ryo@misakimix.org>
2000-02-18 04:16:54 +00:00
kleink 2a62a2c565 Back out previous: when statically linking executables a warning will be
displayed for the reference through __errno(), which is really wrong.
2000-02-17 21:34:21 +00:00
itojun 823d2a5d81 to synchronize with progress of discussion for post
draft-ietf-ipngwg-scopedaddr-format-00.txt (will be 01),
use "address%interface" notation for extended scoped IPv6 address.

NOTE: the change affects link-local addresses only.  I hope it to be
the final change on it.....
2000-02-17 17:06:17 +00:00
itojun 8829e73e38 preparation to flip extended scoped address syntax.
the specification is still under debate; there is high possibility that
"fe80::1%de0" will be the finalist but i'm not sure yet.
2000-02-16 04:50:23 +00:00
thorpej 25ab915071 Note net.inet.icmp.errratelimit and net.inet.tcp.rstratelimit. 2000-02-15 19:59:02 +00:00
itojun 9d735055cd make it possible to compile it without -DINET6
From: "Castor Fu" <castor@geocast.com>
2000-02-15 18:55:55 +00:00
itojun f126f47f70 in BUGS section, document that it can behave differently from nsswitch.conf(5)
suggests.
NetBSD PR: 9413
2000-02-14 13:06:57 +00:00
kleink 1d34d289cf Arrange for a linker warning to be displayed when the errno datum is accessed
directly; inspired by a conversation with Havard Eidnes.
2000-02-13 21:13:01 +00:00
mjl 6be4d2a451 Mention the LOGIN_SETENV flag for setusercontext() 2000-02-13 01:10:19 +00:00
mjl b562264ae1 Add a missing free() of a temporary buffer.
Add "unlimited" as synonym for "inf" and "infinity" for the
benefit of FreeBSD users.
Factor out the comparison w/ "infinity" in a isinfinite() function.
2000-02-10 20:52:54 +00:00
itojun b3092550ea sa_len was not properly set due to autoconf #ifdef.
(mistake in yesterday's upgrade)
2000-02-10 03:06:53 +00:00
kristerw 33c172d1c1 Const poisoning of dladdr (so that things build after the dlfcn.h change) 2000-02-09 22:41:53 +00:00
itojun 34a6354b59 revise extended scoped address format support. delimiter and the order
is changed, based on discussion in ipngwg scoped address cabal.
past code:	fe80::1@de0
now:		de0%fe80::1
this will be in sync with next extended address format proposal
(which should be final - I don't want to make this kind of change again).
2000-02-09 12:25:06 +00:00
itojun ed74ec1491 add missing manpage, gethostbyname2(3). 2000-02-09 12:23:55 +00:00
scottb 076e309d3e change first argument of dladdr to const. 2000-02-08 16:22:59 +00:00
itojun 667dbda449 use proper include path (net/pfkeyv2.h) 2000-02-08 13:17:51 +00:00
itojun 28dacfc3da don't include in6.h directly. 2000-02-08 13:14:35 +00:00
scottb c0cf420b69 add hooks to support the dladdr function. 2000-02-07 21:40:40 +00:00
itojun cf02e1f1ce fix behavior of inet_pton() to be RFC2553/XNS compliant.
inet_pton() takes decimal dot-quads only.  inet_pton() does not
take hexadecimal, octal nor classful (short) representation.
2000-02-07 18:51:02 +00:00
jdolecek a7986a820b change the German translation of SIGPWR description, as per lib/9277 2000-02-07 13:33:04 +00:00
kleink b94df6841c (Re-)use the assembly version for labs() as well. 2000-02-06 13:14:51 +00:00
fair bf004f04e9 Document KERN_LOGSIGEXIT.
sort sysctl variable list in sysctl.8
2000-02-06 07:31:23 +00:00
kleink b9d73b3129 Implement *__errno() redirection, with help from Matt Thomas. 2000-02-05 21:02:51 +00:00
jdc b646eea64f Add libahdi entry. 2000-02-05 20:57:13 +00:00