61609 Commits

Author SHA1 Message Date
christos
cce4e6d1e6 add a usec_fudge to make sure that time increases monotonically.
printf format changes.
2000-03-02 20:59:40 +00:00
christos
d1c10b4cd1 add a comment on about how tracing is secured, but still keep it disabled. 2000-03-02 20:58:55 +00:00
christos
59fd2f8be8 remove the once hack; vjs says it is not necessary with the monotonic
time kludge. We'll see.
2000-03-02 20:57:42 +00:00
kleink
1e57dbd85e Minor style nit. 2000-03-02 18:29:01 +00:00
kleink
76073cb333 Include <sys/param.h> for MAXHOSTNAMELEN. 2000-03-02 18:22:31 +00:00
kleink
f48d30b904 POSIX.2: Ignore a null PAGER as well. 2000-03-02 18:19:06 +00:00
itojun
97cd11ff66 need string.h for prototype of memset(). fixes build breakage on alpha.
From: Tim Rightnour <root@garbled.net>
2000-03-02 18:08:44 +00:00
christos
7ccd2afae9 Teach the socket code a few things about this decade (should fix the
problem where COMPAT_43 was required for it to work)
2000-03-02 17:37:46 +00:00
hubertf
73fb745b9f Only setenv SHELL if it isn't already set. Makes life easier (and less
confusing) for tcsh users.

Reported by Reinoud Koornstra <Reinoud.Koornstra@ibbnet.org> in private
mail.
2000-03-02 16:21:44 +00:00
augustss
2dda67d4a2 Fix typo in argument to ratecheck(). 2000-03-02 15:49:29 +00:00
enami
0c23f966e9 Fix .Nm usage. 2000-03-02 13:27:53 +00:00
augustss
d6c4ac7ff2 Use ratecheck() to limit error messages on disconnect.
Break out some common functionality.
2000-03-02 12:37:50 +00:00
enami
e924f6f853 Minor cleanups. 2000-03-02 10:29:22 +00:00
itojun
d7e8edfdcd configure ::1 to loopback dstaddr.
honor ifa_refcnt when configuring loopback.
2000-03-02 09:45:01 +00:00
lukem
d56d7ced69 major overhaul:
* require ANSI not K&R for prototypes, stdargs, etc
* document current practice for
	- rcsids & copyright
	- header file inclusion protection
	- expressions, and multi-statement macros
	- enum & struct decls
	- empty and large statements
	- wrapping long lines, prototypes, function decls
2000-03-02 08:51:54 +00:00
lukem
192c515bf1 change from -di8 to -di0 (the indentation, in character positions, from a
declaration keyword to the following identifier)
2000-03-02 08:48:07 +00:00
itojun
9c971f7c4d typo fix (s/Ridirect/Redirect/) 2000-03-02 07:43:32 +00:00
itojun
2dc247fc34 make CMSG_ALIGN always synchronize with kernel's idea of ALIGNBYTES.
ancillary data alignment will be ALIGNBYTES, not sizeof(long) - 1, from now.

CMSG_xx will NOT resolve into constant.  if you use CMSG_xx to allocate
arrays, you'll lose.

bump shlib minor for libc.

NOTE: if you are on top of arch with ALIGNBYTES != sizeof(long) - 1,
you need to recompile IPv6-related binaries.  there is no way to guarantee
backward compat in this aspect.  sorry for this.  this should be the last
backward compat breakage for IPv6-related ancillary data manipulation.
(we still have PR 9516 for unix-domain sockets...)
2000-03-02 07:41:49 +00:00
itojun
52c11b789a bump kame revision id 2000-03-02 07:15:39 +00:00
itojun
36649fea92 don't configure ifa_dstaddr for non-pointopoint interface,
so that we won't be returning them from routing socket manipulation.
2000-03-02 07:14:52 +00:00
itojun
ded4e9540a properly handle notifies from icmp6, so that we can properly reflect
redirects/unreach to transport layer. (sync with latest kame)
2000-03-02 06:42:52 +00:00
thorpej
754bba7b6c Avoid a bug in GCC which manifests itself when processing unaligned
IP options.  Problem pointed out by Matt Hargett and Erik Fair, analyzed
by me.
2000-03-02 06:07:36 +00:00
enami
48721f291a Fix typo and thinko in previous commit. 2000-03-02 05:54:22 +00:00
enami
027db8bf87 Add ifmedia support so that dhcp happy. Also, add nwid support. 2000-03-02 05:00:47 +00:00
enami
a5921b902e Check if device is active in the interrupt handler and the one second
tick handler.
2000-03-02 01:21:56 +00:00
thorpej
285a315e99 Simplify the winlist code. 2000-03-01 23:40:26 +00:00
hubertf
4de7a614c7 Fix wrong reference to trek documentation
Submitted in PR bin/9514 by Thilo.Manske@HEH.Uni-Oldenburg.DE
2000-03-01 23:38:51 +00:00
thorpej
ac1b683642 Amend previous; pay attention to EX_CONF_MII on deactivate, too. 2000-03-01 20:53:11 +00:00
thorpej
448dfa4249 Only detach PHYs if we have MII in the first place, and remove a bunch
of #if 0'd code which was copied from the Tulip driver.
2000-03-01 20:51:50 +00:00
thorpej
54e0e80815 Cosmetic change. 2000-03-01 20:50:56 +00:00
thorpej
08483fcddc When unmapping these on detach, pass the BAR to unmap (not the type of
the BAR!!)
2000-03-01 20:50:37 +00:00
groo
97be07a6c4 Remove probe/attach for PNP0C02. There are reserved motherboard regions.
Thanks to Adam Glass for catching this.
2000-03-01 20:24:53 +00:00
groo
866ee72838 Add pnpbios_io_unmap 2000-03-01 20:23:55 +00:00
groo
96c9002613 Remove pnpbios attach from synopsis
Note there are no known pnpbios ids for lm chips
2000-03-01 20:12:45 +00:00
christos
9e721e2455 Don't use grep to find if we have fdesc mounted. case is faster and
works without having /usr mounted.
2000-03-01 19:03:17 +00:00
augustss
3218dd992d Protect the use of bpf_mtap so bpf isn't needed.
aue: Limit the number of error messages at disconnect by using ratecheck().
2000-03-01 19:00:51 +00:00
thorpej
7d57276982 Do partial lazy I-stream sync -- in the pmap_enter()/pmap_remove() cases
for now.  More to come.
2000-03-01 18:29:04 +00:00
joda
89c2906ea5 explicitly allow writable directories when rebuilding the alias
database, otherwise this will fail if any directory in ${DESTDIR} is
g+w.
2000-03-01 16:48:35 +00:00
hubertf
c8057468ec fix typo: he -> the 2000-03-01 16:45:22 +00:00
hubertf
2336090e01 fix typo: legaty -> legacy 2000-03-01 16:28:34 +00:00
itojun
8f2f22b47c increase kernel version to 1.4U (5 more to 1.4Z!) 2000-03-01 12:52:11 +00:00
itojun
04ac848d6f introduce m->m_pkthdr.aux to hold random data which needs to be passed
between protocol handlers.

ipsec socket pointers, ipsec decryption/auth information, tunnel
decapsulation information are in my mind - there can be several other usage.
at this moment, we use this for ipsec socket pointer passing.  this will
avoid reuse of m->m_pkthdr.rcvif in ipsec code.

due to the change, MHLEN will be decreased by sizeof(void *) - for example,
for i386, MHLEN was 100 bytes, but is now 96 bytes.
we may want to increase MSIZE from 128 to 256 for some of our architectures.

take caution if you use it for keeping some data item for long period
of time - use extra caution on M_PREPEND() or m_adj(), as they may result
in loss of m->m_pkthdr.aux pointer (and mbuf leak).

this will bump kernel version.

(as discussed in tech-net, tested in kame tree)
2000-03-01 12:49:27 +00:00
joda
d8c128f4a5 use NULL 2000-03-01 12:46:36 +00:00
itojun
627898817e sync with etc/namedb change (IPv6 loopback reverse database file) 2000-03-01 11:21:13 +00:00
itojun
ca7ee807d5 change filename for IPv6 loopback address (::1).
many found it ugly, and I found that I've made a mistake in old name.
there needs to be 4 more "0"s!

this commit renames
etc/namedb/0000:0000:0000:0000:0000:0000:000 into etc/namedb/loopback.v6.
(based on recent discussion I did not use cvsmove)
2000-03-01 11:06:27 +00:00
itojun
548cc318ca do not try to use BIND4 code in libc.
dig/host/whatever assumes that it is using BIND8 code.  mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.

it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.

now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
  to make it less complex.  the search order for BIND8 toolchain is
  defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00
enami
13d92f98ce Remove unnecessary asterisk in comment (probably it was comment leader of
multiline comment).
2000-03-01 03:51:29 +00:00
enami
543db3a000 Cosmetic changes. 2000-03-01 03:50:04 +00:00
itojun
94e731e9d2 fix "ip host foo" or "ip6 host foo" where foo has
both A and AAAA.  fix from Bill Fenner, FreeBSD PR: 17083.
2000-03-01 03:47:48 +00:00
enami
6059f8bc37 Fix typo. 2000-03-01 03:32:55 +00:00