svn commit: r215233 - stable/8/lib/libarchive

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 06:07:39 2010 New Revision: 215233 URL: http://svn.freebsd.org/changeset/base/215233 Log: MFC archive_file_count() utility function. Modified: stable/8/lib/libarchive/Makefile stable/8/lib/libarchive/archive.h stable/8/lib/libarchive/archive_private.h s

svn commit: r215232 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 06:00:27 2010 New Revision: 215232 URL: http://svn.freebsd.org/changeset/base/215232 Log: MFC r203568: Refactor and simplify the SIGINFO/SIGUSR1 handling. Switch to a custom function to format 64-bit ints to avoid the headache of trying to guess printf m

svn commit: r215231 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:55:56 2010 New Revision: 215231 URL: http://svn.freebsd.org/changeset/base/215231 Log: MFC: reverse an ill-advised experiment trying to emulate a "root user" on Windows. Modified: stable/8/usr.bin/tar/bsdtar.c stable/8/usr.bin/tar/bsdtar_platform.h Dir

svn commit: r215230 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:53:55 2010 New Revision: 215230 URL: http://svn.freebsd.org/changeset/base/215230 Log: MFC minor Makefile reformat. Modified: stable/8/usr.bin/tar/Makefile Directory Properties: stable/8/usr.bin/tar/ (props changed) Modified: stable/8/usr.bin/tar/Make

svn commit: r215229 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:52:45 2010 New Revision: 215229 URL: http://svn.freebsd.org/changeset/base/215229 Log: MFC: Allow -b up to 8192. Folks working with modern high-speed tape drives are routinely using block sizes of 1MB (-b 2048), allowing up to 8192 should allow a littl

svn commit: r215228 - stable/8/usr.bin/tar

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:50:49 2010 New Revision: 215228 URL: http://svn.freebsd.org/changeset/base/215228 Log: MFC r203557: Move program name into a global, eliminate an extra argument from the error-reporting routines. Added: stable/8/usr.bin/tar/err.c - copied unchanged

svn commit: r215227 - in stable/8/usr.bin/tar: . test

2010-11-12 Thread Tim Kientzle
Author: kientzle Date: Sat Nov 13 05:43:58 2010 New Revision: 215227 URL: http://svn.freebsd.org/changeset/base/215227 Log: MFC some Makefile tweaks. Modified: stable/8/usr.bin/tar/Makefile stable/8/usr.bin/tar/test/Makefile Directory Properties: stable/8/usr.bin/tar/ (props changed) M

svn commit: r215226 - in head: rescue/rescue share/mk

2010-11-12 Thread Adrian Chadd
Author: adrian Date: Sat Nov 13 03:11:27 2010 New Revision: 215226 URL: http://svn.freebsd.org/changeset/base/215226 Log: Break out the rules which generate crunchgen'ed binaries into a separate .mk file so they can be reused. Introduce a new option, CRUNCH_BUILDTOOLS, which lists the bin

svn commit: r215225 - stable/8/sys/netipsec

2010-11-12 Thread Bjoern A. Zeeb
Author: bz Date: Sat Nov 13 01:28:56 2010 New Revision: 215225 URL: http://svn.freebsd.org/changeset/base/215225 Log: MFC r214565: Announce both IPsec and UDP Encap (NAT-T) if available for feature_present(3) checks. This will help to run-time detect and conditionally handle sp

svn commit: r215224 - head/usr.sbin/sysinstall

2010-11-12 Thread Bruce Cran
Author: brucec Date: Sat Nov 13 01:21:55 2010 New Revision: 215224 URL: http://svn.freebsd.org/changeset/base/215224 Log: We still support PLIP devices, so mention them in addition to ethernet. Modified: head/usr.sbin/sysinstall/install.c head/usr.sbin/sysinstall/menus.c Modified: head/usr

svn commit: r215223 - in stable/7/sys: dev/re pci

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 01:11:13 2010 New Revision: 215223 URL: http://svn.freebsd.org/changeset/base/215223 Log: MFC r214844: Add simple MAC statistics counter reading support. Unfortunately useful counters like rl_missed_pkts is 16 bits quantity which is too small to hold

svn commit: r215222 - in stable/8/sys: dev/re pci

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 01:09:44 2010 New Revision: 215222 URL: http://svn.freebsd.org/changeset/base/215222 Log: MFC r214844: Add simple MAC statistics counter reading support. Unfortunately useful counters like rl_missed_pkts is 16 bits quantity which is too small to hold

svn commit: r215221 - stable/7/sys/dev/re

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 01:07:45 2010 New Revision: 215221 URL: http://svn.freebsd.org/changeset/base/215221 Log: MFC r214841-214842: r214841: Remove extra white spaces. r214842: style(9). Modified: stable/7/sys/dev/re/if_re.c Directory Properties: stable/7/sys/ (p

svn commit: r215220 - stable/8/sys/dev/re

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 01:05:47 2010 New Revision: 215220 URL: http://svn.freebsd.org/changeset/base/215220 Log: MFC r214841-214842: r214841: Remove extra white spaces. r214842: style(9). Modified: stable/8/sys/dev/re/if_re.c Directory Properties: stable/8/sys/ (p

svn commit: r215219 - stable/7/sys/dev/re

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 01:03:33 2010 New Revision: 215219 URL: http://svn.freebsd.org/changeset/base/215219 Log: MFC r214840: Enable 64bit DMA addressing for RTL810xE/RTL8168/RTL8111 PCIe controllers. Some old PCI controllers may work with DAC but it was known to be buggy s

svn commit: r215218 - stable/8/sys/dev/re

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 01:02:09 2010 New Revision: 215218 URL: http://svn.freebsd.org/changeset/base/215218 Log: MFC r214840: Enable 64bit DMA addressing for RTL810xE/RTL8168/RTL8111 PCIe controllers. Some old PCI controllers may work with DAC but it was known to be buggy s

svn commit: r215217 - stable/7/sys/dev/sk

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 01:00:00 2010 New Revision: 215217 URL: http://svn.freebsd.org/changeset/base/215217 Log: MFC r214899: Fix a long standing bug in programming station address for Yukon controllers. sk(4) never reprogrammed station address for Yukon controllers so over

svn commit: r215216 - stable/8/sys/dev/sk

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 00:58:34 2010 New Revision: 215216 URL: http://svn.freebsd.org/changeset/base/215216 Log: MFC r214899: Fix a long standing bug in programming station address for Yukon controllers. sk(4) never reprogrammed station address for Yukon controllers so over

svn commit: r215215 - stable/7/sys/dev/sk

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 00:55:16 2010 New Revision: 215215 URL: http://svn.freebsd.org/changeset/base/215215 Log: MFC r214898: If we got an invalid station address, generate random address. This might be caused by broken BIOS. Reported by:"Mikhail T." aldan.algeb

Re: svn commit: r215166 - in head: . sys/conf sys/netinet sys/netinet/cc sys/sys

2010-11-12 Thread Lawrence Stewart
On 11/12/10 17:41, Lawrence Stewart wrote: > Author: lstewart > Date: Fri Nov 12 06:41:55 2010 > New Revision: 215166 > URL: http://svn.freebsd.org/changeset/base/215166 > > Log: > This commit marks the first formal contribution of the "Five New TCP > Congestion > Control Algorithms for FreeB

svn commit: r215214 - stable/8/sys/dev/sk

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 13 00:46:07 2010 New Revision: 215214 URL: http://svn.freebsd.org/changeset/base/215214 Log: MFC r214898: If we got an invalid station address, generate random address. This might be caused by broken BIOS. Reported by:"Mikhail T." aldan.algeb

svn commit: r215213 - in head: etc/defaults etc/periodic/security share/man/man5

2010-11-12 Thread Brooks Davis
Author: brooks Date: Sat Nov 13 00:40:43 2010 New Revision: 215213 URL: http://svn.freebsd.org/changeset/base/215213 Log: Add an (off by default) check for negative permissions (where the group on a object has less permissions that everyone). These permissions will not work reliably over NF

svn commit: r215212 - head/sys/net

2010-11-12 Thread Dimitry Andric
Author: dim Date: Fri Nov 12 22:59:50 2010 New Revision: 215212 URL: http://svn.freebsd.org/changeset/base/215212 Log: Similar to r212647, remove the workaround in sys/net/vnet.h for an ld bug (incorrect placement of __start_SECNAME in some cases) that was fixed in r210245. There is alr

svn commit: r215211 - head/bin/echo

2010-11-12 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 12 22:43:40 2010 New Revision: 215211 URL: http://svn.freebsd.org/changeset/base/215211 Log: echo(1): Clarify portability and mention literal "--" handling. MFC after:1 week Modified: head/bin/echo/echo.1 Modified: head/bin/echo/echo.1 ==

svn commit: r215210 - head/bin/sh

2010-11-12 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 12 22:40:18 2010 New Revision: 215210 URL: http://svn.freebsd.org/changeset/base/215210 Log: sh(1): Document r214304 (special builtin is illegal function name). Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1

svn commit: r215209 - head/bin/sh

2010-11-12 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 12 22:28:47 2010 New Revision: 215209 URL: http://svn.freebsd.org/changeset/base/215209 Log: sh(1): Update for r214492. "${v+"hi}there"}". The part hi}there is not a quoted string but nevertheless the closing brace does not terminate the expansion. Modified:

svn commit: r215207 - in head: sys/net sys/netinet tools/regression/netinet/arphold

2010-11-12 Thread George V. Neville-Neil
Author: gnn Date: Fri Nov 12 22:03:02 2010 New Revision: 215207 URL: http://svn.freebsd.org/changeset/base/215207 Log: Add a queue to hold packets while we await an ARP reply. When a fast machine first brings up some non TCP networking program it is quite possible that we will drop packet

svn commit: r215201 - head/sys/modules/acpi/acpi

2010-11-12 Thread Jung-uk Kim
Author: jkim Date: Fri Nov 12 21:11:49 2010 New Revision: 215201 URL: http://svn.freebsd.org/changeset/base/215201 Log: Warn users that acpi.ko is deprecated and exit immediately unless the user set FORCE_BUILD. This is to avoid foot-shooting while making MFC to stable branches easier.

svn commit: r215200 - in head/sys: conf i386/acpica modules/acpi/acpi

2010-11-12 Thread Jung-uk Kim
Author: jkim Date: Fri Nov 12 20:55:14 2010 New Revision: 215200 URL: http://svn.freebsd.org/changeset/base/215200 Log: MFamd64: (based on) r209957 Move logic of building ACPI headers for acpi_wakeup.c into better places, remove intermediate makefile and shell script, and reduce diff

svn commit: r215199 - head/sys/netinet

2010-11-12 Thread Michael Tuexen
Author: tuexen Date: Fri Nov 12 20:46:33 2010 New Revision: 215199 URL: http://svn.freebsd.org/changeset/base/215199 Log: Don't print an empty line when printing mapping arrays. MFC after: 3 days. Modified: head/sys/netinet/sctputil.c Modified: head/sys/netinet/sctputil.c ==

svn commit: r215198 - head/sys/netinet

2010-11-12 Thread Michael Tuexen
Author: tuexen Date: Fri Nov 12 20:45:21 2010 New Revision: 215198 URL: http://svn.freebsd.org/changeset/base/215198 Log: Fix more issues with the SACK/NR-SACK generation code. MFC after: 3 days. Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c =

svn commit: r215197 - head/sys/powerpc/aim

2010-11-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Nov 12 20:26:34 2010 New Revision: 215197 URL: http://svn.freebsd.org/changeset/base/215197 Log: Partially revert r215182. There appears to be a silicon bug on the 970 that causes AP bringup to fail if some of the Cell HID-register code is anywhere in the instruc

svn commit: r215195 - in head: etc usr.sbin/bluetooth usr.sbin/bluetooth/ath3kfw

2010-11-12 Thread Maksim Yevmenkin
Author: emax Date: Fri Nov 12 19:43:12 2010 New Revision: 215195 URL: http://svn.freebsd.org/changeset/base/215195 Log: Add firmware downloader for Atheros AR3011 based USB Bluetooth devices. Hardware donated by: Rusty Nejdl rnejdl at ringofsaturn dot com Tested by:Rusty Nejd

svn commit: r215194 - head/sys/dev/nfe

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 12 19:33:13 2010 New Revision: 215194 URL: http://svn.freebsd.org/changeset/base/215194 Log: Fix regression introduced in r215132. Caller always holds a driver lock before accessing mii, so locking is not needed here. Reported by: Rob Farmer (rfarmer <> pred

svn commit: r215191 - stable/7/sys/kern

2010-11-12 Thread Matthew D Fleming
Author: mdf Date: Fri Nov 12 18:10:27 2010 New Revision: 215191 URL: http://svn.freebsd.org/changeset/base/215191 Log: MFC r213813. This is a direct commit because the diff is against several non-MFC'd changes. Use a safer mechanism for determining if a task is currently running, that

svn commit: r215190 - stable/8/sys/kern

2010-11-12 Thread Matthew D Fleming
Author: mdf Date: Fri Nov 12 18:09:06 2010 New Revision: 215190 URL: http://svn.freebsd.org/changeset/base/215190 Log: MFC r213813. This is a direct commit because the diff is against several non-MFC'd changes. Use a safer mechanism for determining if a task is currently running, that

svn commit: r215188 - head/sys/dev/acpica

2010-11-12 Thread Jung-uk Kim
Author: jkim Date: Fri Nov 12 17:10:12 2010 New Revision: 215188 URL: http://svn.freebsd.org/changeset/base/215188 Log: Create C1 state when _CST is valid but _CST does not have one. Some BIOSes do not report C1 state in _CST object, probably because it is a mandatory state with or without

svn commit: r215187 - in head: contrib/xz contrib/xz/po contrib/xz/src/common contrib/xz/src/liblzma/api contrib/xz/src/liblzma/api/lzma contrib/xz/src/liblzma/common contrib/xz/src/liblzma/lzma co...

2010-11-12 Thread Martin Matuska
Author: mm Date: Fri Nov 12 16:53:17 2010 New Revision: 215187 URL: http://svn.freebsd.org/changeset/base/215187 Log: Update xz to release 5.0.0 Approved by: delphij (mentor) MFC after:1 week Added: head/contrib/xz/po/xz.pot - copied unchanged from r215146, vendor/xz/dist/po/

svn commit: r215186 - head/contrib/top

2010-11-12 Thread Sergey Kandaurov
Author: pluknet Date: Fri Nov 12 16:50:11 2010 New Revision: 215186 URL: http://svn.freebsd.org/changeset/base/215186 Log: Add 'jid' as a possible sort order to the help screen. PR: bin/150992 Submitted by: Frederic Culot Approved by: avg (mentor) MFC after:5 days Mod

svn commit: r215185 - in head: gnu/lib/libgcc lib/libcompiler_rt

2010-11-12 Thread Ed Schouten
Author: ed Date: Fri Nov 12 15:52:27 2010 New Revision: 215185 URL: http://svn.freebsd.org/changeset/base/215185 Log: Revert to libgcc for sparc64. I've had a report of a sparc64 system where cc1 generates illegal instructions. We still have to diagnose this properly, but instead of hos

Re: svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys

2010-11-12 Thread Ben Kaduk
On Fri, Nov 12, 2010 at 8:02 AM, Luigi Rizzo wrote: > Author: luigi > Date: Fri Nov 12 13:02:26 2010 > New Revision: 215178 > URL: http://svn.freebsd.org/changeset/base/215178 > > >  This change adds a field to 'struct socket', but the struct is not >  part of any driver or userland-visible ABI so

svn commit: r215184 - head/bin/sh/bltin

2010-11-12 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 12 15:40:00 2010 New Revision: 215184 URL: http://svn.freebsd.org/changeset/base/215184 Log: sh: Remove unused man page for echo builtin. The information in sh(1) about the echo builtin is equivalent, though less extensive. The echo(1) man page (bin/echo/

svn commit: r215183 - head/sys/sys

2010-11-12 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 12 15:30:49 2010 New Revision: 215183 URL: http://svn.freebsd.org/changeset/base/215183 Log: Make POLL_ERR and POLL_HUP different. The kernel currently does not generate any of the POLL_* constants, but some applications use them and break if they are not all

Re: svn commit: r215176 - in head: . share/man/man9

2010-11-12 Thread Ben Kaduk
On Fri, Nov 12, 2010 at 7:07 AM, Sergey Kandaurov wrote: > Author: pluknet > Date: Fri Nov 12 12:07:36 2010 > New Revision: 215176 > URL: http://svn.freebsd.org/changeset/base/215176 > > Log: >  Stop documenting vgonel() after its converting to the static function: >   svn r147332 (by jeff): "Don'

svn commit: r215182 - in head/sys/powerpc: aim include powerpc

2010-11-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Fri Nov 12 15:20:10 2010 New Revision: 215182 URL: http://svn.freebsd.org/changeset/base/215182 Log: Add CPU support code for the IBM Cell Broadband Engine. Modified: head/sys/powerpc/aim/mp_cpudep.c head/sys/powerpc/include/cpufunc.h head/sys/powerpc/include/spr.

svn commit: r215181 - head/bin/sh

2010-11-12 Thread Jilles Tjoelker
Author: jilles Date: Fri Nov 12 14:40:20 2010 New Revision: 215181 URL: http://svn.freebsd.org/changeset/base/215181 Log: sh(1): Modernize the introduction a bit. In particular, remove the text about ksh-like features, which are usually taken for granted nowadays. The original Bourne shel

svn commit: r215180 - vendor/xz/5.0.0

2010-11-12 Thread Martin Matuska
Author: mm Date: Fri Nov 12 13:59:48 2010 New Revision: 215180 URL: http://svn.freebsd.org/changeset/base/215180 Log: Tag xz as 5.0.0 (git revision e45929260cd902036efd40c5610a8d0a50d5712b) Approved by: delphij (mentor) Added: vendor/xz/5.0.0/ - copied from r215179, vendor/xz/dist/

svn commit: r215179 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw

2010-11-12 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 12 13:05:17 2010 New Revision: 215179 URL: http://svn.freebsd.org/changeset/base/215179 Log: The first customer of the SO_USER_COOKIE option: the "sockarg" ipfw option matches packets associated to a local socket and with a non-zero so_user_cookie value. The val

svn commit: r215178 - in head: lib/libc/sys sys/kern sys/sys

2010-11-12 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 12 13:02:26 2010 New Revision: 215178 URL: http://svn.freebsd.org/changeset/base/215178 Log: This commit implements the SO_USER_COOKIE socket option, which lets you tag a socket with an uint32_t value. The cookie can then be used by the kernel for various purposes

svn commit: r215177 - head/release/picobsd/build

2010-11-12 Thread Luigi Rizzo
Author: luigi Date: Fri Nov 12 12:48:41 2010 New Revision: 215177 URL: http://svn.freebsd.org/changeset/base/215177 Log: move the initialization of BINMAKE earler, so it is available throughout the entire build process. Submitted by: Matteo Landi MFC after:3 days Modified: head/r

svn commit: r215176 - in head: . share/man/man9

2010-11-12 Thread Sergey Kandaurov
d OLD_DIRS last. # +# 20101112: vgonel(9) has gone to private API a while ago +OLD_FILES+=usr/share/man/man9/vgonel.9.gz # 20101112: removed gasp.info OLD_FILES+=usr/share/info/gasp.info.gz # 20101109: headers moved to machine/ to x86/ Modified: head/share/ma

svn commit: r215175 - in stable/8/sys: net sys

2010-11-12 Thread Sergey Kandaurov
Author: pluknet Date: Fri Nov 12 11:59:59 2010 New Revision: 215175 URL: http://svn.freebsd.org/changeset/base/215175 Log: MFC r214136: Reshuffle SIOCGIFCONF32 handler. Approved by: kib (mentor) Modified: stable/8/sys/net/if.c stable/8/sys/net/if.h stable/8/sys/sys/sockio.h Direct

svn commit: r215174 - stable/8/sbin/camcontrol

2010-11-12 Thread Bruce Cran
Author: brucec Date: Fri Nov 12 11:36:12 2010 New Revision: 215174 URL: http://svn.freebsd.org/changeset/base/215174 Log: MFC r214781, r214807: Improve rounding of standby timer. 22-29 minutes can't be encoded so must be rounded up to 30. PR: bin/151871 Modified: stable/8/sbin/c

svn commit: r215173 - in stable/8: share/man/man4 sys/cam sys/cam/ata

2010-11-12 Thread Bruce Cran
Author: brucec Date: Fri Nov 12 11:22:59 2010 New Revision: 215173 URL: http://svn.freebsd.org/changeset/base/215173 Log: MFC r214279: Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some SCSI controllers. A new sysctl ker

Re: svn commit: r215135 - head/sys/compat/ndis

2010-11-12 Thread Paul B Mahol
On 11/12/10, Alan Cox wrote: > Bernhard Schmidt wrote: >> Author: bschmidt >> Date: Thu Nov 11 18:43:31 2010 >> New Revision: 215135 >> URL: http://svn.freebsd.org/changeset/base/215135 >> >> Log: >> According to specs for MmAllocateContiguousMemorySpecifyCache() >> physically >> contiguous me