shin
288c5bf6e8
Wording fixes and mdoc fixes.
...
Submitted by: sheldonh
Reviewed by: sheldonh
2000-03-15 03:38:22 +00:00
shin
099b4f9e01
Backout previous changes. The period at the end is correct,
...
when it is the last of the sentences.
Specified by: mpp, sheldonh
2000-03-15 03:33:30 +00:00
green
00e431ccd7
I _HATE_ crashes. The lptread() call needs to check LP_BYPASS, because
...
if one tries to use read() on an LP_BYPASS'd dev_t, the softc will be
initialized mainly with NULLs, so...
2000-03-15 03:23:04 +00:00
dcs
a18025220f
Pass an unit number to bcache_strategy, so it can flush the cache when
...
necessary. Pass an absolute block number too, instead of receiving a
relative one in realstrategy(), as bcache_strategy() requires this.
The fix is sligthly different from the one in the PR.
PR: 17098
Submitted by: John Hood <jhood@sitaranetworks.com>
2000-03-15 01:58:45 +00:00
dcs
24a0d62243
bcache_strategy() now receives an unit number, and keep track of what
...
was the last unit number received. If it changes, it flushes the cache.
Add bcache_flash().
The actual fix is sligthly different from the one in the PR.
PR: 17098
Submitted by: John Hood <jhood@sitaranetworks.com>
2000-03-15 01:56:12 +00:00
dcs
0edaa7aeae
Pass unit number to bcache_strategy(), so that the cache can be
...
flushed if the unit changes. Compute the absolute offset before
bcache_strategy() instead of after.
The actual fix is sligthly different for the one in the PR.
PR: 17098
Submitted by: John Hood <jhood@sitaranetworks.com>
2000-03-15 01:53:34 +00:00
archie
a31736f356
Identify timezone data files by their ``TZif'' magic number.
...
Add $FreeBSD$ tag.
2000-03-14 21:28:22 +00:00
archie
9318af6813
Have MGETHDR() always initialize m->m_pkthdr.rcvif to NULL.
...
In the past, not doing this has caused several hard to find
networking bugs, and the minor slowdown is deemed worthwhile.
Reviewed by: wollman
2000-03-14 20:49:27 +00:00
brian
e7643a6c06
Increase bit fields to allow for new values
2000-03-14 20:11:45 +00:00
brian
5f910a271b
ppps -> ppp's; suggested by sheldonh
...
.Nm ppp -> .Nm; overlooked by me
Microsofts -> Microsoft's; OpenBSD
2000-03-14 20:04:32 +00:00
brian
a6c570880d
Understand -DNOINET6
2000-03-14 19:33:13 +00:00
shin
296524942d
When unexpected rtmsg was received, route6d was dying.
...
So change it just to log it.
(Merge from recent KAME bug fix.)
Submitted by: itojun
Obtained from: KAME project
2000-03-14 18:17:55 +00:00
shin
d509b238de
Use CMSG_LEN() to compute ping SCM_TIMESTAMP cmsg_len.
...
Without this, cmsg_len size should be smaller than necessary on alpha.
(Though, no obvious error was seen on ping time value on beast.)
2000-03-14 17:37:19 +00:00
asmodai
6b6b811e62
Remove further vestiges of wd.
...
Submitted by: sos
2000-03-14 17:21:17 +00:00
shin
a6a887a7e3
Don't suppress Flags and Refs info for IPv4 entries.
...
(They need to be suppressed by default for IPv6 entries to keep the column
size of each entries in 80.)
2000-03-14 17:18:43 +00:00
asmodai
daf0d5fb12
Get rid of wdc.
...
Submitted by: Damieon Stark <visigoth@telemere.net>
2000-03-14 17:01:03 +00:00
sos
ee4ed33de0
Fix the spelling, and some minor tweaks on the ata device...
2000-03-14 16:47:59 +00:00
kuriyama
8a75c162dc
Print "previous type" correctly when INVARIANTS is defined.
...
Reviewed by: current@FreeBSD.org
2000-03-14 14:58:04 +00:00
sheldonh
4cca06398e
Revive rev 1.12 (NetBSD improvements including @ shortcuts).
2000-03-14 14:51:55 +00:00
newton
9c8660d95b
Un-botch my botched reduction in permitted characters in the permitted
...
username check which resulted from my attempt to expand them.
PR: bin/17372
Reviewed by: sheldonh
2000-03-14 14:27:34 +00:00
bde
33e9ba0226
Don't try so hard to make the lower 16 bits of fsids unique. It tended
...
to recycle full fsids after only 16 mount/unmount's. This is probably
too often for exported fsids. Now we recycle the full fsids only
after 2^16 mount/ umount's and only ensure uniqueness in the lower 16
bits if there have been <= 256 calls to vfs_getnewfsid() since the
system started.
2000-03-14 14:19:49 +00:00
newton
c379f94f99
Fix the case where username validity test would incorrectly fail if
...
the specified username contained uppercase alphabetics.
PR: bin/17372
2000-03-14 14:19:17 +00:00
ru
f28f5915b4
Fix reporting of src and dst IP addresses for ICMP and generic IP packets.
...
PR: 17319
Submitted by: Mike Heffner <spock@techfour.net>
2000-03-14 14:11:53 +00:00
asmodai
ee02aafa72
Remove wd entries.
...
Reviewed by: sos
Approved by: sos, phk, peter
2000-03-14 13:23:10 +00:00
asmodai
4d3ef3f855
Remove the wd driver from the i386 kernel options.
2000-03-14 13:18:14 +00:00
asmodai
161500f27a
Remove unused options.
...
Reviewed by: sos
Approved by: sos, phk, peter
2000-03-14 12:55:23 +00:00
sheldonh
806626f23f
Cope with quotation marks around font names in /etc/rc.conf .
...
PR: 17330
Reported by: Anatoly Vorobey <mellon@pobox.com>
2000-03-14 09:28:00 +00:00
sheldonh
7ce39dc45d
Open the device read-only initially and re-open read-write if necessary
...
later. This allows tunefs -p on mounted filesystems.
Side-effects:
Use K&R prototypes.
Use definitions from fcntl.h for the flags argument to open(2).
There are cosmetic differences between this and the submitted patch.
PR: 17143
Reported by: Peter Edwards <peter.edwards@ireland.com>
Submitted by: luoqi
2000-03-14 07:44:32 +00:00
brian
583da493d5
Understand environment variables in commands
...
Submitted by: Mark Knight <markk@knigma.org>
2000-03-14 01:47:31 +00:00
brian
1bc8ab9f4f
Add the ``resolv'' command for telling ppp how to deal with resolv.conf.
...
You can now ``resolv restore'' in ppp.linkdown !
Add DNS0 and DNS1 macros.
2000-03-14 01:47:27 +00:00
brian
041ec329dc
Refresh the NAT IP pointer after a potential mbuf reallocation. This
...
caused frequent lock-ups for individual sessions over a NAT'd ppp link
when MTU sizes ended up more or less exactly wrong.
2000-03-14 01:47:21 +00:00
brian
19ff2ab337
Fix some printf-style argument bugs
2000-03-14 01:47:19 +00:00
brian
84a11d130e
Fix some typos
...
Obtained from: OpenBSD
2000-03-14 01:47:13 +00:00
brian
621cd25162
Adjust whitespace
2000-03-14 01:47:11 +00:00
brian
e9ef0032ae
Don't include netinet6/in6.h directly.
2000-03-14 01:47:09 +00:00
brian
11898ff77c
Correct some typos introduced in the descriptor -> fdescriptor change.
2000-03-14 01:47:07 +00:00
brian
be63b17232
Introduce LOCALNAT and LOCALRAD defines so that the sources can stay
...
exactly the same in FreeBSD & OpenBSD despite libalias and libradius
being local to the ppp sources under OpenBSD.
2000-03-14 01:47:02 +00:00
brian
948b95cdbb
Correct UN_SIZE definition
...
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-03-14 01:46:58 +00:00
brian
1afd290619
Don't ``break'' when we come accross a non-RTM_IFINFO type
...
entry in the block returned by the NET_RT_IFLIST mib,
``continue''
Broken a few minutes ago by: me
2000-03-14 01:46:56 +00:00
brian
c905df5091
When ppp can't identify the relevant name, don't use "???", use
...
<nnn> or <0xxxx> instead.
2000-03-14 01:46:54 +00:00
brian
3b65c00f32
Add ``set log dns'' to log DNS QUERY packets.
...
This is invaluable for dial-on-demand connections...
In ppp.linkup:
set log -dns -tcp/ip
and in ppp.linkdown
set log +dns +tcp/ip
giving a much better account of why the link came up.
2000-03-14 01:46:49 +00:00
brian
a69e155f87
The interface list that comes back from the PF_ROUTE/NET_RT_IFLIST mib
...
is aligned. Teach this to ``show route''.
Clean up some of the sockaddr parsing routines.
2000-03-14 01:46:44 +00:00
brian
ca63a8dc14
Support IP6 addresses in ``show route''
...
Also, don't try to output routing entries if either the
RTA_DST or RTA_GATEWAY sockaddrs aren't present.
2000-03-14 01:46:38 +00:00
brian
56e902f033
When adjusting timer::rest, round to the closest TICKUNIT usecs
...
value.
This has minimal impact here, but if ppp ever needs to frequently
remove timers before they've timed out, it can badly skew the next
item in the timer list without this change.
The correct fix would be to store usecs in `rest' rather than
TICKUNITs, but the math is easier if we just round...
2000-03-14 01:46:34 +00:00
brian
1fa2af66ed
When we stop a timer that's the first in the timer list, ensure
...
that we adjust that timers `rest' value (with the current getitimer()
values) before using that to adjust the next items `rest' value.
After adjusting that value, restart the timer service so that we've
now got the correct setitimer() values.
2000-03-14 01:46:31 +00:00
brian
9c5b52bb1f
To avoid namespace polution in NetBSD:
...
``struct descriptor'' -> ``struct fdescriptor''
2000-03-14 01:46:09 +00:00
bsd
fe41605fe0
In 'ipcperm()', only call 'suser()' if it is actually required.
...
Previously, it was being called whether it was needed or not and the
ASU flag was being set (as a side affect of calling 'suser()') in
cases where superuser privileges were not actually needed. This was
all pointed out to me by Bruce Evans.
Reviewed by: bde
2000-03-13 23:00:08 +00:00
kris
6dfbd9470d
Test for existence of secure/, not crypto/ for consistency
...
Submitted by: jhay
2000-03-13 21:38:10 +00:00
kris
ddbe907774
Fix world with -DNOCRYPT, hopefully fix release for non-crypto collection.
...
Reported by: Jason Garman <jgarman@wedgie.org>
Feedback by: bde, Bob Bishop <rb@gid.co.uk>, jhay
2000-03-13 21:35:30 +00:00
dcs
55e41c3f5b
Rescan the SCSI bus of just-added aic devices, so they can be used
...
during installation.
2000-03-13 20:41:29 +00:00