John Baldwin
76b501da94
Update sysinstall to use struct uc_device instead of struct isa_device
...
for generating /boot/kernel.conf. Since this structure is shared, move
its definition out to a header file, just as struct isa_device was defined
in a header file. This fixes the sysinstall breakage in -current.
2000-03-24 22:24:09 +00:00
Ruslan Ermilov
9e77ff8964
A little more cosmetics.
2000-03-24 08:36:39 +00:00
Mike Pritchard
69bd852dd0
Some minor mdoc style and spelling fixes.
2000-03-24 02:05:54 +00:00
Mike Pritchard
67839fc400
Fix some spelling errors.
2000-03-24 01:27:35 +00:00
Ruslan Ermilov
0d01211b3a
Remove redundant SRCS.
2000-03-23 16:41:45 +00:00
Ruslan Ermilov
a1bcd53e5d
A bit of cleanup.
2000-03-23 16:40:42 +00:00
Ruslan Ermilov
4049dbb5fc
"can received" -> "can receive".
2000-03-22 16:07:32 +00:00
Brian Somers
5a83ad1eb1
Correct the parent notification diagnostic emitted from the child
...
process in -background mode (it should report failure if appropriate).
2000-03-22 03:02:01 +00:00
Brian Somers
5a8b6a98df
If a links LCP FSM has reached TLF and it's the last link,
...
don't bother to re-initialise the NCPs. Instead wait for
bundle_LinkClosed() to be called - IFF it actually is called.
By initialising the NCPs at this point, ppp was recursing
back into the fsm_Down() routing for the link, and losing
track of the reason that the link was being brought down.
The end result was that ``set reconnect'' would never do
anything.
Patiently pointed out by: ru
2000-03-22 03:02:00 +00:00
Brian Somers
4b567bf209
Don't bother setting the dial timer if we've closed a
...
background/foreground/direct and zero'd the redial/reconnect
counts.
2000-03-22 03:01:56 +00:00
Brian Somers
3ce91245fc
Do some vfork() trickery so that the parent can determine
...
if the childs exec() has succeeded or failed by taking advantage
of the fact that both processes share the same memory.
FWIW:
I tried to implement this by doing a pipe(), setting the
write desciptors close-on-exec flag in the child and writing
errno to the descriptor if the exec() fails. The parent can
then ``if (read()) got errno else exec worked''.
This didn't work though - the child could write() to fd[1] on
exec failure, but the parent got 0 trying to read() from fd[0] !
Is this a bug in execve() ?
2000-03-22 03:01:53 +00:00
Brian Somers
0cd8e9020a
Call bundle_CleanDatalinks() after UpdateSet() in case we're
...
dropping out of background/foreground/direct mode.
This avoids either having to wait for the redial timer before
exiting or jaming up in select() waiting for something that'll
never happen.
2000-03-22 03:01:48 +00:00
Brian Feldman
2e61f987ad
Make memcontrol(8) able to delete the segments starting at a base of 0
...
which it can create..
2000-03-20 22:53:32 +00:00
Sheldon Hearn
c1765799d9
Fix a typo inherited from the HTML documentation:
...
assocation -> association
PR: 17501
Submitted by: Yoshihiko SARUMARU <mistral@imasy.org>
2000-03-20 12:06:18 +00:00
Sheldon Hearn
c214a2ec9a
Replace erroneous use of Ic (internal command) with the intended
...
It (list item) and remove a duplicated list entry obscured by this
mistake.
PR: 17500
Submitted by: Yoshihiko SARUMARU <mistral@imasy.org>
2000-03-20 11:51:05 +00:00
Kazutaka YOKOTA
44bdcfa638
- This is the second attempt to fix the `-3' option for moused :-)
...
It also adds a new option, `-E', to set the timeout value for
the three button emulation.
2000-03-20 10:40:44 +00:00
Kazutaka YOKOTA
d65ffe4a1f
Add Mitsumi Wireless Scroll Mouse PnP ID.
2000-03-20 08:11:11 +00:00
Brian Somers
a1f961d3a3
Add some diagnostics to prove that incoming IP fragments are
...
being dealt with correctly.
2000-03-19 12:37:27 +00:00
Jordan K. Hubbard
1d34c9e917
Sigh, it would have been nice but I just can't make the rsaref
...
hack work until we figure out some better way of handling package
interaction.
2000-03-18 20:14:58 +00:00
Kazutaka YOKOTA
fb96634340
- Add support for IntelliMouse Explorer, NetScroll Optical, SmartScroll,
...
Scroll Point, and 4D/4D+ mice.
- Add a couple of serial mouse PnP IDs.
- Extend the `-z' option so that the second wheel (or the horizontal
movement of the `scroll' device) can be mapped to buttons.
2000-03-18 15:23:21 +00:00
Jordan K. Hubbard
54dd58b383
We still need a hack for rsaref package; add it. This doesn't
...
affect CDs since they don't contain the rsaref package anyway.
2000-03-18 08:46:23 +00:00
Jordan K. Hubbard
82b13696f8
Sigh, when the DIST_LOCAL thing was added, it unfortunately wasn't added
...
completely. Take out another gratuitous warning which is omitted when
All is selected and local dist does not exist.
2000-03-18 08:40:39 +00:00
Jordan K. Hubbard
553cdb6fbd
Update to match current reality (not that anyone reads these anyway :)
2000-03-18 08:06:16 +00:00
Jordan K. Hubbard
cce91055e5
Make the "can't find an rsafoo package" messages more informative.
2000-03-18 07:20:50 +00:00
Chris Piazza
16a92d4304
Update the australian ntp server, the old one is no longer
...
available.
PR: 17448
Submitted by: Chris Knight <chris@aims.com.au>
2000-03-18 02:53:41 +00:00
Brian Somers
311a9da249
Move a comment to make things a bit more readable.
...
Suggested by: sheldonh
Forgotten by: me
2000-03-16 16:28:27 +00:00
Andrey A. Chernov
6555de4811
Add Tremon Wheel PNP mouse
2000-03-15 16:46:12 +00:00
Sheldon Hearn
8d548e1f88
Do not preserve UIDs, permissions nor flags of package system files in
...
tar files. This fixes clean-up problems during package creation and
does not affect the actual files to be included in the package.
The fix submitted on the attributed PR was identical to the one
obtained from NetBSD.
PR: 17386
Reported by: Adrian Filipi-Martin <adrian@ubergeeks.com>
Obtained from: NetBSD
2000-03-15 09:18:12 +00:00
Brian Somers
2793563fc4
Increase bit fields to allow for new values
2000-03-14 20:11:45 +00:00
Brian Somers
959d90ef1d
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 Somers
a60f44db18
Understand -DNOINET6
2000-03-14 19:33:13 +00:00
Yoshinobu Inoue
824e77d792
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
Sheldon Hearn
c3e1da6b96
Revive rev 1.12 (NetBSD improvements including @ shortcuts).
2000-03-14 14:51:55 +00:00
Mark Newton
545dccdc92
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
Mark Newton
44dfd6a858
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
Sheldon Hearn
b3d642a00a
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
Brian Somers
2a30e2ac0b
Understand environment variables in commands
...
Submitted by: Mark Knight <markk@knigma.org>
2000-03-14 01:47:31 +00:00
Brian Somers
d568d6c405
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 Somers
574a3ffd78
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 Somers
209dc10239
Fix some printf-style argument bugs
2000-03-14 01:47:19 +00:00
Brian Somers
ceecaea3de
Fix some typos
...
Obtained from: OpenBSD
2000-03-14 01:47:13 +00:00
Brian Somers
499640f195
Adjust whitespace
2000-03-14 01:47:11 +00:00
Brian Somers
b9fa960d93
Don't include netinet6/in6.h directly.
2000-03-14 01:47:09 +00:00
Brian Somers
8e7bd08ea4
Correct some typos introduced in the descriptor -> fdescriptor change.
2000-03-14 01:47:07 +00:00
Brian Somers
10e629b937
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 Somers
f84f2c0057
Correct UN_SIZE definition
...
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-03-14 01:46:58 +00:00
Brian Somers
24731321e6
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 Somers
d6d3eeab46
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 Somers
52c9ca1968
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 Somers
6b4579784c
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