svn commit: r235773 - head/contrib/ncurses/man

2012-05-22 Thread Dimitry Andric
Author: dim Date: Tue May 22 06:28:53 2012 New Revision: 235773 URL: http://svn.freebsd.org/changeset/base/235773 Log: Correct use_screen() and use_window() prototypes in curs_threads(3x). Submitted by: Yanhui Shen shen@gmail.com MFC after:3 days Modified:

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

2012-05-22 Thread Adrian Chadd
Author: adrian Date: Tue May 22 06:31:03 2012 New Revision: 235774 URL: http://svn.freebsd.org/changeset/base/235774 Log: Fix up some corner cases with aggregation handling. I've come across a weird scenario in net80211 where two TX streams will happily attempt to setup an aggregation

svn commit: r235775 - head/sys/modules/bwi

2012-05-22 Thread Ulrich Spoerlein
Author: uqs Date: Tue May 22 06:33:08 2012 New Revision: 235775 URL: http://svn.freebsd.org/changeset/base/235775 Log: Fix make depend. Modified: head/sys/modules/bwi/Makefile Modified: head/sys/modules/bwi/Makefile

Re: svn commit: r235739 - head/lib/libc/gen

2012-05-22 Thread Bruce Evans
On Mon, 21 May 2012, Guy Helmer wrote: Log: Apply style(9) to return and switch/case statements. Reviewed by: delphij (prior version of the patch) Modified: head/lib/libc/gen/getnetgrent.c Modified: head/lib/libc/gen/getnetgrent.c

svn commit: r235776 - head/sys/vm

2012-05-22 Thread Andrew Turner
Author: andrew Date: Tue May 22 07:04:23 2012 New Revision: 235776 URL: http://svn.freebsd.org/changeset/base/235776 Log: Fix booting on ARM. In PHYS_TO_VM_PAGE() when VM_PHYSSEG_DENSE is set the check if we are past the end of vm_page_array was incorrect causing it to return NULL. This

svn commit: r235777 - head/sys/kern

2012-05-22 Thread Hartmut Brandt
Author: harti Date: Tue May 22 07:23:41 2012 New Revision: 235777 URL: http://svn.freebsd.org/changeset/base/235777 Log: Make dumptid non-static. It is used by libkvm to detect whether this is a VNET-kernel or not. gcc used to put the static symbol into the symbol table, clang does not.

svn commit: r235778 - in head/sys: boot/fdt/dts conf dev/fdt geom sys

2012-05-22 Thread Grzegorz Bernacki
Author: gber Date: Tue May 22 08:33:14 2012 New Revision: 235778 URL: http://svn.freebsd.org/changeset/base/235778 Log: Add a new geom class which allows to divide NAND Flash chip into partitions. Partitions are created based on data in dts file which are extracted and interpreted by

svn commit: r235779 - head/sys/boot/fdt/dts

2012-05-22 Thread Grzegorz Bernacki
Author: gber Date: Tue May 22 09:27:57 2012 New Revision: 235779 URL: http://svn.freebsd.org/changeset/base/235779 Log: Divide nand flash for DB6281 into two partitions. One for u-boot and second one for general use. Obtained from: Semihalf Supported by: FreeBSD Foundation, Juniper

svn commit: r235780 - head/include

2012-05-22 Thread Hartmut Brandt
Author: harti Date: Tue May 22 09:59:49 2012 New Revision: 235780 URL: http://svn.freebsd.org/changeset/base/235780 Log: Fix a compilation error with some compilers: __attribute__ requires two parenthesis for its argument, but instead of using __attribute__ directly, use the appropriate

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Dag-Erling Smørgrav
Baptiste Daroussin b...@freebsd.org writes: Log: Import byacc from invisible island, it brings us lots of compatibilities with bison, keeping full compatibility with our previous yacc implementation. This commit broke the build, in large part because Baptiste tested with Clang instead

Re: svn commit: r235767 - head/lib/libc/net

2012-05-22 Thread Bruce Evans
On Mon, 21 May 2012, Garrett Cooper wrote: On Mon, May 21, 2012 at 6:28 PM, Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Tue May 22 01:28:32 2012 New Revision: 235767 URL: http://svn.freebsd.org/changeset/base/235767 Log: ?Add missing header needed by free() ?Reported by: ?tinderbox

svn commit: r235781 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2012-05-22 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 22 10:54:42 2012 New Revision: 235781 URL: http://svn.freebsd.org/changeset/base/235781 Log: Fix enforcement of file size limit with O_APPEND on ZFS. vn_rlimit_fsize takes uio-uio_offset and uio-uio_resid into account when determining whether given write would

svn commit: r235782 - in head/sys: dev/agp modules/agp sys

2012-05-22 Thread Konstantin Belousov
Author: kib Date: Tue May 22 10:59:26 2012 New Revision: 235782 URL: http://svn.freebsd.org/changeset/base/235782 Log: A rewrite of the i810 bits of the agp(4) driver. New driver supports operations required by GEMified i915.ko. It also attaches to SandyBridge and IvyBridge CPU

svn commit: r235783 - in head/sys/dev/drm2: . i915

2012-05-22 Thread Konstantin Belousov
Author: kib Date: Tue May 22 11:07:44 2012 New Revision: 235783 URL: http://svn.freebsd.org/changeset/base/235783 Log: Add the code for new Intel GPU driver, which supports GEM, KMS and works with new generations of GPUs (IronLake, SandyBridge and supposedly IvyBridge). The driver is

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Bruce Evans
On Tue, 22 May 2012, Hartmut Brandt wrote: Log: Make dumptid non-static. It is used by libkvm to detect whether this is a VNET-kernel or not. gcc used to put the static symbol into the symbol table, clang does not. This fixes the 'netstat: no namelist' error seen on clang+VNET systems.

Re: svn commit: r235780 - head/include

2012-05-22 Thread Bruce Evans
On Tue, 22 May 2012, Hartmut Brandt wrote: Log: Fix a compilation error with some compilers: __attribute__ requires two parenthesis for its argument, but instead of using __attribute__ directly, use the appropriate __nonnull macro from cdefs.h. This also fixes: - the style bug of

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Hartmut Brandt
On Tue, 22 May 2012, Bruce Evans wrote: BEOn Tue, 22 May 2012, Hartmut Brandt wrote: BE BE Log: BE Make dumptid non-static. It is used by libkvm to detect whether BE this is a VNET-kernel or not. gcc used to put the static symbol into BE the symbol table, clang does not. This fixes the

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Dimitry Andric
On 2012-05-22 12:22, Dag-Erling Smørgrav wrote: Baptiste Daroussin b...@freebsd.org writes: Log: Import byacc from invisible island, it brings us lots of compatibilities with bison, keeping full compatibility with our previous yacc implementation. This commit broke the build, in

Re: svn commit: r235739 - head/lib/libc/gen

2012-05-22 Thread Guy Helmer
On May 22, 2012, at 1:48 AM, Bruce Evans wrote: On Mon, 21 May 2012, Guy Helmer wrote: Log: Apply style(9) to return and switch/case statements. Reviewed by: delphij (prior version of the patch) Modified: head/lib/libc/gen/getnetgrent.c Modified: head/lib/libc/gen/getnetgrent.c

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Garrett Cooper
On Tue, May 22, 2012 at 6:32 AM, Dimitry Andric d...@freebsd.org wrote: On 2012-05-22 12:22, Dag-Erling Smørgrav wrote: Baptiste Daroussin b...@freebsd.org writes: Log:   Import byacc from invisible island, it brings us lots of compatibilities with   bison, keeping full compatibility with

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Dimitry Andric
On 2012-05-22 16:44, Garrett Cooper wrote: ... I mentioned it in a private email, but the issue is that the yacc used during the build seems to be coming from the base system (despite the fact that it's a bootstrap tool). Once I installed yacc onto my stable-9 system at work, all of the

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Gabor Kovesdan
On 2012.05.22. 17:03, Dimitry Andric wrote: ... I mentioned it in a private email, but the issue is that the yacc used during the build seems to be coming from the base system (despite the fact that it's a bootstrap tool). Once I installed yacc onto my stable-9 system at work, all of the

svn commit: r235787 - head/sys/kern

2012-05-22 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 22 15:58:27 2012 New Revision: 235787 URL: http://svn.freebsd.org/changeset/base/235787 Log: Fix panic with RACCT that could occur in low memory (or out of swap) situations, due to fork1() calling racct_proc_exit() without calling racct_proc_fork() first.

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

2012-05-22 Thread Dag-Erling Smorgrav
Author: des Date: Tue May 22 15:59:07 2012 New Revision: 235788 URL: http://svn.freebsd.org/changeset/base/235788 Log: Bump __FreeBSD_version for the byacc import, and update _bootstrap_tools. Modified: head/Makefile.inc1 head/sys/sys/param.h Modified: head/Makefile.inc1

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Dag-Erling Smørgrav
Gabor Kovesdan ga...@freebsd.org writes: Maybe I'm missing some point but what if we always use yacc and lex from the source tree instead of from the base system? That would be the most logical way of doing this and whether they are built early or just in the world phase does not make that

Re: svn commit: r235723 - in head: contrib/byacc tools/regression/usr.bin/yacc usr.bin/yacc usr.bin/yacc/test

2012-05-22 Thread Baptiste Daroussin
On Tue, May 22, 2012 at 06:01:31PM +0200, Dag-Erling Smørgrav wrote: Gabor Kovesdan ga...@freebsd.org writes: Maybe I'm missing some point but what if we always use yacc and lex from the source tree instead of from the base system? That would be the most logical way of doing this and

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Bjoern A. Zeeb
On 22. May 2012, at 07:23 , Hartmut Brandt wrote: Author: harti Date: Tue May 22 07:23:41 2012 New Revision: 235777 URL: http://svn.freebsd.org/changeset/base/235777 Log: Make dumptid non-static. It is used by libkvm to detect whether this is a VNET-kernel or not. Just for

svn commit: r235794 - head/contrib/gcc

2012-05-22 Thread David E. O'Brien
Author: obrien Date: Tue May 22 17:11:18 2012 New Revision: 235794 URL: http://svn.freebsd.org/changeset/base/235794 Log: Record that r235793 (-objc) has been merged from vendor/gcc into HEAD. Modified: Directory Properties: head/contrib/gcc/ (props changed)

svn commit: r235795 - head/sys/kern

2012-05-22 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 22 17:30:02 2012 New Revision: 235795 URL: http://svn.freebsd.org/changeset/base/235795 Log: Don't leak locks in prison_racct_modify(). Submitted by: Mateusz Guzik mjguzik at gmail dot com MFC after:2 weeks Modified: head/sys/kern/kern_jail.c Modified:

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Bruce Evans
On Tue, 22 May 2012, Hartmut Brandt wrote: On Tue, 22 May 2012, Bruce Evans wrote: BEOn Tue, 22 May 2012, Hartmut Brandt wrote: BE BE Log: BE Make dumptid non-static. It is used by libkvm to detect whether BE this is a VNET-kernel or not. gcc used to put the static symbol into BE the symbol

svn commit: r235797 - head/contrib/gcc

2012-05-22 Thread David E. O'Brien
Author: obrien Date: Tue May 22 18:18:06 2012 New Revision: 235797 URL: http://svn.freebsd.org/changeset/base/235797 Log: Do not incorrectly warn when printing a quad_t using %qd on 64-bit platforms. Modified: head/contrib/gcc/c-format.c Modified: head/contrib/gcc/c-format.c

svn commit: r235799 - head/lib/libjail

2012-05-22 Thread Jamie Gritton
Author: jamie Date: Tue May 22 18:30:32 2012 New Revision: 235799 URL: http://svn.freebsd.org/changeset/base/235799 Log: The fix in r235291 re-broke the allow.nomount case. Re-fix it by testing for the right parameter name. Modified: head/lib/libjail/jail.c Modified:

Re: svn commit: r235623 - in head/contrib/gcc: . config/rs6000 config/sparc

2012-05-22 Thread David O'Brien
On Fri, May 18, 2012 at 07:02:40PM +, Pedro F. Giffuni wrote: Log: Bring in a subset of gcc fixes that were back ported to the GCC 4.1 branch and are available under GPLv2. I do not understand this -- We're using GCC 4.2.1 @r127959, but you are bringing in patches that are against 4.1.

Re: svn commit: r235623 - in head/contrib/gcc: . config/rs6000 config/sparc

2012-05-22 Thread Pedro Giffuni
Hi David; On 05/22/12 13:27, David O'Brien wrote: On Fri, May 18, 2012 at 07:02:40PM +, Pedro F. Giffuni wrote: Log: Bring in a subset of gcc fixes that were back ported to the GCC 4.1 branch and are available under GPLv2. I do not understand this -- We're using GCC 4.2.1 @r127959,

svn commit: r235801 - head/sys/net80211

2012-05-22 Thread Adrian Chadd
Author: adrian Date: Tue May 22 19:37:12 2012 New Revision: 235801 URL: http://svn.freebsd.org/changeset/base/235801 Log: Fix some corner cases in the ieee80211_send_bar() handling. * If the first call succeeded but failed to transmit, a timer would reschedule it via bar_timeout().

svn commit: r235802 - head/usr.bin/minigzip

2012-05-22 Thread Xin LI
Author: delphij Date: Tue May 22 19:40:54 2012 New Revision: 235802 URL: http://svn.freebsd.org/changeset/base/235802 Log: commandline - command line MFC after:1 week Modified: head/usr.bin/minigzip/minigzip.1 Modified: head/usr.bin/minigzip/minigzip.1

svn commit: r235803 - head/sys/kern

2012-05-22 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 22 19:43:20 2012 New Revision: 235803 URL: http://svn.freebsd.org/changeset/base/235803 Log: Fix use-after-free in kern_jail_set() triggered e.g. by attempts to clear persist flag from empty persistent jail, like this: jail -c persist=1 jail -n 1 -m

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

2012-05-22 Thread Adrian Chadd
Author: adrian Date: Tue May 22 19:50:21 2012 New Revision: 235804 URL: http://svn.freebsd.org/changeset/base/235804 Log: Re-up the TX ath_buf limit from 128 to 512. I'll have to leave this high for now, until I've done some significant surgery with how ath_bufs (and descriptors) are

Re: svn commit: r234482 - in head/sys: fs/msdosfs fs/nfsserver kern sys

2012-05-22 Thread Attilio Rao
2012/4/22 Pawel Jakub Dawidek p...@freebsd.org: On Fri, Apr 20, 2012 at 06:50:44AM +, Kirk McKusick wrote: Author: mckusick Date: Fri Apr 20 06:50:44 2012 New Revision: 234482 URL: http://svn.freebsd.org/changeset/base/234482 Log:   This change creates a new list of active vnodes

Re: svn commit: r235797 - head/contrib/gcc

2012-05-22 Thread Bruce Evans
On Tue, 22 May 2012, David E. O'Brien wrote: Log: Do not incorrectly warn when printing a quad_t using %qd on 64-bit platforms. I think I like this, since it is technically correct, and will find a different set of type mismatches. Modified: head/contrib/gcc/c-format.c

Re: svn commit: r235797 - head/contrib/gcc

2012-05-22 Thread gnn
At Wed, 23 May 2012 06:05:06 +1000 (EST), Bruce Evans wrote: On Tue, 22 May 2012, David E. O'Brien wrote: Log: Do not incorrectly warn when printing a quad_t using %qd on 64-bit platforms. I think I like this, since it is technically correct, and will find a different set of type

Re: svn commit: r235797 - head/contrib/gcc

2012-05-22 Thread mdf
On Tue, May 22, 2012 at 1:05 PM, Bruce Evans b...@optusnet.com.au wrote: On Tue, 22 May 2012, David E. O'Brien wrote: Log:  Do not incorrectly warn when printing a quad_t using %qd on 64-bit platforms. I think I like this, since it is technically correct, and will find a different set of

Re: svn commit: r235797 - head/contrib/gcc

2012-05-22 Thread Marcel Moolenaar
On May 22, 2012, at 2:07 PM, m...@freebsd.org wrote: On Tue, May 22, 2012 at 1:05 PM, Bruce Evans b...@optusnet.com.au wrote: On Tue, 22 May 2012, David E. O'Brien wrote: Log: Do not incorrectly warn when printing a quad_t using %qd on 64-bit platforms. I think I like this, since it

svn commit: r235816 - head/sys/dev/bce

2012-05-22 Thread Pyun YongHyeon
Author: yongari Date: Wed May 23 01:20:25 2012 New Revision: 235816 URL: http://svn.freebsd.org/changeset/base/235816 Log: Make IPMI work in the bce driver even when the interface is configured down. Formerly, IPMI communication was lost whenever the interface was not up. The reason was

Re: svn commit: r235601 - head/include/protocols

2012-05-22 Thread Benjamin Kaduk
On Mon, 21 May 2012, John Baldwin wrote: On Friday, May 18, 2012 11:24:36 am Gleb Kurtsou wrote: On (18/05/2012 09:41), John Baldwin wrote: On Friday, May 18, 2012 6:01:31 am Gleb Kurtsou wrote: Author: gleb Date: Fri May 18 10:01:31 2012 New Revision: 235601 URL:

svn commit: r235821 - head/sys/dev/bge

2012-05-22 Thread Pyun YongHyeon
Author: yongari Date: Wed May 23 03:35:08 2012 New Revision: 235821 URL: http://svn.freebsd.org/changeset/base/235821 Log: Don't force max payload size to 128. Root complex and Endpoint will negotiate with each other on the TLP payload size so blindly forcing the size to 128 can cause a