Commit graph

59932 commits

Author SHA1 Message Date
David E. O'Brien 2f8b721157 Fix the rcsid's. 2001-05-17 09:38:49 +00:00
Peter Wemm c1323a523a Argh. Fix a long-standing man page filter botch. See terminfo(5) for
the effect.
2001-05-17 08:48:26 +00:00
Peter Wemm edfeb4834f This commit was generated by cvs2svn to compensate for changes in r76732,
which included commits to RCS files with non-trunk default branches.
2001-05-17 08:39:21 +00:00
Peter Wemm 2493e89366 Update for ncurses 5.2-20010512 import 2001-05-17 08:30:09 +00:00
Peter Wemm 952abd2a98 Merge changes from vendor branch to mainline. 2001-05-17 08:24:39 +00:00
Ruslan Ermilov 45993e3bd4 ... but we do provide .St -isoC-99, and it is not required to have the
history info as:

: .Sh STANDARDS   If the command, library function or file adheres to a
:                 specific implementation such as IEEE Std 1003.2
:                 (``POSIX.2'') or ANSI X3.159-1989 (``ANSI C'') this
:                 should be noted here.  If the command does not adhere
:                 to any standard, its history should be noted in the
:                 HISTORY section.
2001-05-17 08:22:43 +00:00
Peter Wemm 9f22302ac6 This commit was generated by cvs2svn to compensate for changes in r76726,
which included commits to RCS files with non-trunk default branches.
2001-05-17 08:21:06 +00:00
Peter Wemm 7a69bbfb27 Import ncurses-5.2-20010512 onto the vendor branch
Obtained from: ftp://dickey.his.com/ncurses/
2001-05-17 08:21:06 +00:00
Kirk McKusick 24a83a4b3f When a new block is allocated to a directory, an fsync of a file
whose name is within that block must ensure not only that the block
containing the file name has been written, but also that the on-disk
directory inode references that block. When a new directory block
is created, we allocate a newdirblk structure which is linked to
the associated allocdirect (on its ad_newdirblk list). When the
allocdirect has been satisfied, the newdirblk structure is moved
to the inodedep id_bufwait list of its directory to await the inode
being written.  When the inode is written, the directory entries
are fully committed and can be deleted from their pagedep->id_pendinghd
and inodedep->id_pendinghd lists.
2001-05-17 07:24:03 +00:00
Ruslan Ermilov 74808b9ec2 Removed reference to non-existing make(7).
PR:		docs/27392
Submitted by:	Hendrik Scholz <hendrik@scholz.net>
2001-05-17 06:58:57 +00:00
Boris Popov f3d1ec67b2 VOP getwritemount() can be invoked on vnodes with VFREE flag set (used in
snapshots code). At this point upper vp may not exist.
2001-05-17 04:58:25 +00:00
Boris Popov 3413421bda Use vop_*vobject() VOPs to get reference to VM object from upper or lower fs. 2001-05-17 04:52:57 +00:00
Boris Popov 9dbd7336ee Do not leave an extra reference on vnode.
PR:		kern/27250
Submitted by:	"Vladimir B. Grebenschikov" <vova@express.ru>
MFC after:	2 weeks
2001-05-17 04:40:01 +00:00
Daniel C. Sobral fa4fd1324a Allocate more memory if necessary. 2001-05-17 04:34:02 +00:00
Peter Wemm 64867478d8 Back out last commit. This was already fixed. This should never have
happened, this is why we have commit mail expressly delivered to
committers.
2001-05-17 03:14:42 +00:00
Peter Wemm d48d5be0d0 Fix the latest telnet breakage. Obviously this was never compiled. 2001-05-17 03:13:00 +00:00
Eric Melville 40c65ba9c7 Check for the expiration of an account and its password in the proper
order.

Reviewed by:	-audit (silence)
Approved by:	murray
Obtained from:	OpenBSD
MFC after:	5 days
2001-05-17 03:10:04 +00:00
David E. O'Brien 19d4c7b3d7 Back out rev 1.50. VCS was correct -- it is Version Control System. 2001-05-17 02:05:36 +00:00
Brian Somers 934c135db1 digiModel_t -> enum digi_model
Remove special -I flags that are no longer needed.
2001-05-17 01:42:52 +00:00
Brian Somers cf7134be6c Install /sys/dev/digi/digiio.h as /usr/include/dev/digi/digiio.h
I use the (new) DEVFILES variable rather than LSUBDIRS because
only the public interface (digiio.h) should be installed.
2001-05-17 01:42:34 +00:00
Brian Somers ad24a43b1e digiModel_t -> enum digi_model
Remove a forgotton and unused structure.
2001-05-17 01:42:18 +00:00
Brian Somers c19b335eac Add /usr/include/dev/digi/ 2001-05-17 01:41:57 +00:00
Doug Barton 6c7344c5dd Minor typos 2001-05-17 01:36:01 +00:00
David E. O'Brien 0dfc89c188 Consistently define the rune types.
Follow NetBSD's lead and add a _BSD_MBSTATE_T_ type.
2001-05-16 22:32:44 +00:00
David E. O'Brien 1123bf8862 Move the int typedefs to the top so they can be used in defining other types.
Ensure every platform has __offsetof.
Make multiple inclusion detection consistent with other
  <platform>/include/*.h files.
2001-05-16 22:21:43 +00:00
Jason Evans 1317e200a8 Mark a thread that is suspended while sleeping as interrupted. 2001-05-16 21:58:45 +00:00
Nick Sayer 1848e3d448 Since the root-on-insecure-tty code was added to telnetd, a dependency
on char *line was added to libtelnet. Put a dummy one in to keep the
linker happy.
2001-05-16 20:34:42 +00:00
Nick Sayer 166b3cb9a0 Make sure the protocol actively rejects bad data rather than
(potentially) not responding to an invalid SRA 'auth is' message.
2001-05-16 20:24:58 +00:00
Jesper Skriver b10cf90768 Link /etc/ssh/ssh_host_key to /etc/ssh/ssh_host_rsa_key to deal with
gratutious changes in the latest SSH

Reviewed by:	obrien
Approved by:	obrien
2001-05-16 19:23:54 +00:00
Warner Losh a70a79ad2d Fix type noticed by jasone 2001-05-16 19:15:32 +00:00
Warner Losh 34f9c106b9 Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy the
strings.
2001-05-16 19:10:40 +00:00
Warner Losh aecd12aed8 Add entry for cygwin, the Cygnus Windows emulator.
Submitted by:	"Karsten W. Rohrbach" <karsten@rohrbach.de>
Reviewed by:	ache
2001-05-16 19:01:45 +00:00
Nick Sayer 8183ac8f53 srandomdev() affords us the opportunity to radically improve, and at the
same time simplify, the random number selection code.
2001-05-16 18:32:46 +00:00
Nick Sayer 60f581768d Catch any attempted buffer overflows. The magic numbers in this code
(512) are a little distressing, but the method really needs to be
extended to allow server-supplied DH parameters anyway.

Submitted by:	kris
2001-05-16 18:27:09 +00:00
Nick Sayer e7157113a9 Catch malloc return failures. This should help avoid dereferencing NULL on
low-memory situations.

Submitted by:	kris
2001-05-16 18:17:55 +00:00
Ian Dowse 0864ef1e8a Change the second argument of vflush() to an integer that specifies
the number of references on the filesystem root vnode to be both
expected and released. Many filesystems hold an extra reference on
the filesystem root vnode, which must be accounted for when
determining if the filesystem is busy and then released if it isn't
busy. The old `skipvp' approach required individual filesystem
xxx_unmount functions to re-implement much of vflush()'s logic to
deal with the root vnode.

All 9 filesystems that hold an extra reference on the root vnode
got the logic wrong in the case of forced unmounts, so `umount -f'
would always fail if there were any extra root vnode references.
Fix this issue centrally in vflush(), now that we can.

This commit also fixes a vnode reference leak in devfs, which could
result in idle devfs filesystems that refuse to unmount.

Reviewed by:	phk, bp
2001-05-16 18:04:37 +00:00
Archie Cobbs 73cf2c3089 Add BUGS section describing the requirement to manually load the KLD. 2001-05-16 17:30:15 +00:00
Joerg Wunsch f23229f905 Fix man page markup.
Submitted by:	ru
2001-05-16 17:09:00 +00:00
Ruslan Ermilov 9d3618b999 Unbreak world; _DIAGASSERT macro is not available in FreeBSD. 2001-05-16 14:34:47 +00:00
Ruslan Ermilov bfd1220842 mdoc(7) police: fix markup. 2001-05-16 13:53:19 +00:00
Ruslan Ermilov c424b7d0c6 Install wchar.h and wctype.h.
Forgotten by:	tshiozak
2001-05-16 11:38:18 +00:00
Brian Somers 2924ab1473 Remove forgotten -Wall
Reminded by: ru
2001-05-16 11:15:49 +00:00
Poul-Henning Kamp 49a4598b61 Fix an array which was too small.
PR:		27380
Submitted by:	Samuel Greear <sgreear@vsni.com>
2001-05-16 11:13:16 +00:00
Mark Murray 458a1c243f Fix problem with static linking:
> Script started on Sat May 12 22:18:47 2001
> ttyp1:bde@gamplex:/usr/src/libexec/rshd> rsh localhost ls
> rcmd: localhost: Undefined error: 0

Reported by:	bde
2001-05-16 11:05:03 +00:00
Ruslan Ermilov 72fb5ff3ec mdoc(7) police: fix markup and spelling. 2001-05-16 10:39:42 +00:00
Ruslan Ermilov f449eb82a4 mdoc(7) police: fix markup and spelling. 2001-05-16 10:29:51 +00:00
Ruslan Ermilov 7fa247d086 mdoc(7) police: fix markup (demonstrates new -xwidth modifier). 2001-05-16 10:18:20 +00:00
Ruslan Ermilov 9af42d27b1 mdoc(7) police: fix markup. 2001-05-16 09:50:12 +00:00
Ruslan Ermilov 8fcaaa2e12 mdoc(7) police: uppercase abbreviations in revision 1.34. 2001-05-16 09:43:48 +00:00
Ruslan Ermilov de0137926b mdoc(7) police: double spaces in plain text chunks aren't good. 2001-05-16 09:40:12 +00:00