]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoThis commit was generated by cvs2svn to compensate for changes in r65668,
Kris Kennaway [Sun, 10 Sep 2000 08:31:17 +0000 (08:31 +0000)]
This commit was generated by cvs2svn to compensate for changes in r65668,
which included commits to RCS files with non-trunk default branches.

24 years agoInitial import of OpenSSH post-2.2.0 snapshot dated 2000-09-09
Kris Kennaway [Sun, 10 Sep 2000 08:31:17 +0000 (08:31 +0000)]
Initial import of OpenSSH post-2.2.0 snapshot dated 2000-09-09

24 years agoNew release notes: ipfilter->3.4.9, new kernel location, FFS snapshots.
Bruce A. Mah [Sun, 10 Sep 2000 06:55:27 +0000 (06:55 +0000)]
New release notes:  ipfilter->3.4.9, new kernel location, FFS snapshots.

Add note to Alpha relnotes (accidentally omitted) on softupdates licensing.

24 years agoChange variable naming to be consistent with the rest of VFS code.
Boris Popov [Sun, 10 Sep 2000 03:46:12 +0000 (03:46 +0000)]
Change variable naming to be consistent with the rest of VFS code.
Reduce number of indirections by using already fetched values.

24 years agoBack out the addition of malloc_mtx. It was incompletely conceived, and
Jason Evans [Sun, 10 Sep 2000 01:54:15 +0000 (01:54 +0000)]
Back out the addition of malloc_mtx.  It was incompletely conceived, and
will be done correctly in the future.

24 years agoBackout last commit. It was wrong.. *sigh*
Paul Saab [Sun, 10 Sep 2000 01:17:47 +0000 (01:17 +0000)]
Backout last commit.  It was wrong..  *sigh*

24 years agoinclude string.h to silence a warning.
Paul Saab [Sun, 10 Sep 2000 01:10:15 +0000 (01:10 +0000)]
include string.h to silence a warning.

24 years agoNuke RSAREF support from orbit.
Kris Kennaway [Sun, 10 Sep 2000 00:09:37 +0000 (00:09 +0000)]
Nuke RSAREF support from orbit.

It's the only way to be sure.

24 years agoStyle cleanups. No functional changes.
Jason Evans [Sat, 9 Sep 2000 23:18:48 +0000 (23:18 +0000)]
Style cleanups.  No functional changes.

24 years agoAdd file and line arguments to WITNESS_ENTER() and WITNESS_EXIT, since
Jason Evans [Sat, 9 Sep 2000 22:43:22 +0000 (22:43 +0000)]
Add file and line arguments to WITNESS_ENTER() and WITNESS_EXIT, since
__FILE__ and __LINE__ don't get expanded usefully in inline functions.

Add const to all witness*() arguments that are filenames.

24 years agoAdd a mutex to the malloc interfaces so that it can safely be called
Jason Evans [Sat, 9 Sep 2000 22:27:35 +0000 (22:27 +0000)]
Add a mutex to the malloc interfaces so that it can safely be called
without owning the Giant lock.

24 years agoRemove a workaround for a long-fixed bug in fetch(1).
Bruce A. Mah [Sat, 9 Sep 2000 21:45:19 +0000 (21:45 +0000)]
Remove a workaround for a long-fixed bug in fetch(1).
Update URL for on-line Ports Collection INDEX file.

24 years agodisable 16bit mono support- this will be handled by software conversion to
Cameron Grant [Sat, 9 Sep 2000 21:31:06 +0000 (21:31 +0000)]
disable 16bit mono support- this will be handled by software conversion to
stereo as hardware mono is very noisy

24 years agopkg_version.pl now understands the new package/port numbering scheme
Bruce A. Mah [Sat, 9 Sep 2000 21:28:06 +0000 (21:28 +0000)]
pkg_version.pl now understands the new package/port numbering scheme
introduced by version 1.349 of ports/Mk/bsd.port.mk and originally
submitted by kris.

In particular, it understands the $PORTREVISION (FreeBSD-specific changes
or patches to a port) and $PORTEPOCH (for re-sorting version numbers
when not used or when broken).

24 years agoadd 16bit mono/stereo conversion feeder
Cameron Grant [Sat, 9 Sep 2000 21:24:03 +0000 (21:24 +0000)]
add 16bit mono/stereo conversion feeder
prefer feeder chains of length 1 over length 2

24 years agodetach support
Cameron Grant [Sat, 9 Sep 2000 19:21:04 +0000 (19:21 +0000)]
detach support
remove un-needed setdir functions
add bus_teardown_intr calls where necessary
destroy our dma tags where necessary
destroy ac97 before releasing resources

24 years agoForget to include sysctl.h
Alfred Perlstein [Sat, 9 Sep 2000 18:47:46 +0000 (18:47 +0000)]
Forget to include sysctl.h

Submitted by: des

24 years agoProvide correct information regarding "packet" option default.
Robert Nordier [Sat, 9 Sep 2000 18:30:48 +0000 (18:30 +0000)]
Provide correct information regarding "packet" option default.

PR:            20936
Originated by: obrien

24 years agoUpon reflection, I decided that bootfile must have priority over kernel
Daniel C. Sobral [Sat, 9 Sep 2000 18:20:00 +0000 (18:20 +0000)]
Upon reflection, I decided that bootfile must have priority over kernel
as the kernel name. The one very unfortunate consequence is that kernel
as an absolute path loses the priority. It will only be tried after
/boot/${kernel}/${bootfile}. I'll see what can be done about it later.

24 years agoCorrect BSD/OS slice type.
Robert Nordier [Sat, 9 Sep 2000 18:05:22 +0000 (18:05 +0000)]
Correct BSD/OS slice type.

PR:           21099
Submitted by: Alan Clegg <abc@bsdi.com>

24 years agoAdd a comment, that a LINT file can be produced from NOTES via
Alexander Langer [Sat, 9 Sep 2000 16:33:48 +0000 (16:33 +0000)]
Add a comment, that a LINT file can be produced from NOTES via
``make LINT''.

Reviewed by: nbm via IRC

24 years agoLINT -> NOTES
Alexander Langer [Sat, 9 Sep 2000 16:07:15 +0000 (16:07 +0000)]
LINT -> NOTES

24 years agoadd attrbute(packed) to union def with specific align constraitn.
Jun-ichiro itojun Hagino [Sat, 9 Sep 2000 15:56:46 +0000 (15:56 +0000)]
add attrbute(packed) to union def with specific align constraitn.
move file static variable to auto variable, make in6_cksum() work better in
kernel-MP environment.  sync with kame.

From: Alfred Perlstein <bright@wintelcom.net>

24 years agoInclude libfetch in the includes target.
Dag-Erling Smørgrav [Sat, 9 Sep 2000 14:37:06 +0000 (14:37 +0000)]
Include libfetch in the includes target.

24 years agoRemove unused variables.
Dag-Erling Smørgrav [Sat, 9 Sep 2000 14:35:35 +0000 (14:35 +0000)]
Remove unused variables.

24 years agoAdd stat, uptime and version.
Dag-Erling Smørgrav [Sat, 9 Sep 2000 11:44:58 +0000 (11:44 +0000)]
Add stat, uptime and version.
Note that version currently returns the first line of the version string
from vers.c, which is not quite what a Linux system would return.

24 years agoAdd code to devname(3) so it can find the names of devices which
Poul-Henning Kamp [Sat, 9 Sep 2000 11:39:59 +0000 (11:39 +0000)]
Add code to devname(3) so it can find the names of devices which
were not present when dev_mkdb(8) was run.

First the dev_mkdb(8) database is searched, this caters for non-DEVFS
cases where people have renamed a device.

If that fails we ask the kernel using sysctl kern.devname if the device
driver has put a name in the dev_t.  This covers DEVFS cloned devices.

If that also fails we format a string which isn't entirely useless.

24 years agoOverhaul of AS2[01]0[A] description.
Wilko Bulte [Sat, 9 Sep 2000 10:02:39 +0000 (10:02 +0000)]
Overhaul of AS2[01]0[A] description.

24 years agoFirst tackle at trying to handle the New Deal on kernels.
Daniel C. Sobral [Sat, 9 Sep 2000 04:52:34 +0000 (04:52 +0000)]
First tackle at trying to handle the New Deal on kernels.

Load the first of the following kernels to be found:

${kernel} if ${kernel} is an absolute path
/boot/${kernel}/${kernel}
/boot/${kernel}/${bootfile}
${kernel}/${kernel}
${kernel}/${bootfile}
${kernel}
${bootfile}

The last instance of ${kernel} and ${bootfile} will be treated as a
list of semicolon separated file names, and each will be tried in turn,
from left to right.

Also, for each filename loader(8) will try filename, filename.ko,
filename.gz, filename.ko.gz, in that order, but that's not related
to this code.

This resulted in a major reorganization of the code, and much of what
was accumulating on loader.4th was rightly transfered to support.4th.

The semantics of boot-conf and boot also changed. Both will try to load
a kernel the same as above.

After a kernel was loaded, the variable module_path may get changed. Such
change will happen if the kernel was found with a directory prefix. In
that case, the module path will be set to ${directory};${module_path}.

Next, the modules are loaded as usual.

This is intended so kernel="xyzzy" in /boot/loader.conf will load
/boot/xyzzy/kernel.ko, load system modules from /boot/xyzzy/, and
load third party modules from /boot/modules or /modules. If that doesn't
work, it's a bug.

Also, fix a breakage of "boot" which was recently introduced. Boot without
any arguments would fail. No longer. Also, boot will only unload/reload
if the first argument is a path. If no argument exists or the first
argument is a flag, boot will use whatever is already loaded. I hope this
is POLA. That behavior is markedly different from that of boot-conf, which
will always unload/reload.

The semantics introduced here are experimental. Even if the code works,
we might decide this is not the prefered behavior. If you feel so, send
your feedback. (Yeah, this belongs in a HEADS UP or something, but I've
been working for the past 16 hours on this stuff, so gimme a break.)

24 years agoUSA_RESIDENT is no longer required for buildworld, do not force it.
Peter Wemm [Sat, 9 Sep 2000 04:42:34 +0000 (04:42 +0000)]
USA_RESIDENT is no longer required for buildworld, do not force it.

24 years agoAdd missing \'s to multline macros used for assertions.
John Baldwin [Sat, 9 Sep 2000 00:14:27 +0000 (00:14 +0000)]
Add missing \'s to multline macros used for assertions.

24 years agoActivate hesinfo.
Jacques Vidrine [Fri, 8 Sep 2000 23:35:49 +0000 (23:35 +0000)]
Activate hesinfo.

Noticed by: Don Lewis <Don.Lewis@tsc.tdk.com>

24 years agoNote 3C556/3C556B support in the xl(4) driver and subsequent
Bruce A. Mah [Fri, 8 Sep 2000 22:13:53 +0000 (22:13 +0000)]
Note 3C556/3C556B support in the xl(4) driver and subsequent
MFC.

24 years agoRename mtx_enter(), mtx_try_enter(), and mtx_exit() and wrap them with cpp
Jason Evans [Fri, 8 Sep 2000 21:48:06 +0000 (21:48 +0000)]
Rename mtx_enter(), mtx_try_enter(), and mtx_exit() and wrap them with cpp
macros that expand to pass filename and line number information.  This is
necessary since we're using inline functions instead of macros now.

Add const to the filename pointers passed througout the mtx and witness
code.

24 years agoUse inline functions instead of macros for mtx_enter(), mtx_try_enter(),
Jason Evans [Fri, 8 Sep 2000 21:47:29 +0000 (21:47 +0000)]
Use inline functions instead of macros for mtx_enter(), mtx_try_enter(),
and mtx_exit().  This change tracks the i386 version.

Rename mtx_enter(), mtx_try_enter(), and mtx_exit() and wrap them with cpp
macros that expand to pass filename and line number information.  This is
necessary since we're using inline functions instead of macros now.

Add const to the filename pointers passed througout the mtx and witness
code.

24 years agoUpdate boot and boot-conf descriptions to reflect new and old changes.
Daniel C. Sobral [Fri, 8 Sep 2000 21:39:31 +0000 (21:39 +0000)]
Update boot and boot-conf descriptions to reflect new and old changes.
Add a warning in loader(8) that boot might be changed by loader.4th.

24 years agoEnhance boot-conf.
Daniel C. Sobral [Fri, 8 Sep 2000 21:11:57 +0000 (21:11 +0000)]
Enhance boot-conf.

Now boot-conf can also receive parameters to be passed to the kernel
being booted. The syntax is the same as in the boot command, so one
boots /kernel.OLD in single-user mode by typing:

boot-conf /kernel.OLD -s   instead of
boot-conf -s /kernel.OLD

The syntax still supports use of directory instead of file name, so

boot-conf kernel.OLD -s

may be used to boot /boot/kernel.OLD/kernel.ko in single-user mode.

Notice that if one passes a flag to boot-conf, it will override the
flags set in .conf files, but only for that invocation. If the user
aborts the countdown and tries again without passing any flags, the
flags set in .conf files will be used.

Some factorization was done in the process of enhancing boot-conf,
as it has been growing steadly as features are getting added, becoming
too big for a Forth word. It still could do with more factorization,
as a matter of fact.

Override the builtin "boot" with something based on boot-conf. It will
behave exactly like boot-conf, but booting directly instead of going
through autoboot.

Since we are now pairing kernel and module set in the same directory,
this change to boot makes sense.

24 years agoRemove an unneeded extern declaration of cp_time.
John Baldwin [Fri, 8 Sep 2000 20:18:29 +0000 (20:18 +0000)]
Remove an unneeded extern declaration of cp_time.

24 years agoStrictly speaking, this works. It enumarates the PnP devices, and
Daniel C. Sobral [Fri, 8 Sep 2000 17:13:24 +0000 (17:13 +0000)]
Strictly speaking, this works. It enumarates the PnP devices, and
load the modules needed according to a file relating module names
(actually, _file_ names, not really modules -- the dependency
stuff is not exported to loader's UI) to PnP IDs.

But it still lacks a number of desired features, and it's too crude
for my tastes. But since I don't have time to work on it, it might
be preferable to make it available to those who might. It's not
installed by default, much less loaded. In fact, it wouldn't even
had a copyright message (who? me? assume responsibility for _this_?),
if the cvs commit hadn't aborted for lack of $FreeBSD$, and I decided
to just cut&paste the stuff from elsewhere.

24 years agoAdd the infrastructure necessary to handle PnP from a Forth script.
Daniel C. Sobral [Fri, 8 Sep 2000 17:03:53 +0000 (17:03 +0000)]
Add the infrastructure necessary to handle PnP from a Forth script.

Also, export the file_findfile() function. Again, this is taken from
work in progress but frozen for the time being. Since it works, I'd
rather commit and remove any uglyness later than hide it on my tree.

24 years agoFix an error message which was using the wrong variable to get the
Daniel C. Sobral [Fri, 8 Sep 2000 16:58:31 +0000 (16:58 +0000)]
Fix an error message which was using the wrong variable to get the
kernel name from.

24 years agoAdd constructors to crude structure support. Rework some of the
Daniel C. Sobral [Fri, 8 Sep 2000 16:57:28 +0000 (16:57 +0000)]
Add constructors to crude structure support. Rework some of the
code into a more modular interface, with hidden vocabularies and
such. Remove the need to a lot of ugly initialization.

Also, add a few structure definitions, from stuff used on the C
part of loader. Some of this will disappear, and the crude structure
support will most likely be replaced by full-blown OOP support
already present on FICL, but not installed by default. But it was
getting increasingly inconvenient to keep this separate on my tree,
and I already lost lots of work once because of the hurdles, so
commit this.

Anyway, it makes support.4th more structured, and I'm not proceeding
with the work on it any time soon, unfortunately.

24 years agoMake the pnp structure a global variable, so it can be used elsewhere.
Daniel C. Sobral [Fri, 8 Sep 2000 16:51:29 +0000 (16:51 +0000)]
Make the pnp structure a global variable, so it can be used elsewhere.

24 years agoFix autoboot. Now autoboot *always* show the correct kernel name. It
Daniel C. Sobral [Fri, 8 Sep 2000 16:47:05 +0000 (16:47 +0000)]
Fix autoboot. Now autoboot *always* show the correct kernel name. It
gets the name from the environment variable kernelname, which is set
when a kernel is loaded. For this reason, autoboot will _first_ try
to load a kernel, and only proceed with the wait prompt after that
succeeds. If it fails, it will abort immediately.

While I understand some may think this behavior undesirable, I think
it is, overall, the best thing to do, even if we do not consider the
aesthetic issue. Notice that anyone using the default loader.rc
already has the kernel loaded before autoboot.

On unload, unset kernelname.

Separate the code that tries to load a kernel from the list of options
to the function loadakernel(). It is used by both boot() and
autoboot().

24 years agoFixed the softintr macro which directly accessed ipending.
KATO Takenori [Fri, 8 Sep 2000 11:58:25 +0000 (11:58 +0000)]
Fixed the softintr macro which directly accessed ipending.

Suggested by: jasone

24 years agoMerged from sys/isa/sio.c revisions 1.309 - 1.311.
KATO Takenori [Fri, 8 Sep 2000 11:54:13 +0000 (11:54 +0000)]
Merged from sys/isa/sio.c revisions 1.309 - 1.311.

24 years agoPrevent buffer overflow if NLSPATH is too long
Andrey A. Chernov [Fri, 8 Sep 2000 11:42:37 +0000 (11:42 +0000)]
Prevent buffer overflow if NLSPATH is too long

24 years agoMerged from sys/i386/i386/machdep.c revision 1.407.
KATO Takenori [Fri, 8 Sep 2000 11:20:04 +0000 (11:20 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.407.

24 years agoMerged from sys/boot/i386/loader/Makefile revision 1.47.
KATO Takenori [Fri, 8 Sep 2000 11:18:40 +0000 (11:18 +0000)]
Merged from sys/boot/i386/loader/Makefile revision 1.47.

24 years agoOnly call kdb_trap() if the DDB config option is specified.
Jason Evans [Fri, 8 Sep 2000 09:51:16 +0000 (09:51 +0000)]
Only call kdb_trap() if the DDB config option is specified.

24 years agoBack out my previous commit as well as some SMPng changes to revert the
John Baldwin [Fri, 8 Sep 2000 08:50:25 +0000 (08:50 +0000)]
Back out my previous commit as well as some SMPng changes to revert the
siosetwater() function to its previous behavior of always disabling
interrupts and obtaining the com_lock before returning.

Requested by: bde (in principle)

24 years agoDisallow '/' characters in LC_* environment variables which might
Kris Kennaway [Fri, 8 Sep 2000 07:29:48 +0000 (07:29 +0000)]
Disallow '/' characters in LC_* environment variables which might
be used to point to a bad locale file. This is only believed to be a
minor security risk - the only risk is if some program uses the result
of a localized string as a format specifier in a vulnerable function
like sprintf(). No such code is believed to exist in the FreeBSD base
system, although it is possible that badly written third party code
would do that.

Submitted by: imp
Approved by: ache

24 years agosiointr1: Schedule soft interrupt when needed. This fixes the "no
Greg Lehey [Fri, 8 Sep 2000 06:58:58 +0000 (06:58 +0000)]
siointr1: Schedule soft interrupt when needed.  This fixes the "no
interrupt" problem people had seen with SMPng.

Approved by:       jasone
Tested by:         bp

24 years agoAdd a mild warning for people to expect problems in -current after the
Warner Losh [Fri, 8 Sep 2000 06:41:47 +0000 (06:41 +0000)]
Add a mild warning for people to expect problems in -current after the
SMPng merge.  Suggest 4.x-stable for a while for those people that are
unable or unwilling to cope with problems.

After 6 hours of use tonight, my gut tells me that we're going to have
lots of problems crop up in the coming weeks.

24 years agoNew relnotes: SMPng, clarification to nsswitch.conf(5)
Bruce A. Mah [Fri, 8 Sep 2000 05:58:18 +0000 (05:58 +0000)]
New relnotes:  SMPng, clarification to nsswitch.conf(5)
that hosts.conf(5) is gone, perl 5.6.0.  First two items inspired by
recent commits to UPDATING.

24 years agoLook for libstand in the built tree rather than in /usr/lib. This
Warner Losh [Fri, 8 Sep 2000 04:26:55 +0000 (04:26 +0000)]
Look for libstand in the built tree rather than in /usr/lib.  This
likely could be done better, but the tree is broken and I wanted to
get a fix into the tree.

Reviewed by: msmith

24 years agoReally fix USER_LDT. (Don't use currentldt as an L-value.)
Jake Burkholder [Fri, 8 Sep 2000 03:36:09 +0000 (03:36 +0000)]
Really fix USER_LDT.  (Don't use currentldt as an L-value.)

24 years agoFix a problem where we would recursively try to get the com lock within
John Baldwin [Fri, 8 Sep 2000 00:35:46 +0000 (00:35 +0000)]
Fix a problem where we would recursively try to get the com lock within
comparam when calling siosetwater().

Noticed by: bp

24 years agoCannot do MALLOC with M_WAITOK while holding ACQUIRE_LOCK
Kirk McKusick [Thu, 7 Sep 2000 23:02:55 +0000 (23:02 +0000)]
Cannot do MALLOC with M_WAITOK while holding ACQUIRE_LOCK

Obtained from: Ethan Solomita <ethan@geocast.com>

24 years agoAdd note about SMPNG commit.
Warner Losh [Thu, 7 Sep 2000 21:39:59 +0000 (21:39 +0000)]
Add note about SMPNG commit.

24 years agoCrypto-related release notes: sshd now has X11Forwarding on by default,
Bruce A. Mah [Thu, 7 Sep 2000 21:28:01 +0000 (21:28 +0000)]
Crypto-related release notes:  sshd now has X11Forwarding on by default,
RSAREF no longer needed in the USA, sshd now enabled by default on
new installs.

24 years agoRevamp boot message. Get the path names right.
Warner Losh [Thu, 7 Sep 2000 21:04:39 +0000 (21:04 +0000)]
Revamp boot message.  Get the path names right.

Submitted by: "Dampure, Pierre Y." <pierre.dampure@alveley.org>

24 years agoo When pre-allocating attribute storage space, also allocate space for
Robert Watson [Thu, 7 Sep 2000 20:32:31 +0000 (20:32 +0000)]
o When pre-allocating attribute storage space, also allocate space for
  attribute instance headers, or higher inode numbers will require
  additional disk blocks to be allocated later.

Obtained from: TrustedBSD Project

24 years agoPer msmith's request, don't attach to Qlogic 12160 id'd cards that have
Matt Jacob [Thu, 7 Sep 2000 20:27:40 +0000 (20:27 +0000)]
Per msmith's request, don't attach to Qlogic 12160 id'd cards that have
a certain SubVendorID.

24 years agoDon't use currentldt as an L-value.
Jake Burkholder [Thu, 7 Sep 2000 20:12:12 +0000 (20:12 +0000)]
Don't use currentldt as an L-value.
This should fix options USER_LDT.

Reported-by: John Hay <jhay@zibbi.mikom.csir.co.za>
Nickolay Dudorov <nnd@mail.nsk.ru>

24 years agoSpecial-case the LED twiddling code so that it doesn't do anything
Bill Paul [Thu, 7 Sep 2000 18:51:04 +0000 (18:51 +0000)]
Special-case the LED twiddling code so that it doesn't do anything
on the NEC VersaPro NoteBook PC. This 21143 implementation has no LEDs,
and flipping the LED control bits somehow stops it from establishing
a link. We check the subsystem ID and don't flip the LED control
bits for the NEC NIC.

24 years agoNote that the asr(4) and mly(4) drivers are in -CURRENT.
Bruce A. Mah [Thu, 7 Sep 2000 18:47:55 +0000 (18:47 +0000)]
Note that the asr(4) and mly(4) drivers are in -CURRENT.

Reviewed by: msmith, "Salyzyn, Mark" <mark_salyzyn@adaptec.com>

24 years agoClose PR #20963. Do not pass encryption keys back to the caller via
Bill Paul [Thu, 7 Sep 2000 17:05:12 +0000 (17:05 +0000)]
Close PR #20963. Do not pass encryption keys back to the caller via
wi_ioctl() unless they're the superuser.

24 years ago- Revert gratuitous reinstall -> install change in previous commit.
John Baldwin [Thu, 7 Sep 2000 16:51:23 +0000 (16:51 +0000)]
- Revert gratuitous reinstall -> install change in previous commit.
- Don't try to build modules when compiling a kernel during release.

24 years agoPierre Beyssac originally derived linprocfs from procfs, and I've made (and
Dag-Erling Smørgrav [Thu, 7 Sep 2000 16:44:26 +0000 (16:44 +0000)]
Pierre Beyssac originally derived linprocfs from procfs, and I've made (and
will keep making) significant modifications, so I'm adding both our copyrights
to the top of these files.

24 years agoRedeclare cp_time. It's no longer static, and linprocfs needs it.
Dag-Erling Smørgrav [Thu, 7 Sep 2000 16:38:04 +0000 (16:38 +0000)]
Redeclare cp_time. It's no longer static, and linprocfs needs it.

24 years agoTest for both SMP and I386_CPU being set before generating an error.
John Baldwin [Thu, 7 Sep 2000 16:10:02 +0000 (16:10 +0000)]
Test for both SMP and I386_CPU being set before generating an error.

24 years agoMFS: sync with -stable by removing the now-vestigal X_AS_PKG stuff.
Jordan K. Hubbard [Thu, 7 Sep 2000 16:05:52 +0000 (16:05 +0000)]
MFS: sync with -stable by removing the now-vestigal X_AS_PKG stuff.

24 years agoFix breakage introduced in rev.1.7. yystacksize and yysslim are global and
Nick Hibma [Thu, 7 Sep 2000 15:01:18 +0000 (15:01 +0000)]
Fix breakage introduced in rev.1.7. yystacksize and yysslim are global and
should be prefixed by YYPREFIX as well.

Only relevant if -p <yyprefix> is used. Used in cases where multiple parsers
are used in executable.

24 years agoDon't assume that address of I/O address table increase (PC-98 only).
Yoshihiro Takahashi [Thu, 7 Sep 2000 14:43:00 +0000 (14:43 +0000)]
Don't assume that address of I/O address table increase (PC-98 only).

Pointed out by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>

24 years agoMerged from sys/i386/i386/machdep.c revision 1.406.
KATO Takenori [Thu, 7 Sep 2000 13:35:44 +0000 (13:35 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.406.

24 years agoMerged from sys/isa/sio.c revision 1.306, 1.307 and 1.308.
KATO Takenori [Thu, 7 Sep 2000 13:34:45 +0000 (13:34 +0000)]
Merged from sys/isa/sio.c revision 1.306, 1.307 and 1.308.

24 years agoMerged from sys/i386/isa/npx.c revision 1.84.
KATO Takenori [Thu, 7 Sep 2000 13:33:48 +0000 (13:33 +0000)]
Merged from sys/i386/isa/npx.c revision 1.84.

24 years agoMerged from sys/i386/isa/clock.c revision 1.156.
KATO Takenori [Thu, 7 Sep 2000 13:32:59 +0000 (13:32 +0000)]
Merged from sys/i386/isa/clock.c revision 1.156.

24 years agoMerged from sys/conf/files.i386 revision 1.327 (adding synch_machdep.c
KATO Takenori [Thu, 7 Sep 2000 13:31:38 +0000 (13:31 +0000)]
Merged from sys/conf/files.i386 revision 1.327 (adding synch_machdep.c
and ithread.c.)

24 years agoFix comment to match previous commit, as per bde.
Dag-Erling Smørgrav [Thu, 7 Sep 2000 07:03:11 +0000 (07:03 +0000)]
Fix comment to match previous commit, as per bde.

24 years agoMinimal set of diffs from the i386 bits to the AlphaLinux.
David E. O'Brien [Thu, 7 Sep 2000 06:12:41 +0000 (06:12 +0000)]
Minimal set of diffs from the i386 bits to the AlphaLinux.

Submitted by: gallatin (content, minimization by me)

24 years agoThe kernel is now known as `kernel.ko' and it and its matching modules
David E. O'Brien [Thu, 7 Sep 2000 05:52:43 +0000 (05:52 +0000)]
The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.  So tweak the release build to match previous
assumptions and expectations.

24 years agoCreate an "expert" mode where the device hints are not checked during
David E. O'Brien [Thu, 7 Sep 2000 05:50:07 +0000 (05:50 +0000)]
Create an "expert" mode where the device hints are not checked during
installation.  This is need for the release build.

24 years agoMake sure to accept RA. Some laptops run /etc/pccard_ether before
Hajimu UMEMOTO [Thu, 7 Sep 2000 03:06:06 +0000 (03:06 +0000)]
Make sure to accept RA.  Some laptops run /etc/pccard_ether before
/etc/rc.network6.

PR: bin/21062

24 years agoFix getipnodebyname(3) bug.
Jacques Vidrine [Thu, 7 Sep 2000 02:18:22 +0000 (02:18 +0000)]
Fix getipnodebyname(3) bug.

Submitted by: ume

24 years agoMajor update to the way synchronization is done in the kernel. Highlights
Jason Evans [Thu, 7 Sep 2000 01:33:02 +0000 (01:33 +0000)]
Major update to the way synchronization is done in the kernel.  Highlights
include:

* Mutual exclusion is used instead of spl*().  See mutex(9).  (Note: The
  alpha port is still in transition and currently uses both.)

* Per-CPU idle processes.

* Interrupts are run in their own separate kernel threads and can be
  preempted (i386 only).

Partially contributed by: BSDi (BSD/OS)
Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh

24 years agoAdd KTR, a facility that logs kernel events in order to to facilitate
Jason Evans [Thu, 7 Sep 2000 01:29:44 +0000 (01:29 +0000)]
Add KTR, a facility that logs kernel events in order to to facilitate
debugging.

Acquired from: BSDi (BSD/OS)
Submitted by: dfr, grog, jake, jhb

24 years agoRemove superfluous `/'s before KODIR.
David E. O'Brien [Thu, 7 Sep 2000 00:26:33 +0000 (00:26 +0000)]
Remove superfluous `/'s before KODIR.

Acceptability explained by: rgrimes

24 years agoI have not tested this to completion yet, but this appears to fix world.
Peter Wemm [Thu, 7 Sep 2000 00:10:02 +0000 (00:10 +0000)]
I have not tested this to completion yet, but this appears to fix world.
Add nsswitch.h to the list of includes installed.

24 years agoFix typos
Mark Ovens [Wed, 6 Sep 2000 23:51:10 +0000 (23:51 +0000)]
Fix typos

Approved by: Warner

24 years ago``Anyone is now free to rub two primes together for their own gratification''
Kris Kennaway [Wed, 6 Sep 2000 23:46:50 +0000 (23:46 +0000)]
``Anyone is now free to rub two primes together for their own gratification''
    -- Unknown

Now that the RSA algorithm is released into the public domain, build
librsaintl by default unless NO_RSAINTL is set in make.conf.

The native OpenSSL implementation of RSA is much faster, doesn't have
an artificial keysize limitation, has 30% fewer calories and tastes great!

24 years agoSpelling police
Brian Somers [Wed, 6 Sep 2000 21:02:06 +0000 (21:02 +0000)]
Spelling police

Submitted by: des

24 years agoWith the committed changes to the loaders modules path code, the kernel
David E. O'Brien [Wed, 6 Sep 2000 20:50:24 +0000 (20:50 +0000)]
With the committed changes to the loaders modules path code, the kernel
path does not need to be hard coded.

24 years agoSince AlphaLinux is the weirdest Linux of all, probably best to do the
David E. O'Brien [Wed, 6 Sep 2000 20:21:55 +0000 (20:21 +0000)]
Since AlphaLinux is the weirdest Linux of all, probably best to do the
logic this way.

24 years agoTwo sys/compat/linux sources aren't applicable on the Alpha at this time.
David E. O'Brien [Wed, 6 Sep 2000 20:21:15 +0000 (20:21 +0000)]
Two sys/compat/linux sources aren't applicable on the Alpha at this time.

24 years agoFix whitespace bogon.
Bruce A. Mah [Wed, 6 Sep 2000 20:19:30 +0000 (20:19 +0000)]
Fix whitespace bogon.

24 years agoNote that the regular expression syntax supported by killall(1) changed
Bruce A. Mah [Wed, 6 Sep 2000 20:17:33 +0000 (20:17 +0000)]
Note that the regular expression syntax supported by killall(1) changed
when it became a C program.

Submitted by: sheldonh

24 years agoess maestro driver - not enabled by default
Cameron Grant [Wed, 6 Sep 2000 20:10:55 +0000 (20:10 +0000)]
ess maestro driver - not enabled by default

Submitted by:   Taku YAMAMOTO <taku@cent.saitama-u.ac.jp>

24 years agoFix markup typo
Mark Ovens [Wed, 6 Sep 2000 20:09:39 +0000 (20:09 +0000)]
Fix markup typo

PR: 21084
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>