Commit Graph

69901 Commits

Author SHA1 Message Date
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
christos
48f9465eba add restore
XXX1: clearly /bin/test and /bin/[ should be replaced by #!/bin/sh\ntest "$@"\n
XXX2: ramdisk-tiny/list should be generated from ramdisk/list to avoid skew;
XXX3: there is no point in including dump in ramdisk-tiny/list
2000-09-19 20:35:51 +00:00
bjh21
4b85232148 MI seeq8005 attribute. 2000-09-19 20:23:34 +00:00
scw
0161d6a880 Pass the requested cpu irq priority through to the VME chipset-specific
backend.

The VME2chip can use this to translate a VMEbus irq to a cpu irq.

The VMEchip (on mvme147) can't deal with the VMEbus irq and cpu irq
being different so we just panic in that case for now.
2000-09-19 19:35:52 +00:00
scw
18deccffca Add IPL_SERIAL. 2000-09-19 19:31:34 +00:00
is
a1a3401b61 Fix comment: install kernel, not GENERIC. 2000-09-19 18:26:13 +00:00
christos
2565bd1854 oops, use MAKEDBM_S 2000-09-19 18:24:54 +00:00
christos
06e8cfa1f8 add a non-enabled rule to build solaris and linux shadow files. 2000-09-19 18:23:43 +00:00
itojun
dde2adf8e4 for t_template, allocate mbuf cluster only if really necessary.
this avoids too aggressive memory usage on heavy load web server, for example.
From: Kevin Lahey <kml@dotrocket.com>

release and reallocate t_template, if t_template->m_len changes.
(this happens if we connect to IPv4 mapped destination and then IPv6
destination, on a single AF_INET6 socket)

KAME 1.26 -> 1.28
2000-09-19 18:21:41 +00:00
jdolecek
3a4441e3d4 reimplement expr using lexical parser generated by yacc
highlights:
* / is treated correctly depending upon context (addresses PR # 10995)
* use 64 bit arithmetic, so expr is able to process integer values from
	-(2**63) to (2**63 - 1)
* checks for integer over- & underflows added
* error messages improved, more error checking added

add AUTHOR section to manpage
add BUGS section, and mention possible drawbacks with other expr implementations

XXX the old expr treated empty string in arithmetic expressions as if it was 0
XXX this behaviour has been retained
2000-09-19 17:20:00 +00:00
tv
a5c649d5f5 Until whois supports proper recursion and/or the rwhois protocol, use
whois.opensrs.net, which does internal recursion for domain data.
Network Solutions' server recurses on only _some_ registries, and has the
damned disclaimer and advertising on no-match results.
2000-09-19 17:09:10 +00:00
bjh21
33daa8de6b New kernel option, NFS_V2_ONLY, which aims to reduce the NFS client to just
that required to support NFSv2 mounts.  Not finished yet, but already
provides some 44k of saving in code size on arm26.  More savings, and some
documentation, are still to come.
2000-09-19 17:04:50 +00:00
ad
b8bb84a3b0 Clean one paragraph. 2000-09-19 16:28:52 +00:00
mjl
4fdc259981 Use strlcpy/strlcat instead of strn* plus manual termination.
Use sizeof() instead of hardcoded length. Clean up NULL vs 0
confusion. sizeof(char) is 1, really.
2000-09-19 16:17:48 +00:00
ad
300fe58019 Document secure_path() better; in particular, note that it will write
to the system log.
2000-09-19 15:03:20 +00:00
pk
d5fe063129 MULTIPROCESSOR: if the cache flush functions are no-ops on a single
processor, they can be no-ops in the MP case as well.
2000-09-19 13:44:35 +00:00
lukem
bd11504cb2 - only perform the checkyesno on the variable named in $rcvar (rather than
implicitly using $name if $rcvar isn't set), and always perform this check,
  even when using start_cmd (et al).
  this check is performed before the pidcmd
  is run, speeding up scripts that weren't going to be run anyway.
  this should speed up booting slow systems.

- take advantage of the above and remove
	start_precmd="checkyesno foo"
  in scripts that use start_cmd.

- explicitly set rcvar=foo in the rc.d/foo scripts which have an equivalent
  rc.conf entry

- fix `rcvar' and `restart' when $rcvar isn't set.
  these above changes fix PR [bin/11027].

- when doing `force*', ignore the return value of *_precmd.
  this fixes PR [bin/10781].

- rename what sysdb provides from `databases' to `sysdb', to reflect
  the name of the script.

- improve the comments in rc.subr
2000-09-19 13:04:38 +00:00
scw
12c28120f1 Add entries for vmepcc and vmetwo, mention MVME162, and correct
a speeling error.
2000-09-19 11:11:50 +00:00
kleink
cafe9756bf Define pid_t via <sys/ansi.h>. 2000-09-19 08:35:36 +00:00
wdk
d471ac652d Forgot to commit this file with the 2 stage bootstrap 2000-09-19 07:50:50 +00:00
jeffs
f1173a05e0 Add trace/t pid support for mips. 2000-09-19 06:22:51 +00:00