Bruce A. Mah [Fri, 28 Dec 2001 17:21:28 +0000 (17:21 +0000)]
Modify the release-building process so the srelease distribution
doesn't get spammed by RELNOTESng files.
Previously, we built the RELNOTESng files "in place" and then
populated the media (e.g. floppy, cdrom, ftp) areas from the build
directories. However, the distributions got rolled after the
RELNOTESng build, and thus picked up the rendered RELNOTESng files.
Now, we install the RELNOTESng documents to R/stage/release.doc, then
clean out the original directories in src/release/doc. We use the
renditions in the staging area to populate the media areas.
Joerg Wunsch [Fri, 28 Dec 2001 15:59:54 +0000 (15:59 +0000)]
Implement timestamps so i4b/driver/i4b_isppp.c can derive the idle
time from the PPP packets sent. This effectively merges rev 1.2 of
the old i4b_ispppsubr.c, with the exception that i eventually ended up
in debugging and fixing it so the idle time is now really
detected. ;-) (The version in i4b simply doesn't work right since it
still accounts for incoming LCP echo packets which it is supposed to
ignore for idle time considerations...)
Joerg Wunsch [Thu, 27 Dec 2001 22:38:50 +0000 (22:38 +0000)]
Break out the relevant fields from struct sppp into a struct
sppp_parms that are needed for the SPPPIO[GS]DEFS ioctl commands.
This allows it to keep struct sppp inside #ifdef _KERNEL (where it
belongs), and prevents userland programs that wish to include
<net/if_sppp.h> from including the earth, the hell, and the universe
before the are able to resolve all the kernel-internal stuff that's in
struct sppp.
Joerg Wunsch [Thu, 27 Dec 2001 21:20:05 +0000 (21:20 +0000)]
Make the LCP restart timer configurable.
This (effectively) merges rev 1.36 of i4b's old if_spppsubr.c, albeit
in a slightly different manner (we export the timer in millisecond
values as exposed to tick values from/to userland).
Joerg Wunsch [Thu, 27 Dec 2001 16:49:31 +0000 (16:49 +0000)]
Implement VJ header compression for sppp.
This is the logical merge of rev 1.32 of i4b's old if_spppsubr.c (which
was based on PR misc/11767), plus (i4b) rev 1.6 of i4b's if_ispppsubr.c,
albeit with numerous stylistic and cosmetic changes.
Sheldon Hearn [Thu, 27 Dec 2001 13:41:27 +0000 (13:41 +0000)]
Re-introduce the fix that delays mounting of network filesystems until
the network is initialized. This was first implemented in rev 1.268
of src/etc/rc, but was backed out at wollman's request.
The objection was that the right place for the fix is in mount(8).
Having looked at that problem, I find it hard to believe that
the hoops one would have to jump through can be justified by the
desire for purity alone.
Note that there are reported issues surrounding nfsclient kernel
support and mount_nfs(8), which currently make NFS an ugly exception
to the general case.
With this change, systems with non-NFS network filesystems configured
for mounting on startup in /etc/fstab are no longer guaranteed to
fail on startup.
Luigi Rizzo [Thu, 27 Dec 2001 05:40:09 +0000 (05:40 +0000)]
Remove a stale entry related to passing ARP with bridging and ipfw.
This feature has been removed since 4.1 times and it is only a source
of confusion.
Warner Losh [Thu, 27 Dec 2001 02:12:32 +0000 (02:12 +0000)]
Some new cards:
o uncommnent joy stuff (me)
o Add BONDWELL B236 joystick card (me)
o Add Buffalo WLI-CF-S11G wi card (me)
o CNF CD-m (submitted by gda)
Joerg Wunsch [Wed, 26 Dec 2001 22:36:59 +0000 (22:36 +0000)]
Don't log RXJ+ protocol rejects unless we are in debug mode. (RXJ-
events are always logged.) This stops sppp from spamming the syslog
files in case the remote peer is not configured to negotiate IPv6.
Joerg Wunsch [Wed, 26 Dec 2001 22:35:10 +0000 (22:35 +0000)]
Fix some pseudo-enumeration constants in the IPv6 implementation so
they are unique and thus actually usable as flagbits. I wonder how
it even worked so far...
Joerg Wunsch [Wed, 26 Dec 2001 22:00:13 +0000 (22:00 +0000)]
Ignore (and silently conf-ack) conf-reqs for an Async-Control-
Character-Map. RFC 1662 demands it for the sake of async to sync
PPP protocol converters (like Win9* :).
This merges rev 1.26/1.27 of the old i4b sppp changes.
Hajimu UMEMOTO [Wed, 26 Dec 2001 21:21:10 +0000 (21:21 +0000)]
- Make it possible to turn on RES_INSECURE[12] with /etc/resolv.conf.
- Don't connect datagram socket if RES_INSECURE1.
- Needed to implement IPv6 anycast UDP DNS queries as documented in
<draft-ietf-ipngwg-dns-discovery-03.txt>.
Joerg Wunsch [Wed, 26 Dec 2001 20:28:41 +0000 (20:28 +0000)]
For SIOCSIFADDR, don't call if_up() since it would attempt to add the
route to the destination twice. Now that brian has fixed route.c to no
longer accept this second route, this long-standing nuisance became a
showstopper bug for sppp users.
In retrospect, this is the same fix as the one in rev 1.78 of if_sl.c;
most likely the original version of sppp has been cloned from SLIP. ;-)
Robert Watson [Wed, 26 Dec 2001 17:18:39 +0000 (17:18 +0000)]
o Add a comment indicating that if /tmp==/var/tmp in rc.diskless2, the
md device and file system creation occurs *after* mtree is run, and
as such an /var/tmp/* or /tmp/* entries will be under the mountpoint
(or fail) rather than appearing in the md filesystems. This prevents
the creation of vi.recover, and might affect other localizations that
rely on the mtree calls affecting these directories.
Robert Watson [Wed, 26 Dec 2001 17:00:55 +0000 (17:00 +0000)]
Remove incorrect comments about the population of /etc: no attempt is
made to copy the NFS-mounted on to /tmp/etc, instead, it is populated
entirely from /conf/default, then overriden from /conf/IP.
Joerg Wunsch [Tue, 25 Dec 2001 21:21:18 +0000 (21:21 +0000)]
Second round of floppy disk driver documentation updates: document the
changes in the userland utilities. For fdcontrol(8), i now finally
keep my promise made more than 7 years ago that ``the fdcontrol
utility is currently under development and the user interface will
likely change''. :-)
According to C99:
"The functions atof, atoi, atol, and atoll need not
affect the value of the integer expression errno on an
error. If the value of the result cannot be represented,
the behavior is undefined."
Robert Watson [Mon, 24 Dec 2001 20:18:45 +0000 (20:18 +0000)]
o sysctl.conf cannot be used to set sysctls that are present in
unloaded kernel modules. Remove the example linux compat sysctls
because they break if the linux emulator is loaded as a module, rather
than compiled in. Add a BUGS entry indicating as much.
Reported by: jack <jack@germanium.xtalwind.net>
MFC after: 3 days
Bosko Milekic [Sun, 23 Dec 2001 22:04:08 +0000 (22:04 +0000)]
On the first day of Christmas bde gave to me:
A [hopefully] conforming style(9) revamp of mb_alloc and related code.
(This was possible due to bde's remarkable patience.)
Submitted by: (in large part) bde
Reviewed by: (the other part) bde