Re: svn: head/sys/netinet

2011-12-30 Thread Kostik Belousov
On Fri, Dec 30, 2011 at 04:25:09PM -0800, Maxim Sobolev wrote: > On 12/30/2011 4:17 PM, Maxim Sobolev wrote: > >>M> Won't this break whole lot of third-party software, which expects > >>M> FreeBSD to be slightly different in this regards? Just curious. > >> > >>Yes it does. And until FreeBSD 10.0

svn commit: r229073 - in head: share/man/man4 sys/net

2011-12-30 Thread Lawrence Stewart
Author: lstewart Date: Sat Dec 31 07:21:28 2011 New Revision: 229073 URL: http://svn.freebsd.org/changeset/base/229073 Log: Revert r228986 until it can be reworked to avoid panicing the kernel when the same interface is attached multiple times with different DLTs, as is done in net80211 for

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Adrian Chadd
Please file a PR for me? :) Adrian On 30 December 2011 23:02, Lawrence Stewart wrote: > On 12/31/11 11:13, Adrian Chadd wrote: >> >> This just broke wlan. Please consider fixing this patch :) >> >> >> Adrian >> >> *** Interface: wlan0: start >> can't re-use a leaf (wlan0)! >> panic: bpfattach t

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Lawrence Stewart
On 12/31/11 11:13, Adrian Chadd wrote: This just broke wlan. Please consider fixing this patch :) Adrian *** Interface: wlan0: start can't re-use a leaf (wlan0)! panic: bpfattach tscfgoid KDB: enter: panic [ thread pid 166 tid 100048 ]Stopped at kdb_enter+0x4c: lui at,0x8048 db> db>

svn commit: r229072 - head/sys/mips/cavium/usb

2011-12-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 31 05:45:10 2011 New Revision: 229072 URL: http://svn.freebsd.org/changeset/base/229072 Log: - Pass proper endpoint number (without direction flag) to cvmx_usb_open_pipe Modified: head/sys/mips/cavium/usb/octusb.c Modified: head/sys/mips/cavium/usb/octusb.c =

svn commit: r229071 - head/sys/contrib/octeon-sdk

2011-12-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 31 05:25:42 2011 New Revision: 229071 URL: http://svn.freebsd.org/changeset/base/229071 Log: - Properly clean state structure in cvmx_usb_initialize Modified: head/sys/contrib/octeon-sdk/cvmx-usb.c Modified: head/sys/contrib/octeon-sdk/cvmx-usb.c =

svn commit: r229070 - head/sys/contrib/octeon-sdk

2011-12-30 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Dec 31 05:24:21 2011 New Revision: 229070 URL: http://svn.freebsd.org/changeset/base/229070 Log: - CAPK-0100 board's USB timer is 12MHz Modified: head/sys/contrib/octeon-sdk/cvmx-helper-board.c Modified: head/sys/contrib/octeon-sdk/cvmx-helper-board.c

svn commit: r229069 - in stable/8: . sys/sys

2011-12-30 Thread David E. O'Brien
Author: obrien Date: Sat Dec 31 04:47:00 2011 New Revision: 229069 URL: http://svn.freebsd.org/changeset/base/229069 Log: MF9 r229068: Happy 2012 to FreeBSD users in Samoa. Modified: stable/8/COPYRIGHT (contents, props changed) stable/8/sys/sys/copyright.h Directory Properties: stable/8

svn commit: r229068 - in stable/9: . sys/sys

2011-12-30 Thread David E. O'Brien
Author: obrien Date: Sat Dec 31 04:42:17 2011 New Revision: 229068 URL: http://svn.freebsd.org/changeset/base/229068 Log: MFC 229067: Happy 2012 to FreeBSD users in Samoa. Modified: stable/9/COPYRIGHT stable/9/sys/sys/copyright.h Directory Properties: stable/9/ (props changed) stable/

svn commit: r229067 - in head: . sys/sys

2011-12-30 Thread David E. O'Brien
Author: obrien Date: Sat Dec 31 04:38:04 2011 New Revision: 229067 URL: http://svn.freebsd.org/changeset/base/229067 Log: Happy 2012 to FreeBSD users in Samoa. Modified: head/COPYRIGHT head/sys/sys/copyright.h Modified: head/COPYRIGHT ===

svn commit: r229065 - stable/8/sys/cam/scsi

2011-12-30 Thread Matthew D Fleming
Author: mdf Date: Sat Dec 31 03:02:59 2011 New Revision: 229065 URL: http://svn.freebsd.org/changeset/base/229065 Log: MFC r228442: Do not use the sometimes-reserved word 'bool' for a variable name. Modified: stable/8/sys/cam/scsi/scsi_xpt.c Directory Properties: stable/8/sys/ (props

svn commit: r229063 - stable/7/sys/dev/et

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 01:33:25 2011 New Revision: 229063 URL: http://svn.freebsd.org/changeset/base/229063 Log: MFC r226480-226481: r226480: Add missing driver lock in media status handler. r226481: Make sure to report media change status to caller. Previously it al

svn commit: r229062 - in stable/8/sys: conf dev/et

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 01:32:06 2011 New Revision: 229062 URL: http://svn.freebsd.org/changeset/base/229062 Log: MFC r226480-226481: r226480: Add missing driver lock in media status handler. r226481: Make sure to report media change status to caller. Previously it al

svn commit: r229061 - stable/9/sys/dev/et

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 01:30:43 2011 New Revision: 229061 URL: http://svn.freebsd.org/changeset/base/229061 Log: MFC r226480-226481: r226480: Add missing driver lock in media status handler. r226481: Make sure to report media change status to caller. Previously it al

svn commit: r229060 - stable/9/sys/dev/usb/net

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 01:22:16 2011 New Revision: 229060 URL: http://svn.freebsd.org/changeset/base/229060 Log: MFC r226479: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating u

svn commit: r229059 - in stable/7/sys: dev/age dev/alc dev/ale dev/lge dev/msk dev/nfe dev/nge dev/nve dev/re dev/sge dev/sis dev/vge dev/vr dev/vte pci

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 01:10:29 2011 New Revision: 229059 URL: http://svn.freebsd.org/changeset/base/229059 Log: MFC r226478: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating u

svn commit: r229058 - in stable/8/sys: conf dev/age dev/alc dev/ale dev/lge dev/msk dev/nfe dev/nge dev/nve dev/re dev/sge dev/sis dev/vge dev/vr dev/vte mips/atheros mips/idt pci

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 01:08:31 2011 New Revision: 229058 URL: http://svn.freebsd.org/changeset/base/229058 Log: MFC r226478: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating u

svn commit: r229057 - in stable/9/sys: dev/age dev/alc dev/ale dev/lge dev/msk dev/nfe dev/nge dev/nve dev/re dev/sge dev/sis dev/vge dev/vr dev/vte mips/atheros mips/idt pci

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 01:07:01 2011 New Revision: 229057 URL: http://svn.freebsd.org/changeset/base/229057 Log: MFC r226478: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating u

svn commit: r229054 - stable/7/sys/dev/bce

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 00:47:54 2011 New Revision: 229054 URL: http://svn.freebsd.org/changeset/base/229054 Log: MFC r226123: BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually in

svn commit: r229053 - in stable/8/sys: conf dev/bce

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 00:46:06 2011 New Revision: 229053 URL: http://svn.freebsd.org/changeset/base/229053 Log: MFC r226123: BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually in

svn commit: r229052 - stable/9/sys/dev/bce

2011-12-30 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 31 00:44:11 2011 New Revision: 229052 URL: http://svn.freebsd.org/changeset/base/229052 Log: MFC r226123: BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually in

Re: svn: head/sys/netinet

2011-12-30 Thread Maxim Sobolev
On 12/30/2011 4:17 PM, Maxim Sobolev wrote: M> Won't this break whole lot of third-party software, which expects M> FreeBSD to be slightly different in this regards? Just curious. Yes it does. And until FreeBSD 10.0-RELEASE there is time to fix this software (at least in ports). The MFC to st

Re: svn: head/sys/netinet

2011-12-30 Thread Maxim Sobolev
On 12/30/2011 12:02 PM, Gleb Smirnoff wrote: On Fri, Dec 30, 2011 at 11:23:45AM -0800, Maxim Sobolev wrote: M> Won't this break whole lot of third-party software, which expects M> FreeBSD to be slightly different in this regards? Just curious. Yes it does. And until FreeBSD 10.0-RELEASE there

Re: svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Adrian Chadd
This just broke wlan. Please consider fixing this patch :) Adrian *** Interface: wlan0: start can't re-use a leaf (wlan0)! panic: bpfattach tscfgoid KDB: enter: panic [ thread pid 166 tid 100048 ]Stopped at kdb_enter+0x4c: lui at,0x8048 db> db> bt Tracing pid 166 tid 100048 td 0x80c3790

svn commit: r229049 - head/sbin/bsdlabel

2011-12-30 Thread Maxim Sobolev
Author: sobomax Date: Sat Dec 31 00:09:33 2011 New Revision: 229049 URL: http://svn.freebsd.org/changeset/base/229049 Log: Use in-label sectorsize to determine position of the label when writing label into a file image. The most common use - putting disklabel into ISO file. Before this chang

svn commit: r229047 - in stable/9/lib/libthr/arch: amd64/include i386/include

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 23:41:24 2011 New Revision: 229047 URL: http://svn.freebsd.org/changeset/base/229047 Log: MFC r228536: The TCB_GET32() and TCB_GET64() macros in the i386 and amd64-specific versions of pthread_md.h have a special case of dereferencing a null pointer. Clang

svn commit: r229046 - stable/9/contrib/libstdc++/include/debug

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 22:59:00 2011 New Revision: 229046 URL: http://svn.freebsd.org/changeset/base/229046 Log: MFC r228328: Make it possible to use the debug versions of std::map and std::multimap with clang, by removing two unneeded using declarations. Otherwise, you would get

svn commit: r229045 - stable/9/tools/build/mk

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 22:54:19 2011 New Revision: 229045 URL: http://svn.freebsd.org/changeset/base/229045 Log: MFC r228409: Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG is in effect. Modified: stable/9/tools/build/mk/OptionalObsoleteFiles.inc Directory Pr

svn commit: r229043 - stable/9/sys/cam/scsi

2011-12-30 Thread Matthew D Fleming
Author: mdf Date: Fri Dec 30 22:42:22 2011 New Revision: 229043 URL: http://svn.freebsd.org/changeset/base/229043 Log: MFC r228442: Do not use the sometimes-reserved word 'bool' for a variable name. Modified: stable/9/sys/cam/scsi/scsi_xpt.c Directory Properties: stable/9/sys/ (props

svn commit: r229042 - in stable/9: contrib/llvm/lib/CodeGen contrib/llvm/lib/CodeGen/AsmPrinter contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/lib/Target/ARM contrib/llvm/lib/Target/CppBackend ...

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 22:40:17 2011 New Revision: 229042 URL: http://svn.freebsd.org/changeset/base/229042 Log: MFC r228379: Upgrade our copy of llvm/clang to 3.0 release. Release notes can be found at: http://llvm.org/releases/3.0/docs/ReleaseNotes.html MFC r228383:

svn commit: r229041 - in stable/9/contrib/llvm/tools/clang: include/clang/AST include/clang/Basic include/clang/Serialization lib/AST lib/Sema lib/Serialization

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 22:30:21 2011 New Revision: 229041 URL: http://svn.freebsd.org/changeset/base/229041 Log: MFC r227737: Pull in r144505 from upstream clang trunk: Fix the signature of the getcontext builtin, eliminating incorrect warnings about its prototype. This al

svn commit: r229040 - stable/9/contrib/llvm/tools/clang/include/clang/Basic

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 22:27:26 2011 New Revision: 229040 URL: http://svn.freebsd.org/changeset/base/229040 Log: MFC r227736: Pull in r144237 from upstream clang trunk: Fix the signature of __sigsetjmp and sigsetjmp. This eliminates incorrect warnings about the prototypes of t

svn commit: r229039 - in stable/9/contrib/llvm/tools/clang: include/clang/Basic lib/Sema

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 22:17:10 2011 New Revision: 229039 URL: http://svn.freebsd.org/changeset/base/229039 Log: MFC r227735: Pull in r144110 from upstream clang trunk: Mark the overloaded atomic builtins as having custom type checking, which they do. This avoids all of the def

svn commit: r229038 - stable/8/bin/sh

2011-12-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 30 22:07:15 2011 New Revision: 229038 URL: http://svn.freebsd.org/changeset/base/229038 Log: MFC r227122: sh(1): Improve documentation of field splitting. This describes the POSIX-compliant splitting algorithm that first appeared in 8.0. Modified: stable/8/

svn commit: r229037 - in stable/9: gnu/lib/libstdc++ lib/clang/include/llvm/Config

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 22:07:04 2011 New Revision: 229037 URL: http://svn.freebsd.org/changeset/base/229037 Log: MFC r227215: When one attempts to compile the tree with -march=i386, which also used to be gcc's default before r198344, calls to atomic builtins will not be expa

svn commit: r229036 - stable/9/bin/sh

2011-12-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 30 21:50:16 2011 New Revision: 229036 URL: http://svn.freebsd.org/changeset/base/229036 Log: MFC r227122: sh(1): Improve documentation of field splitting. This describes the POSIX-compliant splitting algorithm that first appeared in 8.0. Modified: stable/9/

svn commit: r229035 - stable/7/usr.bin/make

2011-12-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 30 21:46:30 2011 New Revision: 229035 URL: http://svn.freebsd.org/changeset/base/229035 Log: MFC r227121: make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`. Regular pwd may return a pathname containing symlinks, but make does not use s

svn commit: r229034 - stable/8/usr.bin/make

2011-12-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 30 21:33:19 2011 New Revision: 229034 URL: http://svn.freebsd.org/changeset/base/229034 Log: MFC r227121: make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`. Regular pwd may return a pathname containing symlinks, but make does not use s

svn commit: r229033 - stable/9/usr.bin/make

2011-12-30 Thread Jilles Tjoelker
Author: jilles Date: Fri Dec 30 21:27:51 2011 New Revision: 229033 URL: http://svn.freebsd.org/changeset/base/229033 Log: MFC r227121: make(1): obj dirs are physical paths so write `pwd -P` rather than `pwd`. Regular pwd may return a pathname containing symlinks, but make does not use s

svn commit: r229032 - head/sys/modules/cfi

2011-12-30 Thread Marius Strobl
Author: marius Date: Fri Dec 30 21:22:10 2011 New Revision: 229032 URL: http://svn.freebsd.org/changeset/base/229032 Log: Add header required by cfi_bus_fdt.c. Modified: head/sys/modules/cfi/Makefile Modified: head/sys/modules/cfi/Makefile

svn commit: r229031 - stable/8/sys/conf

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 21:02:32 2011 New Revision: 229031 URL: http://svn.freebsd.org/changeset/base/229031 Log: MFC r227816: Remove the wrong comment about ufs not being loadable. Note that only root filesystem module needs to be available before root is mounted. Modified: stable

svn commit: r229030 - stable/9/sys/conf

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 21:01:14 2011 New Revision: 229030 URL: http://svn.freebsd.org/changeset/base/229030 Log: MFC r227816: Remove the wrong comment about ufs not being loadable. Note that only root filesystem module needs to be available before root is mounted. Modified: stable

svn commit: r229029 - stable/9

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 21:00:02 2011 New Revision: 229029 URL: http://svn.freebsd.org/changeset/base/229029 Log: MFC r227120: Make it possible to set CC and CXX (and optionally, AS and LD) in make.conf(5), while allowing the build32 stage on 64-bit architectures to still override

svn commit: r229028 - stable/8/lib/libc/sys

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:57:36 2011 New Revision: 229028 URL: http://svn.freebsd.org/changeset/base/229028 Log: MFC r227622: Fix typo. Modified: stable/8/lib/libc/sys/stat.2 Directory Properties: stable/8/lib/libc/ (props changed) Modified: stable/8/lib/libc/sys/stat.2 =

svn commit: r229027 - stable/9/lib/libc/sys

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:55:38 2011 New Revision: 229027 URL: http://svn.freebsd.org/changeset/base/229027 Log: MFC r227622: Fix typo. Modified: stable/9/lib/libc/sys/stat.2 Directory Properties: stable/9/lib/libc/ (props changed) Modified: stable/9/lib/libc/sys/stat.2 =

svn commit: r229026 - stable/9/sys/kern

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:52:56 2011 New Revision: 229026 URL: http://svn.freebsd.org/changeset/base/229026 Log: MFC r227444: Style. Modified: stable/9/sys/kern/kern_conf.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/kern/kern_conf.c ===

svn commit: r229025 - stable/9/sys/kern

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:45:40 2011 New Revision: 229025 URL: http://svn.freebsd.org/changeset/base/229025 Log: MFC r227443: Guard against the unlikely case of the alias path containing the '%' symbols. Modified: stable/9/sys/kern/kern_conf.c Directory Properties: stable/9/sys/ (

svn commit: r229024 - head/lib/libc/gen

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 20:41:24 2011 New Revision: 229024 URL: http://svn.freebsd.org/changeset/base/229024 Log: Add some additional const poison after r228972. The 'mapping' array in lib/libc/gen/strtofflags.c became const, but gcc did not warn about assigning its members to non-cons

svn commit: r229023 - in stable/9/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:35:13 2011 New Revision: 229023 URL: http://svn.freebsd.org/changeset/base/229023 Log: MFC r227399: Attempt to improve formatting and content of several comments for amd64 and i386 MD code. Modified: stable/9/sys/amd64/amd64/trap.c stable/9/sys/amd64/incl

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Garrett Cooper
2011/12/30 Alexey Dokuchaev : > On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: >> On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: >> > -                * is 11 bit wide that gives us upto 2048 chunks. >> > +                * is 11 bit wide that gives us up to 2048 chunks. >> >

svn commit: r229022 - stable/8/sys/fs/procfs

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:24:52 2011 New Revision: 229022 URL: http://svn.freebsd.org/changeset/base/229022 Log: MFC r227393: Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. Modified: sta

svn commit: r229021 - stable/9/sys/fs/procfs

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:21:53 2011 New Revision: 229021 URL: http://svn.freebsd.org/changeset/base/229021 Log: MFC r227393: Lock the thread lock around block that retrieves td_wmesg. Otherwise, procfs could see a thread with assigned td_wchan but still NULL td_wmesg. Modified: sta

Re: svn commit: r227652 - in head: share/man/man4 sys/dev/virtio sys/dev/virtio/balloon sys/dev/virtio/block sys/dev/virtio/network sys/dev/virtio/pci sys/modules sys/modules/virtio sys/modules/virtio

2011-12-30 Thread Slawa Olhovchenkov
On Fri, Nov 18, 2011 at 05:43:43AM +, Peter Grehan wrote: > Author: grehan > Date: Fri Nov 18 05:43:43 2011 > New Revision: 227652 > URL: http://svn.freebsd.org/changeset/base/227652 > > Log: > Import virtio base, PCI front-end, and net/block/balloon drivers. > Tested on Qemu/KVM, Virtual

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Colin Percival
On 12/30/11 11:54, Alexey Dokuchaev wrote: > On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: >> On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: >>> -* is 11 bit wide that gives us upto 2048 chunks. >>> +* is 11 bit wide that gives us up to 2048 c

svn commit: r229020 - stable/8/sys/ddb

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:12:50 2011 New Revision: 229020 URL: http://svn.freebsd.org/changeset/base/229020 Log: MFC r228376: Typo. Modified: stable/8/sys/ddb/db_thread.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/ddb/db_thread.c ==

Re: svn commit: r228992 - in head/usr.bin: csup finger fstat indent ipcs lex limits locate/locate login mail make man ncplogin netstat pr rpcgen rpcinfo systat talk tip/tip top vgrind xlint/lint1 xlin

2011-12-30 Thread Ben Kaduk
On Fri, Dec 30, 2011 at 6:02 AM, Ulrich Spoerlein wrote: > Author: uqs > Date: Fri Dec 30 11:02:40 2011 > New Revision: 228992 > URL: http://svn.freebsd.org/changeset/base/228992 > > Log: >  Spelling fixes for usr.bin/ > > > Modified: head/usr.bin/lex/NEWS > ===

svn commit: r229019 - stable/9/sys/ddb

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:06:43 2011 New Revision: 229019 URL: http://svn.freebsd.org/changeset/base/229019 Log: MFC r228376: Typo. Modified: stable/9/sys/ddb/db_thread.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/ddb/db_thread.c ==

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Glen Barber
On Fri, Dec 30, 2011 at 07:54:44PM +, Alexey Dokuchaev wrote: > On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: > > On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > > > -                * is 11 bit wide that gives us upto 2048 chunks. > > > +                * is 11 bit wid

Re: svn: head/sys/netinet

2011-12-30 Thread Gleb Smirnoff
On Fri, Dec 30, 2011 at 11:23:45AM -0800, Maxim Sobolev wrote: M> Won't this break whole lot of third-party software, which expects M> FreeBSD to be slightly different in this regards? Just curious. Yes it does. And until FreeBSD 10.0-RELEASE there is time to fix this software (at least in ports)

svn commit: r229018 - stable/8/libexec/rtld-elf

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 20:01:26 2011 New Revision: 229018 URL: http://svn.freebsd.org/changeset/base/229018 Log: MFC r228375: Typo. Modified: stable/8/libexec/rtld-elf/rtld.h Directory Properties: stable/8/libexec/rtld-elf/ (props changed) Modified: stable/8/libexec/rtld-elf/rtld

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Harti Brandt
On Fri, 30 Dec 2011, Ben Kaduk wrote: BK>On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: BK>> Author: uqs BK>> Date: Fri Dec 30 10:58:14 2011 BK>> New Revision: 228990 BK>> URL: http://svn.freebsd.org/changeset/base/228990 BK>> BK>> Log: BK>>  Spelling fixes for usr.sbin/ BK>> [snip] B

svn commit: r229017 - stable/9/libexec/rtld-elf

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 19:59:54 2011 New Revision: 229017 URL: http://svn.freebsd.org/changeset/base/229017 Log: MFC r228375: Typo. Modified: stable/9/libexec/rtld-elf/rtld.h Directory Properties: stable/9/libexec/rtld-elf/ (props changed) Modified: stable/9/libexec/rtld-elf/rtld

Re: svn: head/sys/netinet

2011-12-30 Thread Maxim Sobolev
Won't this break whole lot of third-party software, which expects FreeBSD to be slightly different in this regards? Just curious. -Maxim On 10/7/2011 6:43 AM, Andre Oppermann wrote: Author: andre Date: Fri Oct 7 13:43:01 2011 New Revision: 226105 URL: http://svn.freebsd.org/changeset/base/226

svn commit: r229016 - stable/9/sys/kern

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 19:58:06 2011 New Revision: 229016 URL: http://svn.freebsd.org/changeset/base/229016 Log: MFC r228178: If alloc_unr() call in the pipe_create() failed, then pipe->pipe_ino is -1. But, because ino_t is unsigned, this case was not covered by the test ino > 0 in p

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Alexey Dokuchaev
On Fri, Dec 30, 2011 at 02:43:22PM -0500, Ben Kaduk wrote: > On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > > -                * is 11 bit wide that gives us upto 2048 chunks. > > +                * is 11 bit wide that gives us up to 2048 chunks. > > Should be "11 bits", no? I'm not

Re: svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnm

2011-12-30 Thread Ben Kaduk
On Fri, Dec 30, 2011 at 5:58 AM, Ulrich Spoerlein wrote: > Author: uqs > Date: Fri Dec 30 10:58:14 2011 > New Revision: 228990 > URL: http://svn.freebsd.org/changeset/base/228990 > > Log: >  Spelling fixes for usr.sbin/ > > Modified: head/usr.sbin/bluetooth/sdpd/server.c >

svn commit: r229015 - stable/8/sys/sys

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 19:24:53 2011 New Revision: 229015 URL: http://svn.freebsd.org/changeset/base/229015 Log: MFC r227392: Assert that _PRELE() is done for the held process. Modified: stable/8/sys/sys/proc.h Directory Properties: stable/8/sys/ (props changed) Modified: stable/

svn commit: r229014 - stable/9/sys/sys

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 19:18:13 2011 New Revision: 229014 URL: http://svn.freebsd.org/changeset/base/229014 Log: MFC r227392: Assert that _PRELE() is done for the held process. Modified: stable/9/sys/sys/proc.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/

svn commit: r229013 - stable/8/sys/vm

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 19:04:12 2011 New Revision: 229013 URL: http://svn.freebsd.org/changeset/base/229013 Log: MFC r228432: Fix printf. Modified: stable/8/sys/vm/swap_pager.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/vm/swap_pager.c

svn commit: r229012 - stable/9/sys/vm

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 18:58:42 2011 New Revision: 229012 URL: http://svn.freebsd.org/changeset/base/229012 Log: MFC r228432: Fix printf. Modified: stable/9/sys/vm/swap_pager.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/vm/swap_pager.c

svn commit: r229011 - stable/8/lib/libc/i386/gen

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 18:29:09 2011 New Revision: 229011 URL: http://svn.freebsd.org/changeset/base/229011 Log: MFC r227024: Despite official i386 ABI does not mandate any stack alignment besides the word alignment, some versions of gcc do require 16-byte alignment. Make sure the st

svn commit: r229010 - stable/8/lib/libc/amd64/gen

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 18:22:34 2011 New Revision: 229010 URL: http://svn.freebsd.org/changeset/base/229010 Log: MFC r227023: Make sure that stack is 16-byte aligned before calling a function, as it is required by amd64 ABI. Add a comment for the places were the stack is accidentally

svn commit: r229009 - stable/9/lib/libc/i386/gen

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 18:20:44 2011 New Revision: 229009 URL: http://svn.freebsd.org/changeset/base/229009 Log: MFC r227024: Despite official i386 ABI does not mandate any stack alignment besides the word alignment, some versions of gcc do require 16-byte alignment. Make sure the st

svn commit: r229008 - stable/9/lib/libc/amd64/gen

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 18:18:06 2011 New Revision: 229008 URL: http://svn.freebsd.org/changeset/base/229008 Log: MFC r227023: Make sure that stack is 16-byte aligned before calling a function, as it is required by amd64 ABI. Add a comment for the places were the stack is accidentally

svn commit: r229007 - head/sys/i386/xen

2011-12-30 Thread Alan Cox
Author: alc Date: Fri Dec 30 18:16:15 2011 New Revision: 229007 URL: http://svn.freebsd.org/changeset/base/229007 Log: Merge r216333 and r216555 from the native pmap When r207410 eliminated the acquisition and release of the page queues lock from pmap_extract_and_hold(), it didn't take i

svn commit: r229006 - stable/8/sys/fs/procfs

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 18:02:14 2011 New Revision: 229006 URL: http://svn.freebsd.org/changeset/base/229006 Log: MFC r227104: Fix typo. Modified: stable/8/sys/fs/procfs/procfs_status.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/fs/procfs/procfs_sta

svn commit: r229005 - stable/9/sys/fs/procfs

2011-12-30 Thread Konstantin Belousov
Author: kib Date: Fri Dec 30 17:54:33 2011 New Revision: 229005 URL: http://svn.freebsd.org/changeset/base/229005 Log: MFC r227104: Fix typo. Modified: stable/9/sys/fs/procfs/procfs_status.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/fs/procfs/procfs_sta

Re: svn commit: r228878 - head/include

2011-12-30 Thread David Chisnall
On 30 Dec 2011, at 16:52, Sean C. Farley wrote: >> My quick googling didn't show anything at all about the C++ standard and >> stdbool.h or __bool_true_false_are_defined. It was probably originally set >> because bool, true, and false are all C++ keywords so certain code that >> wanted to ifde

svn commit: r229004 - head/sys/compat/ndis

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 17:18:09 2011 New Revision: 229004 URL: http://svn.freebsd.org/changeset/base/229004 Log: In sys/compat/ndis/subr_ntoskrnl.c, change the RtlFillMemory function definition from K&R to ANSI, to avoid a clang warning about the uint8_t parameter being promoted to int

Re: svn commit: r228878 - head/include

2011-12-30 Thread Sean C. Farley
On Fri, 30 Dec 2011, Ed Schouten wrote: Hello Sean, * Sean C. Farley , 20111230 03:54: I just thought of this while reviewing the change: should __bool_true_false_are_defined be set only if __cplusplus is not set? It should be set for C99, but I wonder if it should be set for C++. Even if

Re: svn commit: r228878 - head/include

2011-12-30 Thread Sean C. Farley
On Thu, 29 Dec 2011, m...@freebsd.org wrote: On Thu, Dec 29, 2011 at 6:54 PM, Sean C. Farley wrote: On Sun, 25 Dec 2011, Ed Schouten wrote: Author: ed Date: Sun Dec 25 20:15:41 2011 New Revision: 228878 URL: http://svn.freebsd.org/changeset/base/228878 Log:  Remove unneeded guard.  There i

svn commit: r229003 - head/sys/netgraph

2011-12-30 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 30 15:41:28 2011 New Revision: 229003 URL: http://svn.freebsd.org/changeset/base/229003 Log: style(9), whitespace and spelling nits. Modified: head/sys/netgraph/ng_base.c Modified: head/sys/netgraph/ng_base.c =

svn commit: r229002 - head/sbin/dhclient

2011-12-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Dec 30 14:46:53 2011 New Revision: 229002 URL: http://svn.freebsd.org/changeset/base/229002 Log: Set svn:executable on dhclient-script Sponsored by: Yakaz (http://www.yakaz.com) Modified: Directory Properties: head/sbin/dhclient/dhclient-script (props changed

svn commit: r229001 - head/tools/regression/sbin/dhclient

2011-12-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Dec 30 14:41:47 2011 New Revision: 229001 URL: http://svn.freebsd.org/changeset/base/229001 Log: Adapt testsuite following change in Domain Search error handling In this testsuite, warning() and error() have the same behaviour. PR: bin/163431 Spon

svn commit: r229000 - head/sbin/dhclient

2011-12-30 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Fri Dec 30 14:33:08 2011 New Revision: 229000 URL: http://svn.freebsd.org/changeset/base/229000 Log: Invalid Domain Search option isn't considered as a fatal error In the original Domain Search option patch, an invalid option value would cause the whole lease to be

svn commit: r228999 - svnadmin/conf

2011-12-30 Thread Ken Smith
Author: kensmith Date: Fri Dec 30 14:30:16 2011 New Revision: 228999 URL: http://svn.freebsd.org/changeset/base/228999 Log: Release the code freeze on stable/9. Approved by: core (implicit) Modified: svnadmin/conf/approvers Modified: svnadmin/conf/approvers

svn commit: r228994 - in head/sys: conf modules/ipfilter modules/nxge modules/xfs

2011-12-30 Thread Dimitry Andric
Author: dim Date: Fri Dec 30 13:16:59 2011 New Revision: 228994 URL: http://svn.freebsd.org/changeset/base/228994 Log: Disable several instances instances of clang's -Wself-assign warning. All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove

svn commit: r228993 - in head/share: doc/IPv6 termcap

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 11:11:54 2011 New Revision: 228993 URL: http://svn.freebsd.org/changeset/base/228993 Log: Spelling fixes for share/ Modified: head/share/doc/IPv6/IMPLEMENTATION head/share/termcap/termcap.src Modified: head/share/doc/IPv6/IMPLEMENTATION

svn commit: r228992 - in head/usr.bin: csup finger fstat indent ipcs lex limits locate/locate login mail make man ncplogin netstat pr rpcgen rpcinfo systat talk tip/tip top vgrind xlint/lint1 xlint...

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 11:02:40 2011 New Revision: 228992 URL: http://svn.freebsd.org/changeset/base/228992 Log: Spelling fixes for usr.bin/ Modified: head/usr.bin/csup/fixups.c head/usr.bin/csup/mux.c head/usr.bin/csup/rcsfile.c head/usr.bin/finger/finger.c head/usr.bin/fstat/f

svn commit: r228991 - in head/usr.bin: brandelf calendar/calendars logins sockstat unzip whereis

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 10:59:15 2011 New Revision: 228991 URL: http://svn.freebsd.org/changeset/base/228991 Log: Reencode files from latin1 to UTF-8. This makes a tiny percentage of entries in calendars ugly for latin1 users, but fixes them for UTF-8 users. This badly needs a s

svn commit: r228990 - in head/usr.sbin: IPXrouted adduser bluetooth/btpand bluetooth/sdpd bootparamd/bootparamd bsnmpd/modules/snmp_bridge bsnmpd/modules/snmp_hostres bsnmpd/modules/snmp_wlan bsnmp...

2011-12-30 Thread Ulrich Spoerlein
Author: uqs Date: Fri Dec 30 10:58:14 2011 New Revision: 228990 URL: http://svn.freebsd.org/changeset/base/228990 Log: Spelling fixes for usr.sbin/ Modified: head/usr.sbin/IPXrouted/sap_input.c head/usr.sbin/IPXrouted/sap_tables.c head/usr.sbin/adduser/adduser.sh head/usr.sbin/bluetooth

svn commit: r228989 - head/lib

2011-12-30 Thread Robert Watson
Author: rwatson Date: Fri Dec 30 10:45:00 2011 New Revision: 228989 URL: http://svn.freebsd.org/changeset/base/228989 Log: Fix typo in Makefile comment. MFC after:3 days Modified: head/lib/Makefile Modified: head/lib/Makefile =

svn commit: r228988 - head/sys/mips/conf

2011-12-30 Thread Adrian Chadd
Author: adrian Date: Fri Dec 30 09:48:35 2011 New Revision: 228988 URL: http://svn.freebsd.org/changeset/base/228988 Log: Add a configuration file for the Atheros PB47 reference board. This is an AR71xx based board with 8MB flash, 64MB RAM, a Mini-PCI+ slot (see below) and a single 10/100/10

svn commit: r228987 - head/sys/mips/conf

2011-12-30 Thread Adrian Chadd
Author: adrian Date: Fri Dec 30 09:39:24 2011 New Revision: 228987 URL: http://svn.freebsd.org/changeset/base/228987 Log: Add a couple of missing wlan modules. Modified: head/sys/mips/conf/AR71XX_BASE Modified: head/sys/mips/conf/AR71XX_BASE ==

Re: svn commit: r228878 - head/include

2011-12-30 Thread Ed Schouten
Hello Sean, * Sean C. Farley , 20111230 03:54: > I just thought of this while reviewing the change: should > __bool_true_false_are_defined be set only if __cplusplus is not set? > It should be set for C99, but I wonder if it should be set for C++. Even if the C++ standard doesn't

svn commit: r228986 - in head: share/man/man4 sys/net

2011-12-30 Thread Lawrence Stewart
Author: lstewart Date: Fri Dec 30 08:57:58 2011 New Revision: 228986 URL: http://svn.freebsd.org/changeset/base/228986 Log: - Introduce the net.bpf.tscfg sysctl tree and associated code so as to make one aspect of time stamp configuration per interface rather than per BPF descriptor. Pr