Commit Graph

62924 Commits

Author SHA1 Message Date
msmith
19f4901188 Minor updates (no functional changes)
- Remove the beer-ware license (reqested by phk)
 - Reorganise so that the PIIX4 workaround code is kept together, and
   switch the workaround function via the timecounter struct, saving
   a compare in the read-timecounter codepath.  Also indicate that
   the workaround is active by changing the timecounter hardware string.
2001-07-30 08:57:55 +00:00
imp
51823c616e Don't use a buffer for the state info from the TI chips. Just print
it directly.  Also, minor style(9) nits near one or two of these
sites.
2001-07-30 07:17:40 +00:00
dougb
cb4c26dec8 Add a note about port 98 commonly being used for RH linuxconf,
(unofficially of course).

PR:		misc/21775
Submitted by:	Dann Lunsford <dann@greycat.com>
2001-07-30 06:19:27 +00:00
obrien
a0b366b942 Update to version 3.36. 2001-07-30 03:50:24 +00:00
obrien
5a7612fe44 Update to version 3.36.
I had to hack print.c due to some new bits that only compile on NetBSD.
I could not figure what the analogous FreeBSD bits are.
2001-07-30 03:50:04 +00:00
obrien
537bfba00e This commit was generated by cvs2svn to compensate for changes in r80588,
which included commits to RCS files with non-trunk default branches.
2001-07-30 03:09:46 +00:00
obrien
0bc19fe086 Virgin import of Christos Zoulas's FILE 3.36. 2001-07-30 03:09:46 +00:00
mjacob
653449c025 Redo how we manage SCSI device settings- have a 3rd flags (nvram) that records
either what's in NVRAM or what the safe defaults would be if we lack NVRAM.
Then we rename cur_XXXX to actv_XXXX (these are the currently active settings)
and the dev_XXX settings to goal_XXXX (these are the settings which we want
cur_XXXX to converge to).

This probably isn't entirely final as yet- but it's a lot closer to now
being what it should be, including allowing camcontrol to actually set
specific settings.
2001-07-30 01:00:21 +00:00
mjacob
0309f11d97 Redo how we manage SCSI device settings- have a 3rd flags (nvram) that records
either what's in NVRAM or what the safe defaults would be if we lack NVRAM.
Then we rename cur_XXXX to actv_XXXX (these are the currently active settings)
and the dev_XXX settings to goal_XXXX (these are the settings which we want
cur_XXXX to converge to).

Roll core minor.
2001-07-30 00:59:32 +00:00
mjacob
652fd18902 Redo how we manage SCSI device settings- have a 3rd flags (nvram) that records
either what's in NVRAM or what the safe defaults would be if we lack NVRAM.
Then we rename cur_XXXX to actv_XXXX (these are the currently active settings)
and the dev_XXX settings to goal_XXXX (these are the settings which we want
cur_XXXX to converge to).
2001-07-30 00:59:06 +00:00
mjacob
478e29d90e Kill the command (don't rerun it) if we had an AUTOSENSE failure.
If we had an AUTOSENSE failure, we don't know what SENSE DATA
we had for a CHECK CONDITION. It's far better to assume failure
in this case.
2001-07-30 00:44:32 +00:00
mjacob
a37e3009d0 (Forced commit- last one missed the comments)
Handle both old and new TARGIOALLOCUNIT/TARGIOFREEUNIT cases- the new
one allows us to specify inquiry data we want to use.

Handle more of the CAM_DIS_DISCONNECT case.
2001-07-30 00:30:58 +00:00
mjacob
599acde4d5 (Forced commit- last commit was inadvertant in that it missed the comments)
Move TARGCTLIOALLOCUNIT to OTARGCTLIOALLOCUNIT, TARGCTLIOFREEUNIT
to OTARGCTLIOFREEUNIT and redefine old associated structure to be
old_ioc_alloc_unit- deprecation but preservation of binaries.

Add new structure for same- but this one contains a pointer to
user defined INQUIRY data so you can define what the target
device looks like to the outside world.
2001-07-30 00:27:54 +00:00
mjacob
b28272b3c0 backout last commit- inadvertant 2001-07-30 00:22:57 +00:00
mjacob
92a303b01e scsi_targetio.h 2001-07-30 00:21:29 +00:00
mjacob
e082eeba8d Propagate CAM_DIS_DISCONNECT on through:
1. If we get frozen, unfreeze for disable disconnects.
2. Put CAM_DIS_DISCONNECT commands at the head of the work queue
(we have a target still connected and we can't run anything else
until this command completes).

If we had an error sending the last CTIO, unfreeze the queue anyway.
2001-07-30 00:19:50 +00:00
imp
45d74ded45 When booted -v (eg bootverbose is non-zero), have pccard report what
resources it is attempting to assign to a child object.  This should
help people track down mysterious resource allocation problems more
easily.

# Unfortunately, it is harder to do the conflict check and report which
# resource failed if the driver itself doesn't.
2001-07-30 00:03:58 +00:00
iedowse
c768482a0f Two recent commits in sys/ufs/ufs interacted badly with ext2fs
because it shares ufs code. In ufs_fhtovp(), the test on i_effnlink
is invalid because ext2fs does not maintain this field. In ufs_close(),
i_effnlink is also tested, to determines whether or not to call
vn_start_write(). The ufs_fhtovp issue breaks NFS exporting of
ext2fs filesystems; I believe the other is harmless.

Fix both cases by checking um_i_effnlink_valid in the ufsmount
struct, and use i_nlink if necessary.

Noticed by:	bde
Reviewed by:	mckusick, bde
2001-07-29 22:26:01 +00:00
tmm
b7e79511f8 Correct the old length argument passed to sysctlbyname to be a pointer
to a size_t (not to an int).

MFC after:	2 days
2001-07-29 22:01:55 +00:00
tmm
3ea330259b Correct the old length argument passed to sysctl to be a pointer to a
size_t (not to an int).

MFC after:	2 days
2001-07-29 21:56:14 +00:00
tmm
15b6c360f7 Disallow ATAPI CD transfers that are not a multiple of the device block
size (previously, the transfer size would be rounded up to a multiple of
the block size, which would overflow the buffer).
This fixes panics when doing things like trying to mount audio CD's.

PR:		kern/21946
Review Timeout:	sos
2001-07-29 21:01:13 +00:00
markm
6b3146187f (Re)Add an SSH module for PAM, heavily based on Andrew Korty's module
from ports.
2001-07-29 18:31:09 +00:00
sheldonh
8fbfd8b125 Avoid any chance of being misunderstood as having libelled developers
or developers' vendors without compromising the importance of warning
against bad practice.

Reported by:	mjacob
MFC after:	1 week
2001-07-29 15:08:14 +00:00
dd
a912f88e22 Move SHLIB_MAJOR to below LIB and add a comment about why NO_WARNS is set. 2001-07-29 13:22:41 +00:00
dd
30dfa8c18c Install the man page and add mp.h to INCS. 2001-07-29 13:19:24 +00:00
dd
16631fa6d4 Add a manual page for the libmp interface. It isn't real great, but
then again neither is the interface it's documenting.
2001-07-29 13:19:17 +00:00
nyan
89423b7440 Convert the olpt driver to using new-bus stuff. 2001-07-29 11:11:45 +00:00
nyan
a9fe22efc3 Merged from sys/dev/syscons/syscons.c revisions 1.367 and 1.368. 2001-07-29 10:52:07 +00:00
dd
024a65957f Don't xref mt(1) just because it mentions ioctl.
Submitted by:	Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
2001-07-29 09:17:54 +00:00
dd
43f18c90c8 Don't capitalize variable names. 2001-07-29 09:17:16 +00:00
dd
8497298808 ioctl(2) can return EFAULT from copyin.
PR:		29285
Submitted by:	Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
2001-07-29 09:16:07 +00:00
dd
a12e9377b2 Enable the new libmp in the build, and disable libgmp and its
henchmen.
2001-07-29 08:58:22 +00:00
dd
2aadb93301 This is the traditional BSD libmp interface implemented in terms of
the OpenSSL BIGNUM interface.  It is provided for compatibility only
and should not be used in new code.
2001-07-29 08:49:15 +00:00
kato
5a0027f1f6 Make symlink $S/$M/include -> compile/FOO/machine at kernel-depend
instead of geneassym.o.
2001-07-29 07:39:14 +00:00
obrien
d45178b105 Hook up the manpage. 2001-07-29 07:21:39 +00:00
mikeh
b925de092b Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatible
with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with
errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc'
patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to
maintain backwards compatibility.

Reviewed by:	sheldonh, assar
Obtained from:	NetBSD/OpenBSD
2001-07-29 00:52:37 +00:00
mp
b9208b18d5 Properly handle wgetch(3) returning ERR. This prevents an abnormal exit
when a windows resize event (SIGWINCH) occurs.

Reported by:	John Doe <rhamming2001@yahoo.com> and others on -stable.
Reviewed by:	dd
MFC after:	1 week
2001-07-28 22:40:10 +00:00
se
815cafd7d0 Include value of command line argument that causes an error message or
warning in said message, since fetch may be run from a makefile or script
which does not print the command line.

Approved by:	des
2001-07-28 21:34:56 +00:00
se
742d7aada7 The fix for schemeless and hostless URLs (rev. 1.27) broke the schemeless
proxy specification, which seems to be valid according to the man page.

Change the logic to consider "hostname:port" a hostname and port instead
of a file URL.

Approved by:	des
2001-07-28 21:28:14 +00:00
ache
fc39ce89e9 Add KOI8-U tables
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua>
2001-07-28 20:50:21 +00:00
markm
9b552679be Diff-reduce this with GENERIC.
OK'ed by:	imp
2001-07-28 20:40:49 +00:00
iedowse
5da45bdf5b Permit direct swapping to NFS regular files using swapon(2). We
already allow this for NFS swap configured via BOOTP, so it is
known to work fine.

For many diskless configurations is is more flexible to have the
client set up swapping itself; it can recreate a sparse swap file
to save on server space for example, and it works with a non-NFS
root filesystem such as an in-kernel filesystem image.
2001-07-28 20:18:38 +00:00
markm
493eaebc7e Build standard directory for kerberos 5 (Heimdal) database. 2001-07-28 20:00:54 +00:00
markm
22aa258b31 Upgraded launchpad for kerberos. Noe kerberos IV OR kerberos 5
may be started at boot for kerberos servers.
2001-07-28 19:57:57 +00:00
markm
3d58155b67 Fix the environment handling:
However, there's still a bug in login.c
because you copy the environment *before* the call to pam_open_session,
which won't set the necessary variables set by /usr/ports/security/pam_ssh.

Submitted by:	Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>
2001-07-28 19:53:10 +00:00
gibbs
41a519a63d Remove a bootverbose diagnostic that makes bootverbose just too verbose. 2001-07-28 18:45:52 +00:00
obrien
e96981dba8 This commit was generated by cvs2svn to compensate for changes in r80508,
which included commits to RCS files with non-trunk default branches.
2001-07-28 18:44:42 +00:00
obrien
51c8705492 Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001]. 2001-07-28 18:44:42 +00:00
dd
f2853f7cea Note MFC of IPFilter 3.4.20. 2001-07-28 14:37:32 +00:00
kato
619232eb4e Merged from sys/i86/isa/npx.c revision 1.107. 2001-07-28 13:08:31 +00:00