]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
17 years agoAdd missing PCI ID for the acer m5288
sos [Sun, 8 Oct 2006 09:58:00 +0000 (09:58 +0000)]
Add missing PCI ID for the acer m5288

17 years agoFix TLS on sparc64 for statically and dynamically linked binaries
kmacy [Sun, 8 Oct 2006 02:50:34 +0000 (02:50 +0000)]
Fix TLS on sparc64 for statically and dynamically linked binaries
Approved by: rwatson (mentor)
Reviewed by: jmg and marcel

17 years agoNew release note: SA-06:22.openssh.
bmah [Sun, 8 Oct 2006 00:22:20 +0000 (00:22 +0000)]
New release note:  SA-06:22.openssh.

17 years agoProperly separate sentences by adding a semi-colon.
trhodes [Sat, 7 Oct 2006 23:12:19 +0000 (23:12 +0000)]
Properly separate sentences by adding a semi-colon.

Hinted by: bmah

17 years agoMake -r a synonym for -R, similar to behavior on Linux while being backwards
trhodes [Sat, 7 Oct 2006 22:14:43 +0000 (22:14 +0000)]
Make -r a synonym for -R, similar to behavior on Linux while being backwards
compatible with old -r behavior with regards to -L.  You can now copy fifos
and other special files with -r.

Reviewed by: -standards (long ago), das, bde
Approved by: bde (recently)

17 years agogetenv.3: Put "is" on a line with other words
trhodes [Sat, 7 Oct 2006 21:27:21 +0000 (21:27 +0000)]
getenv.3: Put "is" on a line with other words
getobjformat.3: "takes precedence over" is not an envrionment variable.

PR: 75545
Submitted by: n-kogane@syd.odn.ne.jp
MFC after: 3 days

17 years agoflesh out the devd.conf man page... Mostly from the PR, but did a couple
jmg [Sat, 7 Oct 2006 21:15:40 +0000 (21:15 +0000)]
flesh out the devd.conf man page...  Mostly from the PR, but did a couple
gramatical tweaks along w/ sorting the list, and adding that serial is
available for USB....

PR: 85097
Submitted by: Fredrik Lindberg
MFC after: 1 week

17 years agoAdd a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive.
flz [Sat, 7 Oct 2006 20:08:37 +0000 (20:08 +0000)]
Add a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive.

PR: usb/81073
Submitted by: James E. Flemer <jflemer@alum.rpi.edu>
MFC after: 3 days

17 years agoAdd a USB quirk for CMOTECH CDMA USB modem.
flz [Sat, 7 Oct 2006 19:42:45 +0000 (19:42 +0000)]
Add a USB quirk for CMOTECH CDMA USB modem.

PR: usb/97948
Submitted by: Alexei Volkov <kot@kotzone.ru>
MFC after: 3 days

17 years agoAdd a USB quirk for Motorola A41x/V32x USB phones.
flz [Sat, 7 Oct 2006 19:27:53 +0000 (19:27 +0000)]
Add a USB quirk for Motorola A41x/V32x USB phones.

PR: usb/97512
Submitted by: Mark Diekhans <markd@kermodei.com>
MFC after: 3 days

17 years agoShuffle _*_libs assigments (no functional changes).
ru [Sat, 7 Oct 2006 19:26:46 +0000 (19:26 +0000)]
Shuffle _*_libs assigments (no functional changes).

17 years agoAdd a SCSI da(4) quirk for Rekam USB Camera.
flz [Sat, 7 Oct 2006 19:04:23 +0000 (19:04 +0000)]
Add a SCSI da(4) quirk for Rekam USB Camera.

PR: usb/98713
Submitted by: Alex <goo@t72.ru>
MFC after: 3 days

17 years ago- Prebuild libgssapi only if building with Kerberos support.
ru [Sat, 7 Oct 2006 18:34:08 +0000 (18:34 +0000)]
- Prebuild libgssapi only if building with Kerberos support.

- Remove libnetgraph from the list of prebuilt libraries as
  no other library depends on it (snmp_netgraph.so does not
  count as we don't build it in the "libraries" target).

- Restore libssh dependencies when compiling with Kerberos
  support.

17 years agoAdd SCSI da(4) quirk for the iRiver H10.
flz [Sat, 7 Oct 2006 18:28:55 +0000 (18:28 +0000)]
Add SCSI da(4) quirk for the iRiver H10.

PR: usb/102547
Submitted by: Sven Esbjerg <freebsd-pr@xbsd.net>
MFC after: 3 days

17 years agoAdd support for Novatech NV902 wireless NIC in ural(4).
flz [Sat, 7 Oct 2006 18:18:40 +0000 (18:18 +0000)]
Add support for Novatech NV902 wireless NIC in ural(4).

PR: usb/102852
Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>
MFC after: 3 days

17 years agoAdd support for Epson Stylus CX4200 in uscanner(4).
flz [Sat, 7 Oct 2006 18:09:27 +0000 (18:09 +0000)]
Add support for Epson Stylus CX4200 in uscanner(4).

PR: usb/102851
Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org>
MFC after: 3 days

17 years agoAdd support for Psion Gold Port Ethernet USB NIC.
flz [Sat, 7 Oct 2006 18:03:39 +0000 (18:03 +0000)]
Add support for Psion Gold Port Ethernet USB NIC.

PR: usb/102296
Submitted by: Volker <volker@vwsoft.com>
MFC after: 3 days

17 years agoAdd support for Netgear FA101 ethernet USB NIC.
flz [Sat, 7 Oct 2006 17:58:50 +0000 (17:58 +0000)]
Add support for Netgear FA101 ethernet USB NIC.

PR: usb/102286
Submitted by: Volker <volker@vwsoft.com>
MFC after: 3 days

17 years agoAdd a quirk for the Belkin FC6550-AVR UPS.
flz [Sat, 7 Oct 2006 17:47:16 +0000 (17:47 +0000)]
Add a quirk for the Belkin FC6550-AVR UPS.

PR: usb/102260
Submitted by: David Grochowski <grocho98@students.rowan.edu>
MFC after: 3 days

17 years agoAdd support for Familiar Linux powered iPaq handhelds to cdce(4).
flz [Sat, 7 Oct 2006 17:35:37 +0000 (17:35 +0000)]
Add support for Familiar Linux powered iPaq handhelds to cdce(4).

PR: usb/103865
Submitted by: Alexey Roslyakov <internetworking@mail.ru>
MFC after: 3 days

17 years agoFix static compilation.
ru [Sat, 7 Oct 2006 17:32:05 +0000 (17:32 +0000)]
Fix static compilation.

17 years agoAdd quirk for Logitech iFeel MouseMan USB mouse.
flz [Sat, 7 Oct 2006 17:16:48 +0000 (17:16 +0000)]
Add quirk for Logitech iFeel MouseMan USB mouse.

PR: usb/101066
Submitted by: Heiko Przybyl <zuxez@uni.de>
MFC after: 3 days

17 years agoDe-capitalize days and months' names.
flz [Sat, 7 Oct 2006 17:04:23 +0000 (17:04 +0000)]
De-capitalize days and months' names.

PR: conf/101154
Submitted by: Thomas Jensen <tj@pil.dk>
MFC after: 3 days

17 years agoAdd the POSIX option -p to the jobs builtin command. It prints the PID of the
stefanf [Sat, 7 Oct 2006 16:51:16 +0000 (16:51 +0000)]
Add the POSIX option -p to the jobs builtin command.  It prints the PID of the
process leader for each job.  Now the last specified option for the output
format (-l, -p or -s) wins, previously -s trumped -l.

PR: 99926
Submitted by: Ed Schouten and novel (patches modified by me)

17 years ago- Add support for Epson USB Scanners (3590 [1] and 4990 [2]).
flz [Sat, 7 Oct 2006 16:00:59 +0000 (16:00 +0000)]
- Add support for Epson USB Scanners (3590 [1] and 4990 [2]).
- Add entries in the uscanner.4 man page (along with missing 3500).

PR: usb/100957 [1], usb/100992 [2]
Submitted by: Jim Teresco <terescoj@teresco.org> [1],
Walter C. Pelissero <walter.pelissero@iesy.net> [2]
MFC after: 3 days

17 years agoRestore the behavior that net.inet6.ip6.auto_linklocal=0 could
ume [Sat, 7 Oct 2006 15:45:56 +0000 (15:45 +0000)]
Restore the behavior that net.inet6.ip6.auto_linklocal=0 could
be coexist with ipv6_enable="YES".

MFC after: 3 days

17 years agoNew release notes: IPv6 link-local addresses now enabled with
bmah [Sat, 7 Oct 2006 14:49:45 +0000 (14:49 +0000)]
New release notes:  IPv6 link-local addresses now enabled with
ipv6_enable, ng_tag(4) (+MFC)

Modified release notes:  Rewritten ipfw(4) tablearg note, OpenSSH
4.4p1 (+MFC), OpenSSL 0.9.8d, OpenBSM 1.0alpha12.

MFCs noted:  ipfw(8) tag/untag/tagged,

17 years agoo Style(9).
maxim [Sat, 7 Oct 2006 12:14:50 +0000 (12:14 +0000)]
o Style(9).

Submitted by: bde

17 years agoo Avoid division by zero.
maxim [Sat, 7 Oct 2006 12:11:21 +0000 (12:11 +0000)]
o Avoid division by zero.
o Place error checking code near to the syscall.

Submitted by: bde

17 years agoReword previous delta a little bit.
trhodes [Sat, 7 Oct 2006 10:49:20 +0000 (10:49 +0000)]
Reword previous delta a little bit.

Submitted by: ru

17 years ago- Update URL of Intel documentation
pav [Sat, 7 Oct 2006 10:39:34 +0000 (10:39 +0000)]
- Update URL of Intel documentation

Submitted by: Rob <spamrefuse@yahoo.com> on freebsd-doc
MFC after: 3 days

17 years agoSet scope on MC address so IPv6 carp advertisement will not get dropped
bz [Sat, 7 Oct 2006 10:19:58 +0000 (10:19 +0000)]
Set scope on MC address so IPv6 carp advertisement will not get dropped
in ip6_output. In case this fails  handle the error directly and log it[1].
In addition permit CARP over v6 in ip_fw2.

PR:                     kern/98622
Similar patch by:       suz
Discussed with:         glebius [1]
Tested by:              Paul.Dekkers surfnet.nl, Philippe.Pegon crc.u-strasbg.fr
MFC after:              3 days

17 years agoAdd a missing whitespace.
flz [Sat, 7 Oct 2006 10:00:22 +0000 (10:00 +0000)]
Add a missing whitespace.

Reported by: simon
Approved by: cperciva (mentor, implicit)

17 years agoAdd a delightful typographic gem I discovered on page 143 in Edward
phk [Sat, 7 Oct 2006 08:29:20 +0000 (08:29 +0000)]
Add a delightful typographic gem I discovered on page 143 in Edward
Tuftes book "The Visual Display of Quantitative Information"

The constant width font does not quite do the typeset original justice,
but it is is good enough for a fortune.

17 years agoFix ambiguity in description. Note that the aio_return() system call should
trhodes [Sat, 7 Oct 2006 05:34:51 +0000 (05:34 +0000)]
Fix ambiguity in description.  Note that the aio_return() system call should
only be called once after failure or completion of an AIO request.  Bump doc
date while I'm here.

Noticed by: Samy Al Bahra

17 years agoAdd missing word "returns."
trhodes [Sat, 7 Oct 2006 05:13:32 +0000 (05:13 +0000)]
Add missing word "returns."

Noticed by: Samy Al Bahra

17 years agoRemove X11BASE from here so the one from bsd.port.mk has a chance to set
lesi [Fri, 6 Oct 2006 23:32:23 +0000 (23:32 +0000)]
Remove X11BASE from here so the one from bsd.port.mk has a chance to set
default. Grepping through src shows only gnu/usr.bin/groff which doesn't
use it in src build and OpenSSH for which this was a NOOP.

Discussed with: des, ru
Approved by: ru

17 years agoIntroduce mixer_enable (default: YES).
flz [Fri, 6 Oct 2006 23:22:13 +0000 (23:22 +0000)]
Introduce mixer_enable (default: YES).

PR: conf/101268
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
Approved by: cperciva (mentor)
X-MFC after: 6.2-RELEASE
Sponsored by: FreeBSD Test-Bugathon

17 years agoAdd a missing new line at the end of the australian calendar file to
flz [Fri, 6 Oct 2006 23:20:01 +0000 (23:20 +0000)]
Add a missing new line at the end of the australian calendar file to
suppress and error message.

PR: conf/99490
Submitted by: Shaun Branden <shaun@pcuse.com>
Approved by: cperciva (mentor)
MFC after: 1 day
Sponsored by: FreeBSD Test-Bugathon

17 years agofix fxp so that it will reset the link when you change the speed... This
jmg [Fri, 6 Oct 2006 20:53:01 +0000 (20:53 +0000)]
fix fxp so that it will reset the link when you change the speed...  This
will fix a problem where you boot w/ the default of autoselect, but then
set the speed to 100/full, the switch will keep the autoselect/100/full
negotiation...  This will continue to work till someone resets the switch
or unplugs the cable resulting in the switch failing to autoneg and falling
back to 100/half, causing a hard to track down duplex mismatch..

Submitted by: nCircle Network Security, Inc.
MFC after: 1 week

17 years agoInclude freebsd32_signal.h now that signal-related definitions are
marcel [Fri, 6 Oct 2006 19:33:44 +0000 (19:33 +0000)]
Include freebsd32_signal.h now that signal-related definitions are
moved there.

Found by: ia64 tinderbox.

17 years ago- Fix wrong id for ALC882, add ALC883 id.
ariff [Fri, 6 Oct 2006 18:59:27 +0000 (18:59 +0000)]
- Fix wrong id for ALC882, add ALC883 id.

- Add support for the Conexant Waikiki/CX20551-22, found
  in most Toshiba P100 series laptops. Despite of growing
  urban legend of "unsupported Conexant", this codec is fully
  supported in this driver.
  Note: Toshiba P100 has broken (acpi) BIOS, thus rendering
        its soundchip useless. Please disable ACPI, or get
        BIOS updates (if any).

  Found/tested by: Vulpes Velox <v.velox@vvelox.net>
  URL: http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-September/004896.html

- Parser cleanups to handle possible oss/mixer collision. Found
  after parsing Conexant Waikiki nodes.

- Increase resilient against resource failure during attach/detach.

- Implement simple config through hint.pcm.<unit>.config. Supported
  options:
    gpio0 (default on Acer), gpio1, gpio2, softpcmvol,
    fixedrate (default), forcestereo (default)
  * Option prefixed with "no" (such as "nofixedrate") will do
    the opposite.
  * Options can be separated using space " " or comma ",".
  * The "no" option will take precedence over anything else.
  Example:
    hint.pcm.0.config="gpio2,nofixedrate,noforcestereo,nogpio0,softpcmvol"
    hint.pcm.0.config="softpcmvol noforcestereo"

17 years agoActually make bounds checking for PCIOCREAD and PCIOCWRITE work.
ru [Fri, 6 Oct 2006 14:31:32 +0000 (14:31 +0000)]
Actually make bounds checking for PCIOCREAD and PCIOCWRITE work.

17 years agoDon't define XAUTH_PATH here, we either pass it in on the compiler command
des [Fri, 6 Oct 2006 14:27:26 +0000 (14:27 +0000)]
Don't define XAUTH_PATH here, we either pass it in on the compiler command
line or rely on the built-in default.

17 years agoAdded the GEOM_CACHE option.
ru [Fri, 6 Oct 2006 10:43:42 +0000 (10:43 +0000)]
Added the GEOM_CACHE option.

Reminded by: pjd

17 years agoo Hold copied bytes counter in off_t. This prevents statistics
maxim [Fri, 6 Oct 2006 08:30:33 +0000 (08:30 +0000)]
o Hold copied bytes counter in off_t.  This prevents statistics
displayed by SIGINFO handler from overflow.

PR: bin/104039
Submitted by: Geoffrey Giesemann
MFC after: 2 weeks

17 years agoA GEOM cache can speed up read performance by sending fixed size
ru [Fri, 6 Oct 2006 08:27:07 +0000 (08:27 +0000)]
A GEOM cache can speed up read performance by sending fixed size
read requests to its consumer.  It has been developed to address
the problem of a horrible read performance of a 64k blocksize FS
residing on a RAID3 array with 8 data components, where a single
disk component would only get 8k read requests, thus effectively
killing disk performance under high load.  Documentation will be
provided later.  I'd like to thank Vsevolod Lobko for his bright
ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug.

17 years agoRegenerate.
davidxu [Fri, 6 Oct 2006 08:24:37 +0000 (08:24 +0000)]
Regenerate.

17 years agoImplement 32bit umtx_lock and umtx_unlock system calls, these two system
davidxu [Fri, 6 Oct 2006 08:22:08 +0000 (08:22 +0000)]
Implement 32bit umtx_lock and umtx_unlock system calls, these two system
calls are not used by libthr in RELENG_6 and HEAD, it is only used by
the libthr in RELENG-5, the _umtx_op system call can do more incremental
dirty works than these two system calls without having to introduce new
system calls or throw away old system calls when things are going on.

17 years agoThe ARM platform does the setjmp/longjmp type of exception handling.
obrien [Thu, 5 Oct 2006 20:55:37 +0000 (20:55 +0000)]
The ARM platform does the setjmp/longjmp type of exception handling.

17 years ago- Remove SCHED_ULE from GENERIC to better avoid foot-shooting by
simon [Thu, 5 Oct 2006 20:31:58 +0000 (20:31 +0000)]
- Remove SCHED_ULE from GENERIC to better avoid foot-shooting by
  unsuspecting users.
- Add a comment in NOTES about experimental status of SCHED_ULE.
- Make warning about experimental status in sched_ule(4) a bit
  stronger.

Suggested and reviewed by: dougb
Discussed on: developers
MFC after: 3 days

17 years agoApproved by: rwatson
kmacy [Thu, 5 Oct 2006 18:47:45 +0000 (18:47 +0000)]
Approved by: rwatson
Reviewed by: jmg and jb

Forced commit to provide a more meaningful commit message.

John Michael-Gurney is responsible for fixing all the vast majority of the
issues that arose with PCI support.

Kris Kennaway and John Birrell pushed heavily on stability issues. Kris is to
thank for it having even reached its current level of stability. When it
reaches a production state, we will have John to thank for driving it forward.

The following items are needed before sun4v can be used from CVS:
    - binutils/gas/config/tc-sparc.c needs to be pulled in from a modern
    version of binutils.

    - an updated version of the loader needs to be pulled in from perforce

The following items need to be addressed before sun4v can be considered for
deployment:
    - The T1 has a fairly minimal floating point unit, fsqrt and a number of
    other opcodes are not implemented. Emulation for unimplemented opcodes
    needs to be added.

    - Running against local disk a race condition exists whereby a cpu will
    sometimes run off into the weeds at tl > 2.

    - The MD code for interrupt handling will crash on the first ATA interrupt.

    - The BCM chipset (bge) is not set up correctly on the T1000. The current
    workaround is to use an add in Intel GigE card (em).

    - With KSE in the kernel signals are often not directed to the right
    process / thread within a process. This causes threaded processes
    to frequently become unkillable and gdb to not be reliable when debugging
    a threaded process. This issue is slowly being resolved on -threads.

Many thanks go to Sun for having lent / donated a T2000 to both me and
John Birrell.

17 years agoThe IPMI spec is ambiguous (or rather, it contradicts itself) about whether
jhb [Thu, 5 Oct 2006 15:38:59 +0000 (15:38 +0000)]
The IPMI spec is ambiguous (or rather, it contradicts itself) about whether
or not the OS has to wait for RX_RDY or TX_RDY to be set before the OS sets
the control code in the control/status register.  Looking at the interface
design, it seems that RX_RDY and TX_RDY are probably there to protect
access to the data register and have nothing to do with the control/status
register.  Nevertheless, try to take what I think is the more conservative
approach and always wait for the appropriate [TR]X_RDY flag to be set
before writing any of the WR_NEXT, WR_END, RD_START, or RD_NEXT control
codes to the control/status register.

17 years agoAdd detailed debugging printf's for SMIC under SMIC_DEBUG.
jhb [Thu, 5 Oct 2006 15:35:11 +0000 (15:35 +0000)]
Add detailed debugging printf's for SMIC under SMIC_DEBUG.

17 years agoOops, don't toss the last character read during an SMIC transaction with
jhb [Thu, 5 Oct 2006 15:33:43 +0000 (15:33 +0000)]
Oops, don't toss the last character read during an SMIC transaction with
at least 1 data byte beyond the completion code.

Tested by: Terry Kennedy <terry at tmk dot com>

17 years ago- Fix a couple of improper uses of leal in the previous space saving
jhb [Thu, 5 Oct 2006 15:30:51 +0000 (15:30 +0000)]
- Fix a couple of improper uses of leal in the previous space saving
  commits.  For some reason I thought the scale factor was a shift count
  rather than the multiplicand (that is, I thought leal (%eax,%edx,4) was
  going to generate %eax + %edx << 4 rather than %eax + %edx * 4).  What
  I need is to multiply by 16 to convert a real-mode (seg, offset) tuple
  into a flat address.  However, the max multiplicand for scaled/index
  addressing on i386 is 8, so go back to using a shl and an add.
- Convert two more inter-register mov instructions where we don't need to
  preserve the source register to xchg instructions to keep our space
  savings.

Tested by: Ian FREISLICH if at hetzner.co.za
MFC after: 1 week

17 years agoSort SUBDIR.
ru [Thu, 5 Oct 2006 13:42:30 +0000 (13:42 +0000)]
Sort SUBDIR.

17 years agoSort MAN and MLINKS lists.
ru [Thu, 5 Oct 2006 12:40:44 +0000 (12:40 +0000)]
Sort MAN and MLINKS lists.

17 years agoSort SUBDIR.
ru [Thu, 5 Oct 2006 12:18:15 +0000 (12:18 +0000)]
Sort SUBDIR.

17 years agoWorkaround bad locking design:
oleg [Thu, 5 Oct 2006 09:48:25 +0000 (09:48 +0000)]
Workaround bad locking design:
do not try to lock/unlock destroyed/non-existsing mutex.

PR: kern/103569
Reviewed by: guido
Approved by: glebius (mentor)
Silence from: darrenr
MFC: 2 week

17 years agosort MLINKS properly
jmg [Thu, 5 Oct 2006 08:55:35 +0000 (08:55 +0000)]
sort MLINKS properly

Pointed out by: ru

17 years agoPolish markup and some wording.
ru [Thu, 5 Oct 2006 08:42:07 +0000 (08:42 +0000)]
Polish markup and some wording.

Discussed with: jmg (also reviewed by him)

17 years agoo Add Adaptec ServeRAID 7x IDs. IDs taken from Linux.
maxim [Thu, 5 Oct 2006 07:28:43 +0000 (07:28 +0000)]
o Add Adaptec ServeRAID 7x IDs.  IDs taken from Linux.

PR: kern/90012
Submitted by: Andrey V. Elsukov
MFC after: 1 month

17 years agoRemove libc_r support.
davidxu [Thu, 5 Oct 2006 06:26:31 +0000 (06:26 +0000)]
Remove libc_r support.

17 years agoplacate Grim Reaper with sun4v support
kmacy [Thu, 5 Oct 2006 06:14:28 +0000 (06:14 +0000)]
placate Grim Reaper with sun4v support

17 years agoCatch up with recent clock modifications:
grehan [Thu, 5 Oct 2006 06:04:44 +0000 (06:04 +0000)]
Catch up with recent clock modifications:
 - include <sys/clock.h> for inittodr prototype
 - remove now-conflicting SECDAY definition that is in <sys/clock.h>

17 years agoRegenerate.
davidxu [Thu, 5 Oct 2006 01:58:57 +0000 (01:58 +0000)]
Regenerate.

17 years agoOops, add the missing file.
davidxu [Thu, 5 Oct 2006 01:58:08 +0000 (01:58 +0000)]
Oops, add the missing file.

17 years agoMove some declaration of 32-bit signal structures into file
davidxu [Thu, 5 Oct 2006 01:56:11 +0000 (01:56 +0000)]
Move some declaration of 32-bit signal structures into file
freebsd32-signal.h, implement sigtimedwait and sigwaitinfo system calls.

17 years agoLarge rewrite of the tinybsd script.
julian [Wed, 4 Oct 2006 22:16:40 +0000 (22:16 +0000)]
Large rewrite of the tinybsd script.

This allows the user to specify that the root filoesystem should be
an MFS or teh actual medium itself.
Also a new command syntax, along with an interactive mode by default,
with crossinvocation memory of the last used values as defaults for the
current invocation.

Submitted by:jmeloatfreebsdbrasil,com-br

17 years agoPR:
jb [Wed, 4 Oct 2006 21:37:10 +0000 (21:37 +0000)]
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Security:
Move the relocation definitions to the common elf header so that DTrace
can use them on one architecture targeted to a different one.

Add the additional ELF types defines in Sun's "Linker and Libraries"
manual.

17 years agoforgot to update the date...
jmg [Wed, 4 Oct 2006 20:17:14 +0000 (20:17 +0000)]
forgot to update the date...

17 years agoadd man page talking about how to interface w/ the kqueue system so others
jmg [Wed, 4 Oct 2006 20:16:23 +0000 (20:16 +0000)]
add man page talking about how to interface w/ the kqueue system so others
can write additional filters...

mdoc police please!

17 years agoWhen addr/mask examples are given, show both a host and network
keramida [Wed, 4 Oct 2006 19:29:05 +0000 (19:29 +0000)]
When addr/mask examples are given, show both a host and network
address, to avoid confusing the users that a full address is
always required.

Submitted by:   Josh Paetzel <josh@tcbug.org> (through freebsd-doc)
MFC after: 3 days

17 years agoUse strtoll(3) instead of strtol(3) for the starting block or
marcel [Wed, 4 Oct 2006 18:20:25 +0000 (18:20 +0000)]
Use strtoll(3) instead of strtol(3) for the starting block or
partition size. On 32-bit platforms sizeof(long) < sizeof(off_t)
and using strtol(3) would prevent partitions larger than 4G
sectors or beyond 4G blocks.

PR: bin/103991
MFC after: 3 days

17 years agoSave space on stack moving token ring stuff to its own hack block.
glebius [Wed, 4 Oct 2006 11:08:14 +0000 (11:08 +0000)]
Save space on stack moving token ring stuff to its own hack block.

17 years agoStyle rev. 1.152.
glebius [Wed, 4 Oct 2006 10:59:21 +0000 (10:59 +0000)]
Style rev. 1.152.

17 years agoGo figure how an extra $Id$ line crept in...
des [Wed, 4 Oct 2006 10:21:00 +0000 (10:21 +0000)]
Go figure how an extra $Id$ line crept in...

17 years agoMerge vendor patch.
des [Wed, 4 Oct 2006 10:15:53 +0000 (10:15 +0000)]
Merge vendor patch.

17 years agoInclude the Solaris compatibility definions iff _SOLARIS_C_SOURCE is defined.
jb [Wed, 4 Oct 2006 07:25:55 +0000 (07:25 +0000)]
Include the Solaris compatibility definions iff _SOLARIS_C_SOURCE is defined.

17 years agoThis file is the same as the one installed in /usr/include, however
jb [Wed, 4 Oct 2006 07:23:31 +0000 (07:23 +0000)]
This file is the same as the one installed in /usr/include, however
there are enough places in the DTrace kernel/module sources that
having a header that gathers together all the individual elf headers
is convenient.

Note that the Solaris compatibility definions are conditionally
included iff _SOLARIS_C_SOURCE is defined.

17 years agoELF compatibility definitions for OpenSolaris. These are covered
jb [Wed, 4 Oct 2006 07:19:39 +0000 (07:19 +0000)]
ELF compatibility definitions for OpenSolaris. These are covered
by Sun's CDDL and this file is only intended for inclusion where
_SOLARIS_C_SOURCE is defined (with the assumption that the code
being compiled is licensed under the CDDL too).

17 years agoBack out part of rev. 1.149. While adding a workaround in ptcopen() to
mbr [Wed, 4 Oct 2006 05:43:39 +0000 (05:43 +0000)]
Back out part of rev. 1.149. While adding a workaround in ptcopen() to
avoid leaked ptys works fine, this opens a possible security hole.

Submitted by: bde
MFC after: 3 days

17 years agoPerformance: If the dir mode requested is "reasonable", then just
kientzle [Wed, 4 Oct 2006 02:08:04 +0000 (02:08 +0000)]
Performance:  If the dir mode requested is "reasonable", then just
restore it directly and skip chmod() during the post-extract fixup.
In particular, bsdtar -xm now completely skips the post-extract fixup
for directories, which produces a noticable speedup in that case.

17 years agoAutomatically re-stir every 400000 calls
ache [Wed, 4 Oct 2006 01:17:23 +0000 (01:17 +0000)]
Automatically re-stir every 400000 calls

Obtained from:  OpenBSD

17 years agoFormat the list of commands so that the output looks nicer,
ru [Tue, 3 Oct 2006 21:06:19 +0000 (21:06 +0000)]
Format the list of commands so that the output looks nicer,
by putting command aliases on the adjacent lines.

Prodded by: bde

17 years agoRegenerate.
rwatson [Tue, 3 Oct 2006 20:48:11 +0000 (20:48 +0000)]
Regenerate.

17 years agoChange getpagesize() system call audit event to more clearly indicate
rwatson [Tue, 3 Oct 2006 20:48:03 +0000 (20:48 +0000)]
Change getpagesize() system call audit event to more clearly indicate
that we don't audit it.

MFC after: 3 days
Obtained from: TrustedBSD Project

17 years agoAudit creat() system call (compat code), and change type for getpagesize(),
rwatson [Tue, 3 Oct 2006 20:46:52 +0000 (20:46 +0000)]
Audit creat() system call (compat code), and change type for getpagesize(),
which isn't actually being audited anyway.

MFC after: 3 days
Obtained from: TrustedBSD Project

17 years agoAdd BSM conversion switch entries for a number of system calls, many
rwatson [Tue, 3 Oct 2006 20:43:48 +0000 (20:43 +0000)]
Add BSM conversion switch entries for a number of system calls, many
administrative, to prevent console warnings and enable basic event
auditing (generally without arguments).

MFC after: 3 days
Obtained from: TrustedBSD Project

17 years agoTweak ifdefs for backward compatibility.
des [Tue, 3 Oct 2006 11:33:25 +0000 (11:33 +0000)]
Tweak ifdefs for backward compatibility.

17 years agoFix the remaining race in the revs. 1.232, 1,233 that could occur during
kib [Tue, 3 Oct 2006 10:47:04 +0000 (10:47 +0000)]
Fix the remaining race in the revs. 1.232, 1,233 that could occur during
unmount when mp structure is reused while waiting for coveredvp lock.
Introduce struct mount generation count, increment it on each reuse and
compare the generations before and after obtaining the coveredvp lock.

Reviewed by: tegge, pjd
Approved by: pjd (mentor)
MFC after: 2 weeks

17 years agoRemove 3Com 985 deviceid that is really ti(4).
glebius [Tue, 3 Oct 2006 09:31:49 +0000 (09:31 +0000)]
Remove 3Com 985 deviceid that is really ti(4).

Submitted by: erwin

17 years agoFix compile in non-debug case.
iedowse [Tue, 3 Oct 2006 08:38:08 +0000 (08:38 +0000)]
Fix compile in non-debug case.

17 years agoaic_pccard_products can be static.
imp [Tue, 3 Oct 2006 04:51:18 +0000 (04:51 +0000)]
aic_pccard_products can be static.

Noticed by: cscope

17 years agoSolaris compatibility only: Be specific about the fact that
jb [Tue, 3 Oct 2006 04:01:30 +0000 (04:01 +0000)]
Solaris compatibility only: Be specific about the fact that
the inline function takes no arguments.

17 years agoWhen changing the device address and max packet size in usbd_new_device(),
iedowse [Tue, 3 Oct 2006 01:13:26 +0000 (01:13 +0000)]
When changing the device address and max packet size in usbd_new_device(),
close and re-open the default pipe instead of relying on the host
controller driver to notice the changes. Remove the unreliable code
that attempted to update these fields while the pipe was active.
This fixes a case where the hardware could cache and continue to
use the old address, resulting in a "getting first desc failed"
error.

PR: usb/103167

17 years agoDon't attempt to insert the transfer in an error case where it has
iedowse [Tue, 3 Oct 2006 01:04:11 +0000 (01:04 +0000)]
Don't attempt to insert the transfer in an error case where it has
already been inserted.

17 years agoEnable gdb on the arm. Some time ago I committed it, but had forgotten to
imp [Tue, 3 Oct 2006 00:03:30 +0000 (00:03 +0000)]
Enable gdb on the arm.  Some time ago I committed it, but had forgotten to
enable it here.

Noticed by: cognet

17 years agoBackout remaining changes that make most AD1981B users unhappy.
ariff [Mon, 2 Oct 2006 20:46:34 +0000 (20:46 +0000)]
Backout remaining changes that make most AD1981B users unhappy.
The exact situation is understood, and proper solution will follow
sooner.