Commit Graph

71222 Commits

Author SHA1 Message Date
cjc
bde27f5c3c The reload of ipf(8) rules should depend on $ipfilter_enable, not
$ipfilter_active. $ipfilter_enable is set to "NO" if modules fail to
load, and $ipfilter_active can be "YES" when we are not using ipf(8).

MFC after:	3 days
2002-03-12 20:25:25 +00:00
charnier
915168b6f7 RETURN VALUES is for sections 2, 3 and 9, but here in section 1 man page,
DIAGNOSTICS should be used instead.

Reviewed by:	wosch
2002-03-12 20:00:52 +00:00
gad
42c020af81 Simple fix so the 'LOGIN FAILURE' message send to syslog will include
the correct userid, instead of random garbage.  This bug does not
exist in -stable.

Reviewed by:	freebsd-audit
2002-03-12 19:48:32 +00:00
des
42c25f9773 Don't try to cross-build sysinstall. 2002-03-12 18:55:53 +00:00
ue
b400f3a822 German Translation of the Release Notes for FreeBSD-current 2002-03-12 18:35:54 +00:00
brian
e3b5feb1f5 Handle B460800 and B921600 being defined in <termios.h> 2002-03-12 16:05:26 +00:00
luigi
89ee13ec01 Document the existence of machdep.guessed_bootdev, as suggested
by Sheldon.
For a detailed description look at the commit log for sysctl.c
rev.1.42 -- i do not think it is appropriate to put the full
description in this manpage, and the "boot" and "loader" manpages
where this description might go are also missing a description of
a number of similar variables, so i think this it is ok to limit
documentation to this now, and update it later when I (or someone
else) have a chance to revise "boot" and "loader".
2002-03-12 13:55:19 +00:00
markm
78a438dfb5 Turn back on (x)lint. It is working just fine. 2002-03-12 13:43:02 +00:00
murray
9066bf9d62 This driver first appeared in FreeBSD 4.5, not 5.0. 2002-03-12 12:26:05 +00:00
murray
8be072ea1e Point readers to the Porter's Handbook instead of the non-existant
"Porting Applications" section of the FreeBSD Handbook.

MFC After: 2 days
2002-03-12 09:45:29 +00:00
dfr
c9a75e90ac Only i386 has wbinvd(). 2002-03-12 09:45:17 +00:00
murray
af1be86a5d * 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
e6d26e8880 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
b6412800f5 Consistently use $PICFLAG. 2002-03-12 01:18:07 +00:00
obrien
53239a8ea2 Spell pic "PIC" for sparc64. 2002-03-12 01:14:19 +00:00
obrien
0f0107f79e Background the startup of `Amd', it often blocks on startup. 2002-03-12 01:04:35 +00:00
obrien
eff3c6b824 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
e65affeb45 Fix some -Wunused warnings by "using" a macro argument 2002-03-12 00:19:14 +00:00
peter
ff3e7533a6 Fix a warning (make ucontext_t *ucp a const) 2002-03-12 00:18:20 +00:00
peter
3e0ebce93d Stop concatenating __func__ with strings 2002-03-12 00:17:45 +00:00
peter
49ade32a5c Deal with a structure member rename in a recent acpica import 2002-03-12 00:15:57 +00:00
peter
bce3d7f621 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
4bd977bea6 Do not do string concatenation with __func__ (which is not a string) 2002-03-12 00:12:59 +00:00
peter
e19329dfa6 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
593f3e9668 Add support for 3Com Airconnect PCI cards.
MFC after:	3 days
2002-03-11 23:29:59 +00:00
green
77c41bfb75 Remove some files we don't want. 2002-03-11 22:53:27 +00:00
green
afc9128405 s/nilename/filename/ 2002-03-11 22:36:45 +00:00
green
7ca574f59c Fix conflicts. 2002-03-11 22:36:26 +00:00
green
08dc078a21 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
0288c7557e Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:30:00 +00:00
green
bbf9985351 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
502a015d4b Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:29:59 +00:00
phk
3e53a43775 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
2bbd43c8f1 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
fb6b9eab60 Fix a misspelling of mine: s/optomization/optimization/.
Noticed by:	bmilekic
2002-03-11 19:58:53 +00:00
rwatson
dcb54d0614 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
88fca29c1b 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
2cd75cb889 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
89e30355de 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
cf446bea56 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
a5126a967f On FreeBSD make usb_proc_t the same as d_thred_t always. 2002-03-11 16:38:53 +00:00
phk
2098322771 I missed one VOP_CLOSE in the previous commit.
Pointed out by:	bde
2002-03-11 16:27:04 +00:00
joe
4e03c97b1d Be more specific about when block major numbers disappeared from
the cdev switch.
2002-03-11 16:22:15 +00:00
murray
6597c656f9 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
c68bd5ed71 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
844d26540e Update number of ports available. 2002-03-11 13:48:13 +00:00
maxim
1459c4fc94 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
3be0ca6854 Try harder to lint without nonstandard stuff. 2002-03-11 11:32:55 +00:00
markm
6c291d8e30 Punt to attic file that moved in latest import. 2002-03-11 11:28:56 +00:00
markm
0bea1968bc 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