]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
16 years agoFix (uncritical) potential buffer overflow: the length of "buf" was not
Stefan Eßer [Thu, 15 Nov 2007 07:31:11 +0000 (07:31 +0000)]
Fix (uncritical) potential buffer overflow: the length of "buf" was not
extended when "jaiL" was added to fmt_flags().
MFC after: 1 week

16 years agoThis time REALLY copy the name from the proc to the thread as a default.
Julian Elischer [Thu, 15 Nov 2007 06:35:26 +0000 (06:35 +0000)]
This time REALLY copy the name from the proc to the thread as a default.

16 years agoBriefly document what the -c option of the "label" command does.
Ruslan Ermilov [Thu, 15 Nov 2007 06:31:18 +0000 (06:31 +0000)]
Briefly document what the -c option of the "label" command does.

MFC after: 3 days

16 years agoRevise the markup and apply some wordsmithing.
Ruslan Ermilov [Thu, 15 Nov 2007 06:23:33 +0000 (06:23 +0000)]
Revise the markup and apply some wordsmithing.

Reviewed by: pjd
MFC after: 3 days

16 years agoWhen forking, the new thread deserves a name too. Don't just use the
Julian Elischer [Thu, 15 Nov 2007 02:13:44 +0000 (02:13 +0000)]
When forking, the new thread deserves a name too. Don't just use the
td_startcopy section as it is not the right thing to do
in other cases (e.g. if starting a new thread from one that is already named).

16 years agoThis commit was generated by cvs2svn to compensate for changes in r173619,
David E. O'Brien [Wed, 14 Nov 2007 22:58:36 +0000 (22:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r173619,
which included commits to RCS files with non-trunk default branches.

16 years agoBring in FSF revision 1.9 (Change type of ps_strings from int to u_long).
David E. O'Brien [Wed, 14 Nov 2007 22:58:36 +0000 (22:58 +0000)]
Bring in FSF revision 1.9 (Change type of ps_strings from int to u_long).
This fixes a situation where GDB gives incorrect backtraces when a signal
handler is in the call chain.

Submitted by: Stu Grossman <grossman@juniper.net>

16 years agocorrect MIMO power save action frame format;
Sam Leffler [Wed, 14 Nov 2007 21:28:48 +0000 (21:28 +0000)]
correct MIMO power save action frame format;
this one really is from the D2.04 spec

MFC after: 3 days

16 years agoRemove a bogus KASSERT which will prevent rwlock to be acquired
Attilio Rao [Wed, 14 Nov 2007 21:21:48 +0000 (21:21 +0000)]
Remove a bogus KASSERT which will prevent rwlock to be acquired
recursively in exclusive mode with debugging kernels.

Submitted by: kmacy
Approved by: jeff

16 years agoAdd reload functionality.
Henrik Brix Andersen [Wed, 14 Nov 2007 21:19:15 +0000 (21:19 +0000)]
Add reload functionality.

PR: conf/116659
Approved by: sam, erwin (mentor)

16 years agoo Rename cpu_thread_setup() to cpu_thread_alloc() to better
Marcel Moolenaar [Wed, 14 Nov 2007 20:21:54 +0000 (20:21 +0000)]
o  Rename cpu_thread_setup() to cpu_thread_alloc() to better
   communicate that it relates to (is called by) thread_alloc()
o  Add cpu_thread_free() which is called from thread_free()
   to counter-act cpu_thread_alloc().

i386: Have cpu_thread_free() call cpu_thread_clean() to
preserve behaviour.
ia64: Have cpu_thread_free() call mtx_destroy() for the
mutex initialized in cpu_thread_alloc().

PR: ia64/118024

16 years agoAdd wlan_amrr to the required devices/modules
Benjamin Close [Wed, 14 Nov 2007 12:51:02 +0000 (12:51 +0000)]
Add wlan_amrr to the required devices/modules

Submitted By: glebius

16 years agoMFi386: revision 1.661
Yoshihiro Takahashi [Wed, 14 Nov 2007 12:29:09 +0000 (12:29 +0000)]
MFi386: revision 1.661

  Drastically simplify the i386 pcpu backend by merging parts of the
  amd64 mechanism over.

16 years ago- Merge all the ng_send_fn2* functions into one - ng_send_fn2(),
Gleb Smirnoff [Wed, 14 Nov 2007 11:25:58 +0000 (11:25 +0000)]
- Merge all the ng_send_fn2* functions into one - ng_send_fn2(),
  removing some copy&pasted code.
- Reduce copy and paste in ng_apply_item().
- Resurrect ng_send_fn() as a valid symbol, not a define.

Reviewed by: mav, julian

16 years agoFix build of the "package" target, ignoring non existing
Luigi Rizzo [Wed, 14 Nov 2007 07:38:22 +0000 (07:38 +0000)]
Fix build of the "package" target, ignoring non existing
floppy types (in fact, we have only one left!)
Also cleanup some code, using || and && in some places, and
using "export VAR=value" instead of two separate lines.

16 years agoA bunch more files that should probably print out a thread name
Julian Elischer [Wed, 14 Nov 2007 06:51:33 +0000 (06:51 +0000)]
A bunch more files that should probably print out a thread name
instead of a process name.

16 years agogenerally we are interested in what thread did something as
Julian Elischer [Wed, 14 Nov 2007 06:21:24 +0000 (06:21 +0000)]
generally we are interested in what thread did something as
opposed to what process. Since threads by default have teh name of the
process unless over-written with more useful information, just print the
thread name instead.

16 years agoMake sure there is a good default thread name for all threads.
Julian Elischer [Wed, 14 Nov 2007 06:04:57 +0000 (06:04 +0000)]
Make sure there is a good default thread name for all threads.

16 years agoApply the same sort of locking done in
Julian Elischer [Wed, 14 Nov 2007 05:43:55 +0000 (05:43 +0000)]
Apply the same sort of locking done in
   sys/dev/acpica/acpi.c rev 1.196 a while ago:

Grab Giant around calls to DEVICE_SUSPEND/RESUME in
acpi_SetSleepState().
If we are resuming non-MPSAFE drivers, they need Giant held for them.
This may fix some obscure suspend/resume problems.  It has fixed keyrate
setting problems that were triggered by cardbus (MPSAFE) changing the
ordering for syscons resume (non-MPSAFE).  Also, add some asserts that
Giant is held in our suspend/resume and shutdown methods.

Submitted by: Marko Zec

16 years agoFix picobsd builds. Changes include:
Luigi Rizzo [Wed, 14 Nov 2007 05:42:54 +0000 (05:42 +0000)]
Fix picobsd builds. Changes include:
- use proper make configuration for the build, using
  ${BINMAKE} as evaluated by ${VERSION}/src/Makefile
- remove -lmytinfo from crunch.conf
- remove support for login_access in tinyware/login
- remove "machine i386" from the kernel config file

It might actually be interesting to extend the script to do
a cross build for !i386 ...

MFC after: 3 days

16 years agoReserve a bit for use when capturing callchains.
Joseph Koshy [Wed, 14 Nov 2007 04:48:58 +0000 (04:48 +0000)]
Reserve a bit for use when capturing callchains.

16 years agoDrastically simplify the i386 pcpu backend by merging parts of the
Peter Wemm [Tue, 13 Nov 2007 23:00:24 +0000 (23:00 +0000)]
Drastically simplify the i386 pcpu backend by merging parts of the
amd64 mechanism over.  Instead of page table hackery that isn't
actually needed, just use 'struct pcpu __pcpu[MAXCPU]' for backing like
all the other platforms do.  Get rid of 'struct privatespace' and a
while mess of #ifdef SMP garbage that set it up.  As a bonus, this
returns the 4MB of KVA that we stole to implement it the old way.
This also allows you to read the pcpu data for each cpu when reading a
minidump.

Background information:  Originally, pcpu stuff was implemented as having
per-cpu page tables and magic to make different data structures appear
at the same actual address.  In order to share page tables, we switched
to using the GDT and %fs/%gs to access it.  But we still did the evil
magic to set it up for the old way.  The "idle stacks" are not used
for the idle process anymore and are just used for a few functions during
bootup, then ignored.  (excercise for reader: free these afterwards).

16 years agoSort.
Ruslan Ermilov [Tue, 13 Nov 2007 20:26:27 +0000 (20:26 +0000)]
Sort.

16 years agoo Do not leak inodes hash table at module unload.
Maxim Konovalov [Tue, 13 Nov 2007 19:34:06 +0000 (19:34 +0000)]
o Do not leak inodes hash table at module unload.

PR: kern/118017
Submitted by: Ighighi
MFC after: 1 week

16 years agoAdd instructions about how to upgrade less in base system
Xin LI [Tue, 13 Nov 2007 18:54:35 +0000 (18:54 +0000)]
Add instructions about how to upgrade less in base system

16 years agoXref wpi(4).
Christian Brueffer [Tue, 13 Nov 2007 16:42:22 +0000 (16:42 +0000)]
Xref wpi(4).

16 years agoCleanup, mostly typo fixes.
Christian Brueffer [Tue, 13 Nov 2007 16:40:23 +0000 (16:40 +0000)]
Cleanup, mostly typo fixes.

16 years agoDocument hardware wpi(4) supports.
Christian Brueffer [Tue, 13 Nov 2007 16:27:29 +0000 (16:27 +0000)]
Document hardware wpi(4) supports.

16 years agoRemove the IEEE80211_C_WEP capability flag - setting it makes net80211 expect
Rink Springer [Tue, 13 Nov 2007 16:12:59 +0000 (16:12 +0000)]
Remove the IEEE80211_C_WEP capability flag - setting it makes net80211 expect
that the driver will handle WEP encryption. However, this does not seem to be
implemented by this driver (or maybe the chipset doesn't support it?)

Removing the flag makes my wpi card work using wpa_supplicant(8) on a
network with 802.1x security (without this change it authenticated fine, but
tcpdump only saw garbage packets)

Reviewed by: benjsc, imp (mentor)
Approved by: imp (mentor), sam

16 years agoSplit decr_init() into two, with the section that reads the timebase
Peter Grehan [Tue, 13 Nov 2007 15:47:55 +0000 (15:47 +0000)]
Split decr_init() into two, with the section that reads the timebase
frequency from OpenFirmware moved out and into a routine that is called
from cpu_startup().

This allows correct reporting of the CPU clockspeed when printing out
CPU information at boot time.

Reported by: numerous
Reviewed by: marcel
MFC after: 1 day

16 years ago- Steal short description from POSIX; it's more technical and was
Ruslan Ermilov [Tue, 13 Nov 2007 11:34:20 +0000 (11:34 +0000)]
- Steal short description from POSIX; it's more technical and was
  easier to translate.
- Fix some markup nits.

16 years agoAssorted tiny mdoc(7) fixes:
Ruslan Ermilov [Tue, 13 Nov 2007 11:31:53 +0000 (11:31 +0000)]
Assorted tiny mdoc(7) fixes:

- Sort sections.
- Fix xrefs.
- Fix some misusages of some macros.

16 years agoSort.
Ruslan Ermilov [Tue, 13 Nov 2007 11:23:52 +0000 (11:23 +0000)]
Sort.

16 years agoIn sys/netipsec/keysock.c rev. 1.19 a missing priv check was added.
Bjoern A. Zeeb [Tue, 13 Nov 2007 08:59:29 +0000 (08:59 +0000)]
In sys/netipsec/keysock.c rev. 1.19 a missing priv check was added.
Before that non-su users were able to open pfkey sockets as well.

Add a regression test so we can detect such problems in an automated way
in the future.

16 years agoInclude agpreg.h from it's new location.
John Birrell [Tue, 13 Nov 2007 01:30:40 +0000 (01:30 +0000)]
Include agpreg.h from it's new location.

16 years agoThough we are currently not interested in the EDD3 flag,
Bjoern A. Zeeb [Mon, 12 Nov 2007 23:53:43 +0000 (23:53 +0000)]
Though we are currently not interested in the EDD3 flag,
Enhanced Disk Drive Specification Ver 3.0 defines that the version
of extension in AH would be 30h.
Correct the check for that to be >=30h instead of >3h.
MFC after: 2 months

16 years agoAdd a missing priv check in key_attach to prevent non-su users
Bjoern A. Zeeb [Mon, 12 Nov 2007 23:47:48 +0000 (23:47 +0000)]
Add a missing priv check in key_attach to prevent non-su users
from messing with the spdb and sadb.

Problem sneaked in with the fast_ipsec+v6->ipsec merger by no
longer going via raw_usrreqs.pr_attach.

Reported by: Pawel Worach
Identified by: rwatson
Reviewed by: rwatson
MFC after: 3 days

16 years agoMove the agp(4) driver from sys/pci to sys/dev/agp. __FreeBSD_version was
John Baldwin [Mon, 12 Nov 2007 21:51:38 +0000 (21:51 +0000)]
Move the agp(4) driver from sys/pci to sys/dev/agp.  __FreeBSD_version was
bumped to 800004 to note the change though userland apps should not be
affected since they use <sys/agpio.h> rather than the headers in
sys/dev/agp.

Discussed with: anholt
Repocopy by: simon

16 years agowrite(1) needs to strip off the leading /dev/ from the tty name for the
John Baldwin [Mon, 12 Nov 2007 20:02:21 +0000 (20:02 +0000)]
write(1) needs to strip off the leading /dev/ from the tty name for the
current tty as returned from ttyname(3) so it can try to avoid writing to
the current tty if possible.  Previously, it did this by trimming off any
leading directory (effectively performing a basename(3) on the path
returned from ttyname(3)).  However, this chopped off too much of the path
for ttys who have directories in their name such as pts(4).  Instead, just
strip off the leading /dev/ from the path returned by ttyname(3).  This
fixes write(1) when using pts(4).

MFC after: 1 week
Reported by: rwatson

16 years agoSome cleanup.
Christian Brueffer [Mon, 12 Nov 2007 19:59:22 +0000 (19:59 +0000)]
Some cleanup.

16 years agoCorrect a stack overflow which will trigger panics when
Xin LI [Mon, 12 Nov 2007 18:57:33 +0000 (18:57 +0000)]
Correct a stack overflow which will trigger panics when
mode= is specified, caused by incorrect format string
specified to vfs_scanopt() and subsequently vsscanf().

Pointed out by: kib
Submitted by: des

16 years agoManual page for the asmc driver.
Rui Paulo [Mon, 12 Nov 2007 17:52:00 +0000 (17:52 +0000)]
Manual page for the asmc driver.

Approved by: njl (mentor)

16 years ago - Fix the ktr header regexp so we match lines with very large indexes.
Jeff Roberson [Mon, 12 Nov 2007 17:33:07 +0000 (17:33 +0000)]
 - Fix the ktr header regexp so we match lines with very large indexes.
 - Add support for messages where cpu load is added to a remote cpu.
 - print unmatched lines to stdout

16 years agoAdd support for D-Link DGE-528(T) Rev.B1
Remko Lodder [Mon, 12 Nov 2007 15:44:00 +0000 (15:44 +0000)]
Add support for D-Link DGE-528(T) Rev.B1

PR: 112774
Submitted by: Denis Fortin <fortin at acm dot org>
Approved by: imp (mentor), yongari
MFC After: 3 days

16 years agoAdd support for "freebsd-update -r newrelease upgrade" -- binary
Colin Percival [Mon, 12 Nov 2007 04:47:57 +0000 (04:47 +0000)]
Add support for "freebsd-update -r newrelease upgrade" -- binary
upgrading to new releases.  Important parts of this code include
 * automatically determining which optional components (e.g., src,
info, proflibs) are installed.
 * merging changes in files which are modified locally and have
changed between the currently running and new release.
 * prompting the user to rebuild all 3rd party software before
deleting old shared libraries.

Yes, this is compatible with "freebsd-update rollback" -- you can
test a new -BETA and roll back to the old release if you don't
like it.

Subject to re@ approval, this will be MFCed before 7.0-BETA3 and
6.3-RC1.

MFC after: 2 days

16 years agoUpdate quirks for the MetaGeek Wi-Spy 1A, 1B and 2.4x.
Henrik Brix Andersen [Sun, 11 Nov 2007 20:57:08 +0000 (20:57 +0000)]
Update quirks for the MetaGeek Wi-Spy 1A, 1B and 2.4x.

PR: usb/116057
Approved by: imp, erwin (mentor)

16 years agoMore cleanup.
Christian Brueffer [Sun, 11 Nov 2007 19:40:46 +0000 (19:40 +0000)]
More cleanup.

16 years agosendmail 8.14.2 has been merged to RELENG_[7654].
Gregory Neil Shapiro [Sun, 11 Nov 2007 17:16:55 +0000 (17:16 +0000)]
sendmail 8.14.2 has been merged to RELENG_[7654].

16 years agoThe ESP driver isn't really MPSAFE, so don't mark it that it is.
Scott Long [Sun, 11 Nov 2007 14:45:35 +0000 (14:45 +0000)]
The ESP driver isn't really MPSAFE, so don't mark it that it is.

16 years agoAdjust the padding of struct pcpu to src/sys/sys/pcpu.h rev 1.23.
Marius Strobl [Sun, 11 Nov 2007 12:30:56 +0000 (12:30 +0000)]
Adjust the padding of struct pcpu to src/sys/sys/pcpu.h rev 1.23.

16 years agoForced commit to note that the previous change was...
Giorgos Keramidas [Sun, 11 Nov 2007 08:14:22 +0000 (08:14 +0000)]
Forced commit to note that the previous change was...

Reviewed by: ceri

16 years ago* Expand the example descriptions, fix mdoc-bugs in
Giorgos Keramidas [Sun, 11 Nov 2007 08:12:21 +0000 (08:12 +0000)]
* Expand the example descriptions, fix mdoc-bugs in
  "(-a and -t vnode are implied)"
  and reuse it near the cd9660 example.
* Spell 'backing store' as two words.

16 years agoUpdate pf examples from OpenBSD to catch up with new stateful defaults and
Max Laier [Sun, 11 Nov 2007 01:16:51 +0000 (01:16 +0000)]
Update pf examples from OpenBSD to catch up with new stateful defaults and
other syntax changes.  Move pf.conf from /etc to examples, too.

16 years agoFix segfault while running with -a option and deinstalling broken
Kirill Ponomarev [Sat, 10 Nov 2007 22:57:12 +0000 (22:57 +0000)]
Fix segfault while running with -a option and deinstalling broken
packages with incorrect plists.

PR: bin/115327
Submitted by: Michael Zhilin <mizhka@gmail.com>
MFC after: 3 days

16 years agospaces are preferred to tabs
Sam Leffler [Sat, 10 Nov 2007 22:47:46 +0000 (22:47 +0000)]
spaces are preferred to tabs

Noted by: simon

16 years agoinstall hostapd.conf and related files for folks that don't have source
Sam Leffler [Sat, 10 Nov 2007 20:27:09 +0000 (20:27 +0000)]
install hostapd.conf and related files for folks that don't have source

MFC after: 1 week

16 years agofix building w/ WITHOUT_WPA_SUPPLICANT_EAPOL
Sam Leffler [Sat, 10 Nov 2007 20:26:08 +0000 (20:26 +0000)]
fix building w/ WITHOUT_WPA_SUPPLICANT_EAPOL

MFC after: 1 week

16 years agoinstall sample wpa_supplicant.conf; not everyone has source to reference
Sam Leffler [Sat, 10 Nov 2007 20:24:28 +0000 (20:24 +0000)]
install sample wpa_supplicant.conf; not everyone has source to reference

16 years agoadd wpa_supplicant + hostapd directories to examples
Sam Leffler [Sat, 10 Nov 2007 20:23:07 +0000 (20:23 +0000)]
add wpa_supplicant + hostapd directories to examples

MFC after: 1 week

16 years agoEliminate a stale comment concerning contigmalloc(9).
Alan Cox [Sat, 10 Nov 2007 19:11:51 +0000 (19:11 +0000)]
Eliminate a stale comment concerning contigmalloc(9).

16 years agoAdd SMB support for the MCP61 chipset.
Remko Lodder [Sat, 10 Nov 2007 17:12:08 +0000 (17:12 +0000)]
Add SMB support for the MCP61 chipset.

PR: 108830
Submitted by: Edwin Mons <freebsd at edwinm dot ik dot nu>
Approbed by: imp (mentor)

16 years agoHook up rmlock(9) and its links to the build.
Robert Watson [Sat, 10 Nov 2007 16:47:38 +0000 (16:47 +0000)]
Hook up rmlock(9) and its links to the build.

16 years agoAdd private tx/rx buffer management to support large frame sizes
Sam Leffler [Sat, 10 Nov 2007 16:23:38 +0000 (16:23 +0000)]
Add private tx/rx buffer management to support large frame sizes
and update the rx code to handle multiple frames in a single usb
transfer.  AX772 parts (at least) exhibit many input errors when
operated with a 2K rx buffer and no errors w/ a 4K rx buffer (it's
unclear what the cause of the errors is for 2K so this may just be
covering up the real issue).  Larger rx buffer sizes show no
significant performance improvement for AX772.  Bypassing the common
buffer management routines also eliminates an extra context switch
on every packet which noticeably improves performance (TCP netperf
rx goes from 45 Mb/s to 85 MB/s).

Submitted by: "J.R. Oldroyd" <fbsd@opal.com>
Reviewed by: imp
Obtained from: openbsd (partly)
MFC after: 3 weeks

16 years agoAdd rm_wowned(9) function to test whether the current thread owns an
Robert Watson [Sat, 10 Nov 2007 15:06:30 +0000 (15:06 +0000)]
Add rm_wowned(9) function to test whether the current thread owns an
exclusive lock on the passed rmlock.

Reviewed by: ups

16 years agoSome code cleanups, including removing of stale getopt argument and
Kirill Ponomarev [Sat, 10 Nov 2007 10:21:29 +0000 (10:21 +0000)]
Some code cleanups, including removing of stale getopt argument and
hardcoded +CONTENTS defines.

PR: bin/117855
Submitted by: Beat Gaetzi <beat@chruetertee.ch>
MFC after: 14 days

16 years agoAdd -i option for package installation without fetching and
Kirill Ponomarev [Sat, 10 Nov 2007 09:40:39 +0000 (09:40 +0000)]
Add -i option for package installation without fetching and
installing its dependencies.

PR: bin/117065
Submitted by: Vladimir Ermakov <samflanker@gmail.com>
MFC after: 14 days

16 years agoClean up the rmlock(9) manual page:
Hiten Pandya [Sat, 10 Nov 2007 06:04:46 +0000 (06:04 +0000)]
Clean up the rmlock(9) manual page:

    * Correct spelling and grammar
    * Re-structure sentences in BUGS section for legibility
    * Break long lines appropriately
    * Break lines at full stops
    * Add mdoc(9) commands where applicable
    * Remove superfluous .Ft in the SYNOPSIS section
    * Various other mdoc(9) fixes

16 years agoLimit total playback channels to just 1, for ALi M5451.
Ariff Abdullah [Sat, 10 Nov 2007 04:32:50 +0000 (04:32 +0000)]
Limit total playback channels to just 1, for ALi M5451.
The reliability of it's multi DAC / playback channels is
not that good. Enabling vchans make the bug more visible
since playback allocation will look for possible free
hardware channels first (i.e: the next DAC, the very first
has been consumed by vchan mixer) which in this case has
been proven faulty.

Reported / Tested by: Sascha Klauder
MFC after: 3 days

16 years agoxorg-printserver still exists in the ports tree but it's marked as
Ken Smith [Sat, 10 Nov 2007 04:01:41 +0000 (04:01 +0000)]
xorg-printserver still exists in the ports tree but it's marked as
depreciated and scheduled to be removed.

Confirmed by: kris
MFC after: 3 days

16 years ago- Fix a bug in sctp_calc_rwnd() which resulted in wrong rwnd predictions.
Randall Stewart [Sat, 10 Nov 2007 00:47:14 +0000 (00:47 +0000)]
- Fix a bug in sctp_calc_rwnd() which resulted in wrong rwnd predictions.
- Fix a signedness problem that shows up in some 64 bit platforms (macos).

MFC after: 1 week

16 years agoInstead of hardcoding md10 as the device node in the cd9660 example,
Giorgos Keramidas [Fri, 9 Nov 2007 18:02:51 +0000 (18:02 +0000)]
Instead of hardcoding md10 as the device node in the cd9660 example,
use a trick submitted by Ruslan.

MFC after: 1 day

16 years agoFix a typo.
Ruslan Ermilov [Fri, 9 Nov 2007 16:31:47 +0000 (16:31 +0000)]
Fix a typo.

16 years ago- Fix documentation to match code. Specifically, -c doesn't have
Ruslan Ermilov [Fri, 9 Nov 2007 16:02:10 +0000 (16:02 +0000)]
- Fix documentation to match code.  Specifically, -c doesn't have
  to be specified together with either -u or -t to have an effect,
  and exit status of 2 is not possible after a Perl->C conversion.

- While here, fix markup.

16 years agopccard.conf is gone.
Yoshihiro Takahashi [Fri, 9 Nov 2007 15:32:04 +0000 (15:32 +0000)]
pccard.conf is gone.

16 years agoFix numerous bugs when parsing options and arguments.
Ruslan Ermilov [Fri, 9 Nov 2007 15:14:08 +0000 (15:14 +0000)]
Fix numerous bugs when parsing options and arguments.

16 years agoFix build without INVARIANTS and update a comment to match
Ruslan Ermilov [Fri, 9 Nov 2007 11:04:36 +0000 (11:04 +0000)]
Fix build without INVARIANTS and update a comment to match
a change made in previous revision.

16 years agoClean up after last commit.
Ruslan Ermilov [Fri, 9 Nov 2007 09:25:36 +0000 (09:25 +0000)]
Clean up after last commit.

16 years agoTeach source installation shell script and sysinstall(8) about
Ruslan Ermilov [Fri, 9 Nov 2007 08:50:02 +0000 (08:50 +0000)]
Teach source installation shell script and sysinstall(8) about
the 'scompat' source dist that holds src/compat/.

Reported by: Mars G Miro

16 years agoRemove traces of vinum and replace with gvinum.
Tom Rhodes [Fri, 9 Nov 2007 00:50:08 +0000 (00:50 +0000)]
Remove traces of vinum and replace with gvinum.
Mention gstripe and gjournal.

16 years agoTeach ps(1) to parse pts TT values (i.e. '0', '1') for the -t flag.
John Baldwin [Thu, 8 Nov 2007 22:31:28 +0000 (22:31 +0000)]
Teach ps(1) to parse pts TT values (i.e. '0', '1') for the -t flag.

MFC after: 1 week
Reported by: kris

16 years agoLink wpi(4) into the build.
Benjamin Close [Thu, 8 Nov 2007 22:09:37 +0000 (22:09 +0000)]
Link wpi(4) into the build.

This includes:
    o mtree (for legal/intel_wpi)
    o manpage for i386/amd64 archs
    o module for i386/amd64 archs
    o NOTES for i386/amd64 archs

Approved by: mlaier (comentor)

16 years agoRemove an unneeded CFLAGS line
Benjamin Close [Thu, 8 Nov 2007 22:02:38 +0000 (22:02 +0000)]
Remove an unneeded CFLAGS line

Approved by: mlaier (comentor)

16 years agoTurn off debug output, its been confusing users.
Benjamin Close [Thu, 8 Nov 2007 21:57:08 +0000 (21:57 +0000)]
Turn off debug output, its been confusing users.

Approved by: mlaier (comentor)

16 years agoProvide a man page for wpi:
Benjamin Close [Thu, 8 Nov 2007 21:54:42 +0000 (21:54 +0000)]
Provide a man page for wpi:
    Intel 3945abg wireless driver

Approved by: mlaier (comentor)

16 years agoA couple of optimizations to the last commit.
John Baldwin [Thu, 8 Nov 2007 21:45:56 +0000 (21:45 +0000)]
A couple of optimizations to the last commit.

Submitted by: Christoph Mallon christoph mallon of gmx de

16 years agoWhitespace only.
Nate Lawson [Thu, 8 Nov 2007 21:20:34 +0000 (21:20 +0000)]
Whitespace only.

16 years agoUse VM_FAULT_DIRTY to fault in pages for write access in
Stephan Uphoff [Thu, 8 Nov 2007 19:35:36 +0000 (19:35 +0000)]
Use VM_FAULT_DIRTY to fault in pages for write access in
proc_rwmen.
Otherwise copy on write may create an anonymous page that is
not marked as dirty. Since  writing data to these pages
in this function also does not dirty these pages they may be
later discarded by the pagedaemon.

16 years agoetc/defaults/pccard.conf has been relegated to the scrapheap of
Warner Losh [Thu, 8 Nov 2007 17:43:13 +0000 (17:43 +0000)]
etc/defaults/pccard.conf has been relegated to the scrapheap of
history, note its newly minted obsolete status here.

16 years agoAnother vestige of OLDCARD that needs to be retired.
Warner Losh [Thu, 8 Nov 2007 17:41:35 +0000 (17:41 +0000)]
Another vestige of OLDCARD that needs to be retired.

Prodded by: jhb@

16 years agoTurn most ffs 'DIAGNOSTIC's into INVARIANTS.
David E. O'Brien [Thu, 8 Nov 2007 17:21:51 +0000 (17:21 +0000)]
Turn most ffs 'DIAGNOSTIC's into INVARIANTS.

16 years agocorrect termination check doing amsdu de-aggregation
Sam Leffler [Thu, 8 Nov 2007 17:11:40 +0000 (17:11 +0000)]
correct termination check doing amsdu de-aggregation

MFC after: 3 days

16 years agoMake it easier to add more ptys to the pty(4) driver:
John Baldwin [Thu, 8 Nov 2007 15:51:52 +0000 (15:51 +0000)]
Make it easier to add more ptys to the pty(4) driver:
- Use unit2minor() and minor2unit() to generate minor numbers to support
  unit numbers higher than 255.
- Use simple string operations on the 'names' array rather than hard-coded
  constants and switch statements so that more ptys can be added by simply
  expanding the 'names' array.

MFC after: 1 week

16 years agoUpdate X11 dists for xorg-7.3 layout.
Ken Smith [Thu, 8 Nov 2007 15:40:40 +0000 (15:40 +0000)]
Update X11 dists for xorg-7.3 layout.

X-MFC-after: Insta-MFC may be coming so this can get into 6.3-BETA2.

16 years agoInitial checkin for rmlock (read mostly lock) a multi reader single writer
Stephan Uphoff [Thu, 8 Nov 2007 14:47:55 +0000 (14:47 +0000)]
Initial checkin for rmlock (read mostly lock) a multi reader single writer
lock optimized for almost exclusive reader access. (see also rmlock.9)

TODO:
    Convert to per cpu variables linkerset as soon as it is available.
    Optimize UP (single processor)  case.

16 years agoAdd entries for the L2 cache-related functions for armv5.
Olivier Houchard [Thu, 8 Nov 2007 13:19:08 +0000 (13:19 +0000)]
Add entries for the L2 cache-related functions for armv5.

Spotted out by: Rafal Jaworowski

16 years agoTwo minor improvements uncovered by work on upgrading between releases:
Colin Percival [Thu, 8 Nov 2007 13:06:38 +0000 (13:06 +0000)]
Two minor improvements uncovered by work on upgrading between releases:
* When installing updates, make sure that securelevel <= 0.  Otherwise
  we can't remove the schg flag from files.
* When preparing to download updates, check to see if we already have
  them sitting in the /files/ directory.  This saves bandwidth if users
  run "freebsd-update fetch" more than once without installing updates
  in between.

While I'm here, bump the copyright date.

MFC after: 3 days

16 years agoDocument the per-arch default value of kern.maxbcache.
Ruslan Ermilov [Thu, 8 Nov 2007 11:59:38 +0000 (11:59 +0000)]
Document the per-arch default value of kern.maxbcache.

16 years agoUse static storage-class specifier where appropriate.
Diomidis Spinellis [Thu, 8 Nov 2007 11:13:03 +0000 (11:13 +0000)]
Use static storage-class specifier where appropriate.
Found by: CScout

16 years agoMake function's definition follow its declared visibility.
Diomidis Spinellis [Thu, 8 Nov 2007 09:09:02 +0000 (09:09 +0000)]
Make function's definition follow its declared visibility.
Found by: CScout

16 years agoFix visibility of "inplace".
Diomidis Spinellis [Thu, 8 Nov 2007 08:57:51 +0000 (08:57 +0000)]
Fix visibility of "inplace".
Found by: CScout