keramida [Sat, 14 Dec 2002 23:58:49 +0000 (23:58 +0000)]
Make minimal changes to point the users to the Texinfo documentation
for more detailed information about sdiff(1). Hopefully this will
make it easier to find how `interactive merging' works with sdiff.
keramida [Sat, 14 Dec 2002 23:45:54 +0000 (23:45 +0000)]
NetBSD manpages use .Nm "" to typeset the `name' of the manpage, but
this doesn't work quite right with our groff. They have an older
groff version in the base system, but no real plans to update both
groff and manpages. Fix the .Nm usage locally in our manpages.
alc [Sat, 14 Dec 2002 22:25:35 +0000 (22:25 +0000)]
MFi386 revisions 1.375 and 1.376
Hold the page queues lock when calling pmap_unwire_pte_hold() or
pmap_remove_pte(). Use vm_page_sleep_if_busy() in
_pmap_unwire_pte_hold() so that the page queues lock is released
when sleeping.
dillon [Sat, 14 Dec 2002 21:00:17 +0000 (21:00 +0000)]
Change tcp.inflight_min from 1024 to a production default of 6144. Create
a sysctl for the stabilization value for the bandwidth delay product (inflight)
algorithm and document it.
phk [Sat, 14 Dec 2002 19:44:13 +0000 (19:44 +0000)]
Employ the unused bytes after the disklabel in the second sector. This makes
it possible to make UFS1_ONLY and UFS2_ONLY versions which fit inside the
traditional 16 sectors.
Remove assorted now unneeded hackery.
UFS1_AND_UFS2 still needs another 150 bytes to work, and that is probably
not within our reach, ever.
iedowse [Sat, 14 Dec 2002 17:16:16 +0000 (17:16 +0000)]
Undo the adjustment of the total memory used by dirhash in the case
where allocating the dirhash structure fails. Fix a few typos in
comments and update copyright.
des [Sat, 14 Dec 2002 13:54:57 +0000 (13:54 +0000)]
Don't build auth-pam.c and auth2-pam.c, auth2-pam-freebsd.c is all we need.
Use pthreads for PAM if the platform supports it and the user asked for it
(by setting OPENSSH_USE_POSIX_THREADS)
des [Sat, 14 Dec 2002 13:52:39 +0000 (13:52 +0000)]
If possible, use pthreads instead of a child process for PAM.
Reimplement the necessary bits from auth_pam.c and auth2_pam.c so that
they share the PAM context used by the keyboard-interactive thread. If
a child process is used instead, they will (necessarily) use a separate
context.
dillon [Sat, 14 Dec 2002 07:31:51 +0000 (07:31 +0000)]
Bruce forwarded this tidbit from an analysis Van Jacobson did on an
apparent ack-on-ack problem with FreeBSD. Prof. Jacobson noticed a
case in our TCP stack which would acknowledge a received ack-only packet,
which is not legal in TCP.
Submitted by: Van Jacobson <van@packetdesign.com>,
bmah@packetdesign.com (Bruce A. Mah)
MFC after: 7 days
mckusick [Sat, 14 Dec 2002 01:36:59 +0000 (01:36 +0000)]
Only the most recent snapshot contains the complete list of blocks
that were copied in all of the earlier snapshots, thus its precomputed
list must be used in the copyonwrite test. Using incomplete lists may
lead to deadlock. Also do not include the blocks used for the indirect
pointers in the indirect pointers as this may lead to inconsistent
snapshots.
mckusick [Sat, 14 Dec 2002 01:35:30 +0000 (01:35 +0000)]
The buffer daemon cannot skip over buffers owned by locked inodes as
they may be the only viable ones to flush. Thus it will now wait for
an inode lock if the other alternatives will result in rollbacks (and
immediate redirtying of the buffer). If only buffers with rollbacks
are available, one will be flushed, but then the buffer daemon will
wait briefly before proceeding. Failing to wait briefly effectively
deadlocks a uniprocessor since every other process writing to that
filesystem will wait for the buffer daemon to clean up which takes
close enough to forever to feel like a deadlock.
Reported by: Archie Cobbs <archie@dellroad.org>
Sponsored by: DARPA & NAI Labs.
Approved by: re
archie [Sat, 14 Dec 2002 00:56:07 +0000 (00:56 +0000)]
Fix two bugs:
(a) Save control message return address only if NGM_MPPC_CONFIG_DECOMP
(b) Properly count the number of required re-key operations
when we loose synchronization and have to resync
tjr [Fri, 13 Dec 2002 23:44:00 +0000 (23:44 +0000)]
Keep trying to flush the vnode list for the mount while some are still
busy and we are making progress towards making them not busy. This is
needed because smbfs vnodes reference their parent directory but may
appear after their parent in the mount's vnode list; one pass over the
list is not sufficient in this case.
This stops attempts to unmount idle smbfs mounts failing with EBUSY.
mux [Fri, 13 Dec 2002 21:34:35 +0000 (21:34 +0000)]
Correct a harmless problem when creating the DMA tag
used to map mbufs. The maximum size should be MCLBYTES
and not SIS_TX_LIST_SZ. This is probably a typo in
the original commit.
tjr [Fri, 13 Dec 2002 10:15:01 +0000 (10:15 +0000)]
Store a reference to the parent directory's vnode in struct smbnode,
not to the parent's smbnode, which may be freed during the lifetime
of the child if the mount is forcibly unmounted. umount -f should now
work properly (ie. not panic) on smbfs mounts.
tjr [Fri, 13 Dec 2002 09:59:40 +0000 (09:59 +0000)]
Drop filedesc lock and acquire Giant around calls to malloc() and free().
These call uma_large_malloc() and uma_large_free() which require Giant.
Fixes panic when descriptor table is larger than KMEM_ZMAX bytes
noticed by kkenn.
murray [Fri, 13 Dec 2002 06:54:33 +0000 (06:54 +0000)]
Move the creation of the DRIVERS.TXT file to a more appropriate area
of this file, so it will be created for other platforms that use a
third floppy disk, not just i386.
jake [Fri, 13 Dec 2002 00:32:29 +0000 (00:32 +0000)]
Don't run kldxref when installing modules on sparc64. kldxref and the whole
module dependency system rely on linker behaviour that is machine dependent
and not part of the elf spec, and only work by accident on other platforms.
grog [Fri, 13 Dec 2002 00:27:32 +0000 (00:27 +0000)]
Create raw plexes and subdisks, not the old volume-related ones. This
crept in in the transition to devfs, and caused a number of "device
not configured" errors.
green [Thu, 12 Dec 2002 20:32:45 +0000 (20:32 +0000)]
Account for fts(3)'s FTS_SLNONE case for symbolic links which have
a nonexistant target, in addition to the FTS_SL previously, so e.g.
setfmac -h sebsd/system_u:object_r:malloc_conf_t /etc/malloc.conf
succeeds.
markm [Thu, 12 Dec 2002 17:38:45 +0000 (17:38 +0000)]
Fix a buffer overrun in /dev/random which, due to the nature of the
kernel memory allocator, is harmless. This could be a problem for
other systems, though. I've modified Darren's patch a little.
Original patch by: Darren Schack, Isilon Systems, Inc <darrens@isilon.com>
Also analysed by: SGI, and in particular Divy Le Ray of SGI
OK'ed by: re(rwatson)