Commit Graph

71212 Commits

Author SHA1 Message Date
dfr
83831b9884 Only i386 has wbinvd(). 2002-03-12 09:45:17 +00:00
murray
7e60e32615 * Add print/teTeX to the list of important packages for disc #3. This
very large package is exactly the kind of thing that users buy the
  CDs for, so leaving it off of a 4 CD set is very bad.

* Properly quote the last security/sudo entry.

* Add a comment in the CDROM #2 section explaining that packages don't
  typically go on this disc.
2002-03-12 08:37:50 +00:00
jeff
23f3e8f217 This patch adds the "LOCKSHARED" option to namei which causes it to only acquire shared locks on leafs.
The stat() and open() calls have been changed to make use of this new functionality.  Using shared locks in
these cases is sufficient and can significantly reduce their latency if IO is pending to these vnodes.  Also,
this reduces the number of exclusive locks that are floating around in the system, which helps reduce the
number of deadlocks that occur.

A new kernel option "LOOKUP_SHARED" has been added.  It defaults to off so this patch can be turned on for
testing, and should eventually go away once it is proven to be stable.  I have personally been running this
patch for over a year now, so it is believed to be fully stable.

Reviewed by:	jake, obrien
Approved by:	jake
2002-03-12 04:00:11 +00:00
obrien
60c848470f Consistently use $PICFLAG. 2002-03-12 01:18:07 +00:00
obrien
8da91d6d7b Spell pic "PIC" for sparc64. 2002-03-12 01:14:19 +00:00
obrien
c7274e856b Background the startup of `Amd', it often blocks on startup. 2002-03-12 01:04:35 +00:00
obrien
c1780bdd35 Why shouldn't amd always write its PID to a file?
Since I cannot answer that question, make it.
2002-03-12 01:01:53 +00:00
peter
51ebc9da69 Fix some -Wunused warnings by "using" a macro argument 2002-03-12 00:19:14 +00:00
peter
eb1520347e Fix a warning (make ucontext_t *ucp a const) 2002-03-12 00:18:20 +00:00
peter
9a22ed4a07 Stop concatenating __func__ with strings 2002-03-12 00:17:45 +00:00
peter
eac48af523 Deal with a structure member rename in a recent acpica import 2002-03-12 00:15:57 +00:00
peter
c756864425 Do not concatenate __func__ with strings, because it is not a string.
Later gcc's blow up on this.
2002-03-12 00:15:06 +00:00
peter
73306e67dc Do not do string concatenation with __func__ (which is not a string) 2002-03-12 00:12:59 +00:00
peter
01b160f265 Recent acpica imports have changed the lengths from UINT32 to ACPI_SIZE,
which is 64 bit on ia64.  Fix it.
2002-03-12 00:10:40 +00:00
brooks
b38082bfca Add support for 3Com Airconnect PCI cards.
MFC after:	3 days
2002-03-11 23:29:59 +00:00
green
132d7f15a7 Remove some files we don't want. 2002-03-11 22:53:27 +00:00
green
92c4ebdfce s/nilename/filename/ 2002-03-11 22:36:45 +00:00
green
4902ec0db8 Fix conflicts. 2002-03-11 22:36:26 +00:00
green
1cfb2fd8a2 This commit was generated by cvs2svn to compensate for changes in r92111,
which included commits to RCS files with non-trunk default branches.
2002-03-11 22:30:00 +00:00
green
fdb69af642 Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:30:00 +00:00
green
f834ca0ed8 This commit was generated by cvs2svn to compensate for changes in r92109,
which included commits to RCS files with non-trunk default branches.
2002-03-11 22:29:59 +00:00
green
4419f7d9e3 Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:29:59 +00:00
phk
2d0b2652a9 First commit of the GEOM subsystem to make it easier for people to
test and play with this.

This is not yet production quality and should be run only on dedicated
test boxes.

For people who want to develop transformations for GEOM there exist a
set of shims to run geom in userland (ask phk@freebsd.org).

Reports of all kinds to: phk@freebsd.org
Please include in report:
        dmesg
        sysctl debug.geomdot
        sysctl debug.geomconf

Known significant limitations:
        no kernel dump facility.
        ioctls severely restricted.

Sponsored by:   DARPA, NAI Labs
2002-03-11 21:42:35 +00:00
sos
7f27a23fdb Add new support for locking an ATA channel and use that throughout
the ATA/ATAPI driver. This solves the concurrency problem with
the new GEOM code, and also cuts a good deal of the patch size
in the upcoming MFC.
2002-03-11 21:04:32 +00:00
jhb
7a6c7298d9 Fix a misspelling of mine: s/optomization/optimization/.
Noticed by:	bmilekic
2002-03-11 19:58:53 +00:00
rwatson
c0018d64bb Update login failure checking to check auth.log instead of messages,
and teach it to look for more general classes of failures, including
SSH login failures.  This is similar but not identical to a patch
submitted by aeonflux@synapse.subneural.net.
2002-03-11 19:39:08 +00:00
jhb
bd9fc91767 Grrr, turn preemption back off on the alpha again. It is still not stable.
Noticed by:	wilko, mjacob, jhb, peter, and others
2002-03-11 19:35:10 +00:00
rwatson
3421730849 Turns out everyone is a lot lazier than I thought. Spell
'authentication.log' as 'auth.log'.

This is also more consistent with syslog facility names.

Sigh. :-)

Submitted by:	asmodai, aeonflux, green, ....
2002-03-11 19:34:57 +00:00
rwatson
177f8a82f5 Clean up logging of security information a bit:
o Introduce /var/log/authentication.log, which will be the target for
  auth.info and authpriv.info by default.  Rotate on the same schedule
  as most other logs.  Create at installation.

o Remove logging of auth.info from /var/log/security.log, which will
  return to being only for security feature subsystems (such as ipfw,
  and so on).

This creates a special authentication log, which can now be searched
by scripts for authentication events.
2002-03-11 19:26:29 +00:00
iedowse
60abcb00b0 Fix a bug in ufsdirhash_adjfree() that caused it to incorrectly
update the free-space statistics in some cases. The problem affected
directory blocks when the free space dropped below the size of the
maximum allowed entry size. When this happened, the free-space
summary information could claim that there are no further blocks
that can fit a maximum-size entry, even if there are.

The effect of this bug is that the directory may be enlarged even
though there is space within the directory for the new entry. This
wastes disk space and has a negative impact on performance.

Fix it by correctly computing the dh_firstfree array index, adding
a helper macro for clarity. Put an extra sanity check into
ufsdirhash_checkblock() to detect the situation in future.

Found by:	dwmalone
Reviewed by:	dwmalone
MFC after:	1 week
2002-03-11 19:13:22 +00:00
imp
9136e81d86 On FreeBSD make usb_proc_t the same as d_thred_t always. 2002-03-11 16:38:53 +00:00
phk
3c1100894c I missed one VOP_CLOSE in the previous commit.
Pointed out by:	bde
2002-03-11 16:27:04 +00:00
joe
57affa9748 Be more specific about when block major numbers disappeared from
the cdev switch.
2002-03-11 16:22:15 +00:00
murray
ab001f063e Add security/sudo to the list of packages for disc #1. sudo is small
(< 100k), has no dependencies, and is very popular.
2002-03-11 15:08:41 +00:00
phk
44066f813f As a XXX bandaid open the mounted device READ/WRITE even if we only mount
read-only.

The trouble here is that we don't reopen the device in read/write mode
when we remount in read/write mode resulting in a filesystem sending
write requests to a device which was only opened read/only.

I'm not quite sure how such a reopen would best be done and defer
the problem to more agile hackers.
2002-03-11 13:53:00 +00:00
murray
6ae4808f0c Update number of ports available. 2002-03-11 13:48:13 +00:00
maxim
ebc5fa3617 Remove duplicated yacc nonterminals declarations, sort includes.
No functional changes from rev. 1.31.

Reviewed by:	ru
Approved by:	ru
MFC after:	1 week
2002-03-11 11:48:55 +00:00
markm
5c060984bf Try harder to lint without nonstandard stuff. 2002-03-11 11:32:55 +00:00
markm
d2b419ab6f Punt to attic file that moved in latest import. 2002-03-11 11:28:56 +00:00
markm
283a853f3b Fix a prototype to match our headers. I am not convinced that doing
this in this file is the correct way round. (Maybe our definition of
__assert is wrong?)

Anyway, perhaps we should revisit this later. For the time being,
building lint libraries here does not blow up.
2002-03-11 11:26:17 +00:00
des
c39818027a Sparc64 support. 2002-03-11 11:23:48 +00:00
markm
c5636055d3 Fix silly one line error. (Half a .if statement left behind). 2002-03-11 11:20:45 +00:00
maxim
10546e9a48 Add a bunch of functions.
PR:		docs/32561
Reviewed by:	deischen, ru
Approved by:	ru
MFC after:	2 weeks
2002-03-11 10:45:18 +00:00
phk
652afdc501 Remove use of the bogus ioctl DIOCGPART.
It was used to initialize an unused variable, because ext2fs was
copy&pasted from UFS rather than copy,paste&cleaned from UFS.

Suggested by:	bde
2002-03-11 10:11:00 +00:00
mux
ca540b5c8a Simplify the interface cloning framework by handling unit
unit allocation with a bitmap in the generic layer.  This
allows us to get rid of the duplicated rman code in every
clonable interface.

Reviewed by:	brooks
Approved by:	phk
2002-03-11 09:26:07 +00:00
cjc
d4a3eb43e2 Don't protect savecore(8) from being run with a bad dumpdir
argument. Don't fail silently, but let savecore(8) make noise. It
won't behave badly, it doesn't need protection.

At the same time, allow the administrator to have dumpdev enabled
while dumpdir (savecore(8)) is disabled and document how to do it.

PR:		conf/35725
2002-03-11 08:47:02 +00:00
phk
c40f0c307f Add commented out GEOM line to NOTES 2002-03-11 08:27:23 +00:00
phk
10aae693f8 Add GEOM to conf/files. 2002-03-11 08:24:12 +00:00
phk
9f2c6e4d8b Augment struct bio for GEOM. 2002-03-11 08:20:22 +00:00
phk
cb97e771d3 Add a field to struct disk for GEOM 2002-03-11 08:17:40 +00:00