Commit Graph

59861 Commits

Author SHA1 Message Date
eric
e3a45b11f1 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
obrien
82c2548233 Back out rev 1.50. VCS was correct -- it is Version Control System. 2001-05-17 02:05:36 +00:00
brian
865dded12d digiModel_t -> enum digi_model
Remove special -I flags that are no longer needed.
2001-05-17 01:42:52 +00:00
brian
43a1771601 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
128dedb493 digiModel_t -> enum digi_model
Remove a forgotton and unused structure.
2001-05-17 01:42:18 +00:00
brian
60cdedc146 Add /usr/include/dev/digi/ 2001-05-17 01:41:57 +00:00
dougb
fcb2763d8e Minor typos 2001-05-17 01:36:01 +00:00
obrien
3ab462704d Consistently define the rune types.
Follow NetBSD's lead and add a _BSD_MBSTATE_T_ type.
2001-05-16 22:32:44 +00:00
obrien
04cdb5e6a1 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
jasone
3f0d8ce9f7 Mark a thread that is suspended while sleeping as interrupted. 2001-05-16 21:58:45 +00:00
nsayer
48dcf3a014 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
nsayer
0fc596428b 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
4500c66e97 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
imp
24e6aa337e Fix type noticed by jasone 2001-05-16 19:15:32 +00:00
imp
13a28cc232 Migrate from using MAXPATHLEN to MAX_PATH. Use strlcpy to copy the
strings.
2001-05-16 19:10:40 +00:00
imp
5114ce1da7 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
nsayer
e3d767bac2 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
nsayer
1be2f5ba52 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
nsayer
ce33146412 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
iedowse
14dd931aa7 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
6fbe7413a9 Add BUGS section describing the requirement to manually load the KLD. 2001-05-16 17:30:15 +00:00
joerg
6c1f3a0584 Fix man page markup.
Submitted by:	ru
2001-05-16 17:09:00 +00:00
ru
6113f8a162 Unbreak world; _DIAGASSERT macro is not available in FreeBSD. 2001-05-16 14:34:47 +00:00
ru
ce0c318edf mdoc(7) police: fix markup. 2001-05-16 13:53:19 +00:00
ru
0870b109f8 Install wchar.h and wctype.h.
Forgotten by:	tshiozak
2001-05-16 11:38:18 +00:00
brian
ca2b54b955 Remove forgotten -Wall
Reminded by: ru
2001-05-16 11:15:49 +00:00
phk
4002f7f6d4 Fix an array which was too small.
PR:		27380
Submitted by:	Samuel Greear <sgreear@vsni.com>
2001-05-16 11:13:16 +00:00
markm
ebb42ab29f 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
ru
99325e12d3 mdoc(7) police: fix markup and spelling. 2001-05-16 10:39:42 +00:00
ru
984f44a723 mdoc(7) police: fix markup and spelling. 2001-05-16 10:29:51 +00:00
ru
3fc436e57f mdoc(7) police: fix markup (demonstrates new -xwidth modifier). 2001-05-16 10:18:20 +00:00
ru
f6d873cab3 mdoc(7) police: fix markup. 2001-05-16 09:50:12 +00:00
ru
ec1f9f2380 mdoc(7) police: uppercase abbreviations in revision 1.34. 2001-05-16 09:43:48 +00:00
ru
84f552fde9 mdoc(7) police: double spaces in plain text chunks aren't good. 2001-05-16 09:40:12 +00:00
imp
8a95eaff24 Catch up with some recent changes:
1) pcic_isa.c
	2) For pc98, add mecia driver and -DPC98 to command line.
	3) pcic_p.c -> pcic_pci.c
2001-05-16 07:35:54 +00:00
imp
c4b168c6d9 Separate out isa attachment to its own file. The pci attachment will
soon attach directly to pcic rather than the kludge pci-pcic device we
have now.

In some ways, this is similar to the work PAO3 did to try to support
cardbus bridges.  In some ways different.  This and future commits
will be taking from the spirit of many of those changes.  pcicvar.h is
completely different from the pcicvar.h that appeared in PAO3, but
similar in concept.
2001-05-16 07:32:04 +00:00
imp
736d60b787 This file is now obsolete. The #defines in it have never been used
and the pcic_devclass no longer is used by pccard.c.
2001-05-16 06:14:51 +00:00
imp
861f184972 Note recent windows of breakage.
Note new ata subsystem.
Add additional files for the portmap change.
2001-05-16 04:34:40 +00:00
alfred
b82d4612b8 remove include of ipl.h because it no longer exists 2001-05-16 02:52:06 +00:00
archie
f16b65d2c3 Fix typo.
Noticed by:     ade
2001-05-16 01:25:29 +00:00
jhb
1f7bfc40a0 Lock the procfs functions for doing a single step and reading/writing
registers better.  Hold sched_lock not only for checking the flag but
also while performing the actual operation to ensure the process doesn't
get swapped out by another CPU while we the operation is being performed.
2001-05-16 00:47:27 +00:00
imp
80125520c0 pcic98reg.h is now contained in meciareg.h. 2001-05-15 23:53:18 +00:00
imp
f4f513af70 The mecia support has moved to the mecia driver, so remove the copy of
it here.
2001-05-15 23:50:58 +00:00
imp
a17ae4c7c4 Add mecia driver definitions. 2001-05-15 23:47:17 +00:00
imp
dbe8e02691 Rev 1.131 was missing:
Submitted by: KATO Takenori-san <kato@nendai.nagoya-u.ac.jp>
2001-05-15 23:44:03 +00:00
imp
f094e054c9 This code touches MD code inappropriately. So we have to include pc98
specific file for pc98.
2001-05-15 23:43:02 +00:00
dd
0db2bdb4c5 Introduce getprogname(3) and setprogname(3) library calls. These get
and set __progname, respectively.

Discussed on:	-arch (Feb 2001), -audit
Reviewed by:	-audit
Approved by:	kris
Obtained from:	(mostly) NetBSD
2001-05-15 23:41:01 +00:00
imp
c2a2feb4db A new driver for the MECIA. This is the NEC Original PCMCIA
controller found in many of the early NOTE98 machines that were
produced.  This controller is completely unlike the intel 82365, so
I've separated it out from the main pcic driver.
2001-05-15 23:34:42 +00:00
jhb
391d3d143d "Sir, the deorbit burn completed succesfully."
RIP {sys/machine}/ipl.h.
2001-05-15 23:30:37 +00:00
jhb
cb5aff89bf Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00