Commit Graph

70021 Commits

Author SHA1 Message Date
itojun cb4931c8e7 repair cut-and-paste bug. from: francis dupont. sync with kame 2000-09-20 23:35:51 +00:00
itojun d2c6420404 do not inject empty mbuf to zlib. 2000-09-20 23:35:16 +00:00
fvdl 76e330bdb3 Fix typo. 2000-09-20 22:59:44 +00:00
itojun 3ad679d8fd call {de,in}flateEnd on failure, otherwise obsolete state will be kept. 2000-09-20 22:34:24 +00:00
gmcgarry 69a9911e49 Fix spelling. 2000-09-20 22:08:01 +00:00
itojun ffb333a57c plug mbuf leak (error case). need more investigation. 2000-09-20 21:43:52 +00:00
hubertf d2c5531d61 Remove some stale debug code, OK'd by itojun 2000-09-20 21:28:51 +00:00
hubertf 10384ae3ba Doesn't it make you nervous to see a "lastchance" warning, telling you
that "your hard disk" is about to get nuked, and you are no longer sure
which of your ten disks you told sysinst to wipe?

Change this to tell you:
``Ok, we are now ready to install NetBSD on your hard disk (wd0). Nothing ...''
2000-09-20 21:21:14 +00:00
itojun 6aadfa317f on SADB_UPDATE, check SPI range only for AH/ESP, not IPComp.
endian/signedness fix for debug messages.
KAME 1.154 -> 1.155
2000-09-20 19:55:05 +00:00
hubertf 5fffd5f0c2 * Fix changing of /etc/rc.conf after the main file moved recently.
'rc_configured' is still changed via sed's s///, wscons=yes is appended
   via "echo >>".
 * make target-routines (target_expand(), and whatnot) work if no root
   disk was selected. With this, sysinst can now be used on a "normal"
   system to adjust the system's timezone. Use the entry in the "Utilities"
   menu for that.

Both changes were tested by a full i386 installation.
2000-09-20 19:53:35 +00:00
hubertf b438f1b65b Improve wording for timezone selection menu a bit. 2000-09-20 19:46:33 +00:00
hubertf 5f9422b41a Tell people that the default values for /etc/rc.conf are in
/etc/default/rc.conf. (People moving files should care for this...)
2000-09-20 19:42:04 +00:00
agc 61daa070a6 If we're about to add a user whose specified home directory does
not exist, and the "-m" argument has not been specified, then output
a warning.
2000-09-20 19:28:40 +00:00
is ff3689f89c On AmigaPPC, the kernel directly maps the i/o range. 2000-09-20 19:05:53 +00:00
thorpej bda9ce7990 Enable VM86 -- it's needed for some X servers (notably, S3 Savage,
which runs the VESA BIOS in VM86 emulation in order to switch video
modes).
2000-09-20 18:22:22 +00:00
thorpej dbe9b6987f Enable VM86 and DUMMY_NOPS. 2000-09-20 18:20:55 +00:00
augustss 236deb1acc Apply a patch from the driver author (originally from OpenBSD). 2000-09-20 14:33:48 +00:00
kleink 7648b5ad16 Define pid_t via <sys/ansi.h>: no longer expose clutter from <sys/types.h>. 2000-09-20 10:16:49 +00:00
thorpej e925979f9b Preliminary support for the National Semiconductor DP83815 10/100
Ethernet chip, which is based on the SiS 900 core, but with differences
in the PHY and filter programming interface, and different WoL and
802.3x flow control programming.

This chip appears on new NetGear FA-312TX cards.  Thank goodness
they're finally ditching the LiteOn chips.
2000-09-20 05:44:48 +00:00
thorpej b8675d1bea Add additional register defintions for the National Semiconductor
DP83815, which is based on the SiS900 core.
2000-09-20 02:08:44 +00:00
itojun 3486500f77 repair multicast filter setup. PR 11037 from Ryoji Kato. 2000-09-20 01:26:14 +00:00
thorpej 24f4ce3eb0 Regen. 2000-09-20 00:46:35 +00:00
thorpej 6cc3e82c48 Add National Semiconductor DP83815 10/100 Ethernet. 2000-09-20 00:46:10 +00:00
itojun 1e79c22464 repair SADB_ADD/UPDATE for ipcomp. no encryption key will be attached to
ipcomp.  (KAME 1.53 -> 1.54)
2000-09-20 00:42:47 +00:00
itojun 6a4cd1c5f9 make proposal/combination PF_KEY message on SADB_ACQUIRE optional, to
support ipcomp ACQUIRE messages (again).
it violates RFC2367 slightly.  RFC2367 does not suport ipcomp at all
so we have no choice.
(KAME 1.151 -> 1.152)

do not leave dangling pointer after KFREE().  caused kernel panic with
certain PF_KEY message (error case) - only root can open PF_KEY socket
so it is not security issue.
(KAME 1.152 -> 1.153)
2000-09-20 00:08:42 +00:00
bjh21 985853ce2e Mention NFS_V2_ONLY. 2000-09-19 23:56:50 +00:00
bjh21 c4fdfbaf66 nfsiod(8) is long dead. 2000-09-19 23:53:51 +00:00
bjh21 1f4240a461 Extend NFS_V2_ONLY to remove NQNFS lease support as well. Saves another 10k. 2000-09-19 23:26:25 +00:00
fvdl 082a77ccfe Bring the default value of NMBCLUSTERS into the modern age. 2000-09-19 22:21:54 +00:00
fvdl 874d41c959 "ENOBUF" on socket writes isn't really fatal; we may just be too fast
for the driver. Don't log the error, just try again. Could try to
be smart and do a backoff, but it's probably not worth the trouble.
2000-09-19 22:21:21 +00:00
fvdl 8d38a9fc8e Adapt some defaults/max values to be more realistic. 2000-09-19 22:19:12 +00:00
fvdl de98f0812b Add fields to deal with commit ranges. 2000-09-19 22:18:40 +00:00
fvdl 861339828d Update for VOP_FSYNC parameter change. Simplify nfs_flush. 2000-09-19 22:18:03 +00:00
fvdl ddf47f8f0d Update for VOP_FSYNC parameter change. 2000-09-19 22:15:41 +00:00
fvdl 45dc18d175 Add prototypes for commitrange functions. 2000-09-19 22:14:59 +00:00
fvdl 09f52ac6fc Don't do write gathering for v3; it makes no sense. Unless the client
is broken and does sync writes all the time, but that's the client's
fault.
2000-09-19 22:14:42 +00:00
fvdl 9ed021b771 Add functions to deal with keeping track of commit ranges. 2000-09-19 22:13:55 +00:00
fvdl 45460eabe0 Initialize the lock needed to serialize commits for one NFS node. 2000-09-19 22:13:01 +00:00
fvdl 899fb781e0 Move handling of B_NEEDCOMMIT buffers to nfs_doio, so that bawrite() calls
for them are actually done asynchronously. Idea taken from FreeBSD.

Do away with nfs_writebp completely, it's not needed anymore.

Keep an eye on the range of a file that needs to be committed, and
do it in heaps.
2000-09-19 22:11:47 +00:00
fvdl 7f432c74ab Bump some defaults and maximums to better values. 2000-09-19 22:05:55 +00:00
fvdl 8fd422dede Adapt for VOP_FSYNC parameter change. 2000-09-19 22:05:29 +00:00
fvdl 81ba8e7ff7 Adapt for VOP_FSYNC parameter change.
Implement range fsync for FFS. Note: not yet implemented for the
SOFTDEP case.
2000-09-19 22:04:08 +00:00
fvdl db4108490a Adapt for VOP_FSYNC parameter change. 2000-09-19 22:01:59 +00:00
fvdl a6a5e6cca7 Adapt for VOP_FSYNC parameter change.
Small optimization to shutdown code: only take the syncer lock if
the FS actually used it.
2000-09-19 22:01:41 +00:00
fvdl 8c28d7e864 Adapt for VOP_FSYNC parameter change. 2000-09-19 22:00:01 +00:00
fvdl ffdb0fc59d VOP_FSYNC interface change -> 1.5F 2000-09-19 21:59:30 +00:00
fvdl 2dbd4e25a8 VOP_FSYNC interface change --> 1.5F 2000-09-19 21:58:59 +00:00
fvdl 9d8dbdad9a Regen. 2000-09-19 21:58:01 +00:00
fvdl bf60f8be2e Add start and end parameters to the fsync VOP, giving a range of the
file to write out. If both are 0, the whole file is synced. A filesystem
that is not able to sync out a range of a file may elect to sync
the whole file anyway.
2000-09-19 21:57:14 +00:00
wrstuden fec34c3630 Tell make not to look for init in its path. This prevents make from
replacing the init in src/sbin/init with the small init we make here.
2000-09-19 20:40:19 +00:00