svn commit: r200019 - head/lib/libc/stdio

2009-12-01 Thread Christian Brueffer
Author: brueffer Date: Wed Dec 2 07:51:25 2009 New Revision: 200019 URL: http://svn.freebsd.org/changeset/base/200019 Log: Fix the dprintf() prototype. PR: 141087 Submitted by: Jeremy Huddleston MFC after:3 days Modified: head/lib/libc/stdio/printf.3 Modified: head/l

svn commit: r200018 - head/sys/powerpc/include

2009-12-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Dec 2 06:49:22 2009 New Revision: 200018 URL: http://svn.freebsd.org/changeset/base/200018 Log: Bump limits on PowerPC. This allows large executables like parts of LLVM to function. Reviewed by: grehan Obtained from:NetBSD MFC after:2 weeks

svn commit: r200017 - in stable/7/lib/libc: gen rpc stdio yp

2009-12-01 Thread Garrett Wollman
Author: wollman Date: Wed Dec 2 03:08:29 2009 New Revision: 200017 URL: http://svn.freebsd.org/changeset/base/200017 Log: MFC revs 199781,199782,199784,199786: Eliminate dead stores. In __mbsconv(), if prec was zero, nconv could have been used uninitialized. Initialize it to

svn commit: r200016 - in stable/8/lib/libc: gen rpc stdio yp

2009-12-01 Thread Garrett Wollman
Author: wollman Date: Wed Dec 2 02:47:29 2009 New Revision: 200016 URL: http://svn.freebsd.org/changeset/base/200016 Log: MFC revs 199781,199782,199784,199785,199786: Eliminate dead stores. In __mbsconv(), if prec was zero, nconv could have been used uninitialized. Initialize

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread M. Warner Losh
In message: Robert Watson writes: : On Mon, 30 Nov 2009, Colin Percival wrote: : : > Brian Feldman wrote: : >> Do not gratuitously fail *env(3) operations due to corrupt ('='-less) : >> **environ entries. This puts non-getenv(3) operations in line with : >> getenv(3) in that b

svn commit: r200015 - in head/sys: arm/conf i386/conf pc98/conf

2009-12-01 Thread Andrew Thompson
Author: thompsa Date: Wed Dec 2 00:38:11 2009 New Revision: 200015 URL: http://svn.freebsd.org/changeset/base/200015 Log: Add missing ath_ar9* ath hal entries. Modified: head/sys/arm/conf/AVILA head/sys/i386/conf/NOTES head/sys/pc98/conf/NOTES Modified: head/sys/arm/conf/AVILA =

svn commit: r200014 - head/sys/arm/conf

2009-12-01 Thread Andrew Thompson
Author: thompsa Date: Wed Dec 2 00:37:03 2009 New Revision: 200014 URL: http://svn.freebsd.org/changeset/base/200014 Log: Remove unknown ath hal device entries. Modified: head/sys/arm/conf/CAMBRIA Modified: head/sys/arm/conf/CAMBRIA ==

svn commit: r200013 - stable/7/lib/libfetch

2009-12-01 Thread Fabien Thomas
Author: fabient Date: Tue Dec 1 23:24:42 2009 New Revision: 200013 URL: http://svn.freebsd.org/changeset/base/200013 Log: MFC 198339: Fix the NO_PROXY handling. PR: 139751 Modified: stable/7/lib/libfetch/common.c Directory Properties: stable/7/lib/libfetch/ (props changed) Modifi

svn commit: r200012 - stable/8/lib/libfetch

2009-12-01 Thread Fabien Thomas
Author: fabient Date: Tue Dec 1 23:23:52 2009 New Revision: 200012 URL: http://svn.freebsd.org/changeset/base/200012 Log: MFC 198339: Fix the NO_PROXY handling. PR: 139751 Modified: stable/8/lib/libfetch/common.c Directory Properties: stable/8/lib/libfetch/ (props changed) Modifi

Re: svn: stable/7/sys: conf dev/bce

2009-12-01 Thread Tom Judge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim Sobolev wrote: > Tom Judge wrote: >> >> >> When you see this lock up do you also see denied requests for mbufs? >> >> All the times I have seen the issue, the system was denying mbuf >> requests. > > Not sure about that, since we only have had n

svn commit: r200011 - stable/7/sys/dev/hwpmc

2009-12-01 Thread Fabien Thomas
Author: fabient Date: Tue Dec 1 23:07:38 2009 New Revision: 200011 URL: http://svn.freebsd.org/changeset/base/200011 Log: MFC 199763: - fix a LOR between process lock and pmc thread mutex - fix a system deadlock on process exit when the sample buffer is full (pmclog_loop blocked in fo_

svn commit: r200010 - stable/8/sys/dev/hwpmc

2009-12-01 Thread Fabien Thomas
Author: fabient Date: Tue Dec 1 23:06:17 2009 New Revision: 200010 URL: http://svn.freebsd.org/changeset/base/200010 Log: MFC 199763: - fix a LOR between process lock and pmc thread mutex - fix a system deadlock on process exit when the sample buffer is full (pmclog_loop blocked in fo_

svn commit: r200009 - stable/7/sys/dev/hwpmc

2009-12-01 Thread Fabien Thomas
Author: fabient Date: Tue Dec 1 23:01:59 2009 New Revision: 29 URL: http://svn.freebsd.org/changeset/base/29 Log: MFC 198343: Handle the case where there is only one PMC in the system. Modified: stable/7/sys/dev/hwpmc/hwpmc_mod.c Directory Properties: stable/7/sys/ (props chang

svn commit: r200008 - in head/sys: cam/ata sys

2009-12-01 Thread Alexander Motin
Author: mav Date: Tue Dec 1 23:01:29 2009 New Revision: 28 URL: http://svn.freebsd.org/changeset/base/28 Log: Add CAM_ATAIO_DMA ATA command flag to mark DMA protocol commands. It is not needed for SATA controllers, but required for PATA. Modified: head/sys/cam/ata/ata_all.c head/

svn commit: r200007 - stable/8/sys/dev/hwpmc

2009-12-01 Thread Fabien Thomas
Author: fabient Date: Tue Dec 1 22:59:37 2009 New Revision: 27 URL: http://svn.freebsd.org/changeset/base/27 Log: MFC 198343: Handle the case where there is only one PMC in the system. Modified: stable/8/sys/dev/hwpmc/hwpmc_mod.c Directory Properties: stable/8/sys/ (props chang

svn commit: r200005 - stable/7/sys/boot/i386/zfsboot

2009-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 22:38:37 2009 New Revision: 25 URL: http://svn.freebsd.org/changeset/base/25 Log: MFC 199579: Always use 64-bit LBAs for disk addresses in zfsboot and gptzfsboot to fully support booting from large volumes. Modified: stable/7/sys/boot/i386/zfsboot/zfsb

svn commit: r200004 - stable/8/sys/boot/i386/zfsboot

2009-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 22:38:17 2009 New Revision: 24 URL: http://svn.freebsd.org/changeset/base/24 Log: MFC 199579: Always use 64-bit LBAs for disk addresses in zfsboot and gptzfsboot to fully support booting from large volumes. Modified: stable/8/sys/boot/i386/zfsboot/zfsb

Re: svn: stable/7/sys: conf dev/bce

2009-12-01 Thread Attila Nagy
Maxim Sobolev wrote: Stanislav Sedov wrote: On Mon, 30 Nov 2009 13:25:03 -0800 Maxim Sobolev mentioned: Can we change the name then? We've seen the similar issue without the jumbo frames, which made me wonder. It's strange, because 'normal' frames are less than a page size in length, so th

svn commit: r200003 - in head/sys/dev/cxgb: . common

2009-12-01 Thread Navdeep Parhar
Author: np Date: Tue Dec 1 22:23:15 2009 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: T3 firmware 7.8.0 for cxgb(4) Obtained from:Chelsio MFC after:3 days Modified: head/sys/dev/cxgb/common/cxgb_common.h head/sys/dev/cxgb/cxgb_t3fw.h Modif

Re: svn: stable/7/sys: conf dev/bce

2009-12-01 Thread Maxim Sobolev
Tom Judge wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim Sobolev wrote: Stanislav Sedov wrote: On Mon, 30 Nov 2009 13:25:03 -0800 Maxim Sobolev mentioned: Can we change the name then? We've seen the similar issue without the jumbo frames, which made me wonder. It's strange, bec

svn commit: r200001 - head/sys/dev/hwpmc

2009-12-01 Thread Ed Maste
Author: emaste Date: Tue Dec 1 21:54:53 2009 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: Fix parenthesis typo -- copy full frame pointer for userland callchain, not just one byte. Submitted by: Ryan Stone rysto32 at gmail dot com Modified: head/sys

svn commit: r199998 - head/sys/kern

2009-12-01 Thread Ed Schouten
Author: ed Date: Tue Dec 1 19:14:57 2009 New Revision: 18 URL: http://svn.freebsd.org/changeset/base/18 Log: Don't allocate an input buffer for a TTY when the receiver is turned off. When the termios CREAD flag is not set, it makes little sense to allocate an input buffer. Just s

svn commit: r199997 - head/sys/dev/xen/netfront

2009-12-01 Thread Justin T. Gibbs
Author: gibbs Date: Tue Dec 1 17:29:25 2009 New Revision: 17 URL: http://svn.freebsd.org/changeset/base/17 Log: Add media ioctl support and link notifications so that devd will attempt to run dhclient on a netfront (xn) device that is setup for DHCP in /etc/rc.conf. PR:

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Brian Fundakowski Feldman
On Tue, Dec 01, 2009 at 10:01:59AM -0600, Sean C. Farley wrote: > On Tue, 1 Dec 2009, Brian Feldman wrote: > >> I also fixed another inconsistency in getenv(3) where updating the >> global environ pointer would not be reflected in the return values. >> It would have taken an intermediary setenv

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Brian Fundakowski Feldman
On Tue, Dec 01, 2009 at 11:29:12AM -0500, Robert N. M. Watson wrote: > > On 1 Dec 2009, at 11:25, Sean C. Farley wrote: > > >>> We've already had two major security issues arising out of getenv.c in > >>> the past year, and I'd like to make sure we don't have a third. > >> > >> I think it's fai

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Sean C. Farley
On Tue, 1 Dec 2009, Robert N. M. Watson wrote: On 1 Dec 2009, at 11:25, Sean C. Farley wrote: I think it's fair to say that the POSIXization of the environment code has been an unmitigated disaster, and speaks to the necessity for careful review of those sorts of code changes. As the author

svn commit: r199996 - svnadmin/conf

2009-12-01 Thread Ken Smith
Author: kensmith Date: Tue Dec 1 16:31:59 2009 New Revision: 16 URL: http://svn.freebsd.org/changeset/base/16 Log: Turn releng/8.0 over to secteam. Approved by: core (implicit) Modified: svnadmin/conf/approvers Modified: svnadmin/conf/approvers

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Robert N. M. Watson
On 1 Dec 2009, at 11:25, Sean C. Farley wrote: >>> We've already had two major security issues arising out of getenv.c in the >>> past year, and I'd like to make sure we don't have a third. >> >> I think it's fair to say that the POSIXization of the environment code has >> been an unmitigated

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Sean C. Farley
On Tue, 1 Dec 2009, Robert Watson wrote: On Mon, 30 Nov 2009, Colin Percival wrote: *snip* We've already had two major security issues arising out of getenv.c in the past year, and I'd like to make sure we don't have a third. I think it's fair to say that the POSIXization of the environmen

svn commit: r199995 - head/contrib/ntp/ntpd

2009-12-01 Thread Hajimu UMEMOTO
Author: ume Date: Tue Dec 1 16:07:50 2009 New Revision: 15 URL: http://svn.freebsd.org/changeset/base/15 Log: Don't try to bind to an anycast addeess. The KAME IPv6 stack doesn't allow bind to an anycast addeess. It does away with an annoying message. Reviewed by: bz, robert

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Sean C. Farley
On Tue, 1 Dec 2009, Brian Feldman wrote: I also fixed another inconsistency in getenv(3) where updating the global environ pointer would not be reflected in the return values. It would have taken an intermediary setenv(3)/putenv(3)/unsetenv(3) in order to see the change. In the current cod

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Sean C. Farley
On Tue, 1 Dec 2009, Brian Feldman wrote: Author: green Date: Tue Dec 1 05:04:31 2009 New Revision: 199983 URL: http://svn.freebsd.org/changeset/base/199983 Log: Do not gratuitously fail *env(3) operations due to corrupt ('='-less) **environ entries. This puts non-getenv(3) operations in lin

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Brian Fundakowski Feldman
On Tue, Dec 01, 2009 at 01:06:03PM +0300, Andrey Chernov wrote: > On Tue, Dec 01, 2009 at 05:04:31AM +, Brian Feldman wrote: > > - if (environ == NULL || environ[0] == NULL) > > - return (NULL); > > - else if (envVars == NULL || environ != intEnviron) > > + if (envVars == NULL)

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

2009-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 15:18:25 2009 New Revision: 13 URL: http://svn.freebsd.org/changeset/base/13 Log: Remove -t from the manpage and usage. Modified: head/usr.bin/netstat/main.c head/usr.bin/netstat/netstat.1 Modified: head/usr.bin/netstat/main.c ==

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Robert Watson
On Mon, 30 Nov 2009, Colin Percival wrote: Brian Feldman wrote: Do not gratuitously fail *env(3) operations due to corrupt ('='-less) **environ entries. This puts non-getenv(3) operations in line with getenv(3) in that bad environ entries do not cause all operations to fail. There is

Re: svn commit: r199975 - head/sys/net

2009-12-01 Thread John Baldwin
tstat still > looks sane but this is about what was missed (in userland, apart from > the traditional docs in share/doc/smm/18.net/6.t ): > > http://people.freebsd.org/~bz/20091201-01-no-if_timer.diff This looks good to me and matches what I just did to netstat locally. -- John Baldwin

Re: svn commit: r199975 - head/sys/net

2009-12-01 Thread John Baldwin
On Monday 30 November 2009 6:35:47 pm Andrew Thompson wrote: > On Mon, Nov 30, 2009 at 09:25:57PM +, John Baldwin wrote: > > Author: jhb > > Date: Mon Nov 30 21:25:57 2009 > > New Revision: 199975 > > URL: http://svn.freebsd.org/changeset/base/199975 > > > > Log: > > Remove if_timer/if_watch

svn commit: r199992 - in head: share/man/man9 usr.bin/netstat

2009-12-01 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 1 14:56:00 2009 New Revision: 12 URL: http://svn.freebsd.org/changeset/base/12 Log: Unbreak user space after if_timer/if_watchdog removal in r199975. Tested by:glebius Modified: head/share/man/man9/ifnet.9 head/usr.bin/netstat/if.c head/usr.bin/n

Re: svn commit: r199975 - head/sys/net

2009-12-01 Thread Dag-Erling Smørgrav
John Baldwin writes: > Log: > Remove if_timer/if_watchdog now that they are no longer used. The space > used by if_timer is reserved for expanding if_index to an int in the > future. This breaks the build; please either fix netstat or revert. DES -- Dag-Erling Smørgrav - d...@des.no

Re: svn: stable/7/sys: conf dev/bce

2009-12-01 Thread Tom Judge
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maxim Sobolev wrote: > Stanislav Sedov wrote: >> On Mon, 30 Nov 2009 13:25:03 -0800 >> Maxim Sobolev mentioned: >> >>> Can we change the name then? We've seen the similar issue without the >>> jumbo frames, which made me wonder. >> >> It's strange, be

svn commit: r199991 - stable/8/sbin/ipfw

2009-12-01 Thread Alexander Leidinger
Author: netchild Date: Tue Dec 1 12:35:51 2009 New Revision: 11 URL: http://svn.freebsd.org/changeset/base/11 Log: MFC r199626: Fix minor resource leak in a function. Reviewed by:luigi Modified: stable/8/sbin/ipfw/dummynet.c Directory Properties: stable/8/sbin/ip

Re: svn commit: r199975 - head/sys/net

2009-12-01 Thread Renato Botelho
On Mon, Nov 30, 2009 at 9:35 PM, Andrew Thompson wrote: > On Mon, Nov 30, 2009 at 09:25:57PM +, John Baldwin wrote: >> Author: jhb >> Date: Mon Nov 30 21:25:57 2009 >> New Revision: 199975 >> URL: http://svn.freebsd.org/changeset/base/199975 >> >> Log: >>   Remove if_timer/if_watchdog now that

Re: svn commit: r199975 - head/sys/net

2009-12-01 Thread Bjoern A. Zeeb
int in the future. Reviewed by: rwatson, brooks I have no idea yet if it builds or if the output of netstat still looks sane but this is about what was missed (in userland, apart from the traditional docs in share/doc/smm/18.net/6.t ): http://people.freebsd.org/~bz/20091201-01-no

Re: svn commit: r199983 - in head: lib/libc/stdlib tools/regression/environ

2009-12-01 Thread Andrey Chernov
On Tue, Dec 01, 2009 at 05:04:31AM +, Brian Feldman wrote: > - if (environ == NULL || environ[0] == NULL) > - return (NULL); > - else if (envVars == NULL || environ != intEnviron) > + if (envVars == NULL) > return (__findenv_environ(name, nameLen)); > -