Re: svn commit: r219578 - head/etc

2011-03-13 Thread Doug Barton
On 03/12/2011 15:08, Jilles Tjoelker wrote: On Sat, Mar 12, 2011 at 09:13:08PM +, Doug Barton wrote: Author: dougb Date: Sat Mar 12 21:13:08 2011 New Revision: 219578 URL: http://svn.freebsd.org/changeset/base/219578 Log: Use the allexport option in load_rc_config() in order to avoid

svn commit: r219587 - head/etc/rc.d

2011-03-13 Thread Doug Barton
Author: dougb Date: Sun Mar 13 08:22:46 2011 New Revision: 219587 URL: http://svn.freebsd.org/changeset/base/219587 Log: Remove the svn:executable property on Makefile Add it on hastd Modified: Directory Properties: head/etc/rc.d/Makefile (props changed) head/etc/rc.d/hastd (props

svn commit: r219588 - head/sys/dev/ath

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Sun Mar 13 08:23:59 2011 New Revision: 219588 URL: http://svn.freebsd.org/changeset/base/219588 Log: The number of streams is not based on the interface stream count, but the number of streams needed for that MCS rate. Modified: head/sys/dev/ath/if_ath_tx_ht.c

svn commit: r219589 - head/sys/mips/atheros

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Sun Mar 13 08:28:21 2011 New Revision: 219589 URL: http://svn.freebsd.org/changeset/base/219589 Log: Commit FIFO configuration fixes from OpenWRT. This fixes performance issues with if_arge on the AR913x and AR724x. Reference: https://dev.openwrt.org/ticket/6754

svn commit: r219590 - head/sys/mips/atheros

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Sun Mar 13 08:34:14 2011 New Revision: 219590 URL: http://svn.freebsd.org/changeset/base/219590 Log: Fix the TX underrun status reset; remove a now unused variable. Submitted by: Luiz Otavio O Souza Modified: head/sys/mips/atheros/if_arge.c

svn commit: r219591 - head/sys/mips/atheros

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Sun Mar 13 08:36:57 2011 New Revision: 219591 URL: http://svn.freebsd.org/changeset/base/219591 Log: Add the missing AR724x DDR flush routines for if_arge0. Submitted by: Luiz Otavio O Souza Modified: head/sys/mips/atheros/ar724x_chip.c

svn commit: r219592 - head/sys/mips/atheros

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Sun Mar 13 08:46:58 2011 New Revision: 219592 URL: http://svn.freebsd.org/changeset/base/219592 Log: * Add wireless MAC reset, in prep for bringing over AR9130 support. * Whilst I'm here, reformat to fit inside 80 characters. Modified:

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

2011-03-13 Thread Konstantin Belousov
Author: kib Date: Sun Mar 13 09:36:52 2011 New Revision: 219594 URL: http://svn.freebsd.org/changeset/base/219594 Log: MFC r219352: The execution of the shebang script requires putting interpreter path, possible option and script path in the place of argv[0] supplied to execve(2). It is

Re: svn commit: r219578 - head/etc

2011-03-13 Thread Kostik Belousov
On Sat, Mar 12, 2011 at 09:13:08PM +, Doug Barton wrote: Author: dougb Date: Sat Mar 12 21:13:08 2011 New Revision: 219578 URL: http://svn.freebsd.org/changeset/base/219578 Log: Use the allexport option in load_rc_config() in order to avoid having to repeatedly read the conf

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

2011-03-13 Thread Konstantin Belousov
Author: kib Date: Sun Mar 13 10:08:02 2011 New Revision: 219595 URL: http://svn.freebsd.org/changeset/base/219595 Log: MFC r219352: The execution of the shebang script requires putting interpreter path, possible option and script path in the place of argv[0] supplied to execve(2). It is

svn commit: r219596 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 11:40:18 2011 New Revision: 219596 URL: http://svn.freebsd.org/changeset/base/219596 Log: First step on removing the harcoded RX/TX stream and MCS0-15 assumptions. Initialize ic_rxstream/ic_txstream with 2, for compatibility reasons. Introduce 4 new HTC

svn commit: r219597 - head/share/man/man4

2011-03-13 Thread Bjoern A. Zeeb
Author: bz Date: Sun Mar 13 11:44:16 2011 New Revision: 219597 URL: http://svn.freebsd.org/changeset/base/219597 Log: Cross-reference ip(4) rather than sysctl(8) for the global, shared MIB values to control the various port ranges. ip(4) describes these in detail. MFC after:13 days

svn commit: r219598 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 11:45:58 2011 New Revision: 219598 URL: http://svn.freebsd.org/changeset/base/219598 Log: Change the way HT capatibilities are announced. Get rid of the assumption that every device is capable of 40MHz, SGI and 2 spartial streams. Instead of printing, in

svn commit: r219599 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 11:47:43 2011 New Revision: 219599 URL: http://svn.freebsd.org/changeset/base/219599 Log: While determining the maxrate for ieee80211_media_setup() honor the device capabilities. Modified: head/sys/net80211/ieee80211.c Modified:

svn commit: r219600 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 11:56:33 2011 New Revision: 219600 URL: http://svn.freebsd.org/changeset/base/219600 Log: Fill hc_mcsset completely. Contrary to the rateset information in legacy frames the MCS Set field also contains TX capability information in cases where the

svn commit: r219601 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 11:58:40 2011 New Revision: 219601 URL: http://svn.freebsd.org/changeset/base/219601 Log: Fix rmax calculation during BSS selection. If multiple networks are available the max bandwidth is one condition used for selecting the best BSS. To achieve that

svn commit: r219602 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 12:16:23 2011 New Revision: 219602 URL: http://svn.freebsd.org/changeset/base/219602 Log: Honor device capabilities while initializing ni_htrates. Instead of hardcoding MCS0-15 generate the table dynamically, also restrict the MCS rates to our own

svn commit: r219603 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 12:21:04 2011 New Revision: 219603 URL: http://svn.freebsd.org/changeset/base/219603 Log: Fix a cutpaste error while parsing htcap/htinfo elements. This one is reponsible for not filling ni_htrates if a pre-ht information element is present. Modified:

svn commit: r219604 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 12:56:46 2011 New Revision: 219604 URL: http://svn.freebsd.org/changeset/base/219604 Log: When injecting frames a temporary node is faked, during this several uses of ic_curchan occur. Due to the nature of a scan, switching channels constantly and all this

svn commit: r219605 - in head/sys/dev/ath/ath_hal: ar5416 ar9002

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Sun Mar 13 13:00:45 2011 New Revision: 219605 URL: http://svn.freebsd.org/changeset/base/219605 Log: Fix the nfarray offsets for the ar2133/ar5133 radio - (AR5416, AR9160, etc.) The offsets didn't match the assumption that nfarray[] is ordered by the chainmask bits

svn commit: r219606 - head/sys/net80211

2011-03-13 Thread Bernhard Schmidt
Author: bschmidt Date: Sun Mar 13 13:05:50 2011 New Revision: 219606 URL: http://svn.freebsd.org/changeset/base/219606 Log: Constantly use MHz instead of Mhz. Pointed out by: N.J. Mann njm at njm.me.uk Modified: head/sys/net80211/_ieee80211.h head/sys/net80211/ieee80211_ht.c

Re: svn commit: r219559 - in head/sys: amd64/linux32 compat/freebsd32 i386/linux kern

2011-03-13 Thread Alexander Leidinger
On Sat, 12 Mar 2011 22:24:09 -0800 Artem Belevich fbsdl...@src.cx wrote: Modified: head/sys/i386/linux/syscalls.master -                                 l_handler_t handler); } +                                 void *handler); } What's wrong with l_handler_t? I don't recall the

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

2011-03-13 Thread Konstantin Belousov
Author: kib Date: Sun Mar 13 13:37:23 2011 New Revision: 219607 URL: http://svn.freebsd.org/changeset/base/219607 Log: Fix mismerge. Pointy hat to:kib Modified: stable/7/sys/kern/imgact_shell.c Modified: stable/7/sys/kern/imgact_shell.c

svn commit: r219608 - in head/sys: sparc64/include sparc64/sparc64 sun4v/include sun4v/sun4v

2011-03-13 Thread Marius Strobl
Author: marius Date: Sun Mar 13 13:42:43 2011 New Revision: 219608 URL: http://svn.freebsd.org/changeset/base/219608 Log: Remove the advertising clause from the UCB license according to the July 22, 1999 addendum. Modified: head/sys/sparc64/include/varargs.h

Re: svn commit: r219578 - head/etc

2011-03-13 Thread Jilles Tjoelker
On Sun, Mar 13, 2011 at 12:14:01AM -0800, Doug Barton wrote: On 03/12/2011 15:08, Jilles Tjoelker wrote: I wonder if it is a good idea to pollute the environment of many daemons with this. Although sshd and cron clean it up, there is at least one daemon that passes the environment on. One

svn commit: r219609 - in head/sys: amd64/linux32 i386/linux

2011-03-13 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 13 14:58:02 2011 New Revision: 219609 URL: http://svn.freebsd.org/changeset/base/219609 Log: Enable shared page use for amd64/linux32 and i386/linux binaries. Move signal trampoline code from the top of the stack to the shared page. MFC after:2 Weeks

svn commit: r219610 - head/release

2011-03-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 13 15:08:06 2011 New Revision: 219610 URL: http://svn.freebsd.org/changeset/base/219610 Log: Connect the full doc build (Handbook, etc.) to the build. This is not built if no doc checkout is found. Modified: head/release/Makefile.bsdinstall

svn commit: r219611 - head/tools/regression/bin/sh/expansion

2011-03-13 Thread Jilles Tjoelker
Author: jilles Date: Sun Mar 13 16:20:38 2011 New Revision: 219611 URL: http://svn.freebsd.org/changeset/base/219611 Log: sh: Add some tests for ${#parameter}. Added: head/tools/regression/bin/sh/expansion/length1.0 (contents, props changed)

svn commit: r219612 - head/etc

2011-03-13 Thread Doug Barton
Author: dougb Date: Sun Mar 13 16:27:36 2011 New Revision: 219612 URL: http://svn.freebsd.org/changeset/base/219612 Log: Revert r219578 Modified: head/etc/rc.subr Modified: head/etc/rc.subr == --- head/etc/rc.subr

svn commit: r219613 - head/usr.bin/netstat

2011-03-13 Thread Bruce Cran
Author: brucec Date: Sun Mar 13 16:47:21 2011 New Revision: 219613 URL: http://svn.freebsd.org/changeset/base/219613 Log: Fix typo. Modified: head/usr.bin/netstat/sctp.c Modified: head/usr.bin/netstat/sctp.c == ---

svn commit: r219614 - head/share/misc

2011-03-13 Thread Pawel Pekala
Author: pawel (ports committer) Date: Sun Mar 13 17:03:19 2011 New Revision: 219614 URL: http://svn.freebsd.org/changeset/base/219614 Log: add myself Approved by: miwi (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot

svn commit: r219615 - in head: release release/scripts usr.sbin/bsdinstall/scripts

2011-03-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 13 17:15:31 2011 New Revision: 219615 URL: http://svn.freebsd.org/changeset/base/219615 Log: Add generation of an installation manifest containing SHA256 checksums as well as package descriptions and add code in the installer to check the checksums. Added:

svn commit: r219616 - head/release

2011-03-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 13 18:02:28 2011 New Revision: 219616 URL: http://svn.freebsd.org/changeset/base/219616 Log: Fix some typos due to unremoved commented-out lines. A great big pointy hat goes to me for this one. Modified: head/release/Makefile.bsdinstall

svn commit: r219617 - head/usr.sbin/bsdinstall/distextract

2011-03-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 13 18:23:47 2011 New Revision: 219617 URL: http://svn.freebsd.org/changeset/base/219617 Log: Use the manifest file count, if available, to determine the number of files in the archive instead of spinning through it to get a file count for the progress bar.

svn commit: r219618 - head/usr.sbin/bsdinstall/distextract

2011-03-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 13 18:26:16 2011 New Revision: 219618 URL: http://svn.freebsd.org/changeset/base/219618 Log: Rewind manifest file in case distributions are in a different order there. Modified: head/usr.sbin/bsdinstall/distextract/distextract.c Modified:

Re: svn commit: r219559 - in head/sys: amd64/linux32 compat/freebsd32 i386/linux kern

2011-03-13 Thread Artem Belevich
On Sun, Mar 13, 2011 at 6:15 AM, Alexander Leidinger alexan...@leidinger.net wrote: On Sat, 12 Mar 2011 22:24:09 -0800 Artem Belevich fbsdl...@src.cx wrote: Modified: head/sys/i386/linux/syscalls.master -                                 l_handler_t handler); } +                            

svn commit: r219620 - head/sbin/hastctl

2011-03-13 Thread Mikolaj Golub
Author: trociny Date: Sun Mar 13 19:23:32 2011 New Revision: 219620 URL: http://svn.freebsd.org/changeset/base/219620 Log: In command line options allow size to be specified using k/M/G/T suffixes. Approved by: pjd (mentor) MFC after:1 week Modified: head/sbin/hastctl/hastctl.8

svn commit: r219621 - head/tools/regression/pjdfstest/tests/open

2011-03-13 Thread Pawel Jakub Dawidek
Author: pjd Date: Sun Mar 13 19:35:13 2011 New Revision: 219621 URL: http://svn.freebsd.org/changeset/base/219621 Log: POSIX accepts only ELOOP if O_NOFOLLOW is specified and target is a symlink. Modified: head/tools/regression/pjdfstest/tests/open/16.t Modified:

svn commit: r219623 - in head: bin/sh tools/regression/bin/sh/expansion

2011-03-13 Thread Jilles Tjoelker
Author: jilles Date: Sun Mar 13 20:02:39 2011 New Revision: 219623 URL: http://svn.freebsd.org/changeset/base/219623 Log: sh: Fix some parameter expansion variants ${#...}. These already worked: $# ${#} ${##} ${#-} ${#?} These now work as well: ${#+word} ${#-word} ${##word} ${#%word}

svn commit: r219624 - head/sys/powerpc/powermac

2011-03-13 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 13 21:23:25 2011 New Revision: 219624 URL: http://svn.freebsd.org/changeset/base/219624 Log: Don't sleep while setting the clock. This can cause panics when periodic_resettodr() calls CLOCK_SETTIME() and smu tries to sleep while running from a callout.

svn commit: r219627 - head/sys/dev/ath/ath_hal/ar9002

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Mon Mar 14 00:42:48 2011 New Revision: 219627 URL: http://svn.freebsd.org/changeset/base/219627 Log: Bring over the AR9285 board update code from ath9k. This does a few things in particular: * Abstracts out the gain control settings into a separate function; *

svn commit: r219628 - head/sys/dev/ath/ath_hal/ar9002

2011-03-13 Thread Adrian Chadd
Author: adrian Date: Mon Mar 14 02:32:10 2011 New Revision: 219628 URL: http://svn.freebsd.org/changeset/base/219628 Log: Fix typo that snuck in. Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_reset.c Modified: head/sys/dev/ath/ath_hal/ar9002/ar9285_reset.c