svn commit: r199787 - head/lib/libc/rpc

2009-11-24 Thread Garrett Wollman
Author: wollman Date: Wed Nov 25 04:53:38 2009 New Revision: 199787 URL: http://svn.freebsd.org/changeset/base/199787 Log: Style: use structure assignment rather than memcpy() to copy a structure. Modified: head/lib/libc/rpc/getrpcent.c Modified: head/lib/libc/rpc/getrpcent.c =

svn commit: r199786 - head/lib/libc/rpc

2009-11-24 Thread Garrett Wollman
Author: wollman Date: Wed Nov 25 04:52:12 2009 New Revision: 199786 URL: http://svn.freebsd.org/changeset/base/199786 Log: In clnt_raw_create(), avoid minor race condition initializing the file-scope variable clntraw_private. Found by: Clang static analyzer MFC after:7 days Mod

svn commit: r199785 - head/lib/libc/rpc

2009-11-24 Thread Garrett Wollman
Author: wollman Date: Wed Nov 25 04:49:41 2009 New Revision: 199785 URL: http://svn.freebsd.org/changeset/base/199785 Log: In svc_raw_reply(), don't leave stat uninitialized if the MSG_ACCEPTED && SUCCESS case succeeds. The stack garbage might be zero. Found by: Clang static analyzer

svn commit: r199784 - in head/lib/libc: gen rpc stdio yp

2009-11-24 Thread Garrett Wollman
Author: wollman Date: Wed Nov 25 04:45:45 2009 New Revision: 199784 URL: http://svn.freebsd.org/changeset/base/199784 Log: Eliminate more dead stores. Found by: Clang static analyzer MFC after:7 days Modified: head/lib/libc/gen/getcap.c head/lib/libc/gen/getusershell.c head

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

2009-11-24 Thread Garrett Wollman
Author: wollman Date: Wed Nov 25 04:35:54 2009 New Revision: 199783 URL: http://svn.freebsd.org/changeset/base/199783 Log: Make all three if conditions look similar by always initializing nsec and moving the default initialization of prec into the else clause. The clang static analyzer erron

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

2009-11-24 Thread Garrett Wollman
Author: wollman Date: Wed Nov 25 04:27:55 2009 New Revision: 199782 URL: http://svn.freebsd.org/changeset/base/199782 Log: In __mbsconv(), if prec was zero, nconv could have been used uninitialized. Initialize it to a safe value so that there's no chance of returning an error if stack garba

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

2009-11-24 Thread Garrett Wollman
Author: wollman Date: Wed Nov 25 04:21:42 2009 New Revision: 199781 URL: http://svn.freebsd.org/changeset/base/199781 Log: Eliminate dead store. Found by: Clang static analyzer MFC after:7 days Modified: head/lib/libc/stdio/fvwrite.c Modified: head/lib/libc/stdio/fvwrite.c ===

svn commit: r199774 - in stable/8/sys/i386: include/xen xen

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:55:34 2009 New Revision: 199774 URL: http://svn.freebsd.org/changeset/base/199774 Log: fix UP compilation Modified: stable/8/sys/i386/include/xen/xen-os.h stable/8/sys/i386/xen/locore.s Modified: stable/8/sys/i386/include/xen/xen-os.h =

svn commit: r199773 - in stable/8/sys/i386: i386 include xen

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:52:36 2009 New Revision: 199773 URL: http://svn.freebsd.org/changeset/base/199773 Log: MFC xen pmap updates and eflags fixes Modified: stable/8/sys/i386/i386/vm_machdep.c stable/8/sys/i386/include/cpufunc.h stable/8/sys/i386/xen/pmap.c stable/8/sys/i386

svn commit: r199772 - stable/8/sys/dev/xen/console

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:51:07 2009 New Revision: 199772 URL: http://svn.freebsd.org/changeset/base/199772 Log: remove gratuitous comment Modified: stable/8/sys/dev/xen/console/console.c Modified: stable/8/sys/dev/xen/console/console.c ===

svn commit: r199771 - stable/8/sys/dev/xen/blkfront

2009-11-24 Thread Kip Macy
Author: kmacy Date: Wed Nov 25 01:50:17 2009 New Revision: 199771 URL: http://svn.freebsd.org/changeset/base/199771 Log: MFC core dump support Modified: stable/8/sys/dev/xen/blkfront/blkfront.c Modified: stable/8/sys/dev/xen/blkfront/blkfront.c ===

Re: svn commit: r199655 - head/usr.bin/w

2009-11-24 Thread Juli Mallett
I'm not sure this is right. While the manpage implies that doing no resolution means that it will show numeric addresses, since that is not correct, there are two ways to go. As you have done, you can choose to try to resolve hostnames to IP addresses. You could also do as the code before did an

svn commit: r199770 - head/sbin/ifconfig

2009-11-24 Thread Will Andrews
Author: will Date: Wed Nov 25 00:00:57 2009 New Revision: 199770 URL: http://svn.freebsd.org/changeset/base/199770 Log: Make ``ifconfig -l ether'' only list interfaces that speak Ethernet. PR: 118987 Approved by: ken (mentor) Modified: head/sbin/ifconfig/ifconfig.c Modified

svn commit: r199768 - stable/7/sys/sparc64/sparc64

2009-11-24 Thread Marius Strobl
Author: marius Date: Tue Nov 24 22:13:06 2009 New Revision: 199768 URL: http://svn.freebsd.org/changeset/base/199768 Log: MFC: r199442 Unroll copying of the registers in {g,s}et_mcontext() and limit it to the set actually restored by tl0_ret() instead of using the whole trapframe. Addit

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-24 Thread Marcel Moolenaar
On Nov 24, 2009, at 12:10 PM, John Baldwin wrote: > On Tuesday 24 November 2009 2:55:53 pm Marcel Moolenaar wrote: >> *snip* >> >>> These MFCs seem to be missing mergeinfo for the contrib directories. >> >> I pruned them. We don't seem to get rid of merge into in the >> wrong di

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-24 Thread John Baldwin
On Tuesday 24 November 2009 2:55:53 pm Marcel Moolenaar wrote: > *snip* > > > These MFCs seem to be missing mergeinfo for the contrib directories. > > I pruned them. We don't seem to get rid of merge into in the > wrong directories even even people try to clean it up... > >>>

svn commit: r199765 - stable/8/sys/sparc64/sparc64

2009-11-24 Thread Marius Strobl
Author: marius Date: Tue Nov 24 20:04:31 2009 New Revision: 199765 URL: http://svn.freebsd.org/changeset/base/199765 Log: MFC: r199442 Unroll copying of the registers in {g,s}et_mcontext() and limit it to the set actually restored by tl0_ret() instead of using the whole trapframe. Addit

svn commit: r199764 - head/sys/kern

2009-11-24 Thread Ivan Voras
Author: ivoras Date: Tue Nov 24 19:57:41 2009 New Revision: 199764 URL: http://svn.freebsd.org/changeset/base/199764 Log: Make ULE process usage (%CPU) accounting usable again by keeping track of the last tick we incremented on. Submitted by: matthew.fleming/at/isilon.com, is/at/rambler-c

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-24 Thread Marcel Moolenaar
*snip* > These MFCs seem to be missing mergeinfo for the contrib directories. I pruned them. We don't seem to get rid of merge into in the wrong directories even even people try to clean it up... >>> >>> That was the wrong thing to do. >> >> *sigh* >> >> I can't keep up with

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-24 Thread John Baldwin
On Tuesday 24 November 2009 2:00:54 pm Marcel Moolenaar wrote: > > On Nov 24, 2009, at 8:24 AM, John Baldwin wrote: > > > On Monday 23 November 2009 11:17:00 pm Marcel Moolenaar wrote: > >> On Nov 23, 2009, at 7:51 PM, Max Laier wrote: > >> > Modified: > stable/8/sys/ia64/include/asm.h

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

2009-11-24 Thread Fabien Thomas
Author: fabient Date: Tue Nov 24 19:26:53 2009 New Revision: 199763 URL: http://svn.freebsd.org/changeset/base/199763 Log: - 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_write) and pmcsta

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-24 Thread Marcel Moolenaar
On Nov 24, 2009, at 8:24 AM, John Baldwin wrote: > On Monday 23 November 2009 11:17:00 pm Marcel Moolenaar wrote: >> On Nov 23, 2009, at 7:51 PM, Max Laier wrote: >> Modified: stable/8/sys/ia64/include/asm.h Directory Properties: stable/8/sys/ (props changed) >>> >>> These

svn commit: r199762 - head/sys/mips/adm5120

2009-11-24 Thread John Baldwin
Author: jhb Date: Tue Nov 24 18:34:47 2009 New Revision: 199762 URL: http://svn.freebsd.org/changeset/base/199762 Log: Use a single private timer to drive the transmit watchdog rather than using if_watchdog and if_timer from the first port. Reviewed by: gonzo Modified: head/sys/mips/a

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-24 Thread John Baldwin
On Monday 23 November 2009 11:17:00 pm Marcel Moolenaar wrote: > On Nov 23, 2009, at 7:51 PM, Max Laier wrote: > > >> Modified: > >> stable/8/sys/ia64/include/asm.h > >> Directory Properties: > >> stable/8/sys/ (props changed) > > > > These MFCs seem to be missing mergeinfo for the contrib di

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

2009-11-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 24 17:46:58 2009 New Revision: 199761 URL: http://svn.freebsd.org/changeset/base/199761 Log: BGE_FLAG_40BIT_BUG should be set before creating DMA tags. Pointy hat to: yongari Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c =

svn commit: r199757 - head/sys/dev/an

2009-11-24 Thread John Baldwin
Author: jhb Date: Tue Nov 24 16:57:35 2009 New Revision: 199757 URL: http://svn.freebsd.org/changeset/base/199757 Log: - For 350 chips, don't set various INTR bits in TX control word; turning INTR bits on seems to confuse hardware TX engine. - For 350 chips, set TX desc's buffer physical a

svn commit: r199756 - head/sys/dev/an

2009-11-24 Thread John Baldwin
Author: jhb Date: Tue Nov 24 16:54:54 2009 New Revision: 199756 URL: http://svn.freebsd.org/changeset/base/199756 Log: Use bus_*() rather than bus_space_*(). Modified: head/sys/dev/an/if_an.c head/sys/dev/an/if_an_isa.c head/sys/dev/an/if_an_pccard.c head/sys/dev/an/if_an_pci.c head/s

svn commit: r199750 - stable/6/sys/fs/fifofs

2009-11-24 Thread Attilio Rao
Author: attilio Date: Tue Nov 24 14:40:50 2009 New Revision: 199750 URL: http://svn.freebsd.org/changeset/base/199750 Log: MFC 199007: Fix a memory leak. Modified: stable/6/sys/fs/fifofs/fifo_vnops.c Directory Properties: stable/6/sys/ (props changed) stable/6/sys/conf/ (props chang

svn commit: r199749 - head/sys/dev/ata

2009-11-24 Thread Alexander Motin
Author: mav Date: Tue Nov 24 14:06:15 2009 New Revision: 199749 URL: http://svn.freebsd.org/changeset/base/199749 Log: Use only lower byte of sectors_intr IDENTIFY word as sector count. This fixes SET_MULTI error during boot on devices supporting less then 16 sectors per interrupt. Modified

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

2009-11-24 Thread Christian Brueffer
Author: brueffer Date: Tue Nov 24 13:44:53 2009 New Revision: 199748 URL: http://svn.freebsd.org/changeset/base/199748 Log: Grammar and mdoc improvements. MFC after:3 days Modified: head/share/man/man4/ada.4 Modified: head/share/man/man4/ada.4 ===

svn commit: r199747 - in head: sbin/camcontrol sys/cam sys/cam/ata sys/dev/ahci sys/dev/siis

2009-11-24 Thread Alexander Motin
Author: mav Date: Tue Nov 24 12:47:58 2009 New Revision: 199747 URL: http://svn.freebsd.org/changeset/base/199747 Log: MFp4: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mode and SATA revision neg

svn commit: r199746 - stable/8/bin/ps

2009-11-24 Thread Alexander Leidinger
Author: netchild Date: Tue Nov 24 10:46:17 2009 New Revision: 199746 URL: http://svn.freebsd.org/changeset/base/199746 Log: MFC r199351: Fix small resource leak (memory). Reviewed by:gad Modified: stable/8/bin/ps/keyword.c Directory Properties: stable/8/bin/ps/ (props c

svn commit: r199745 - stable/8/share/man/man4

2009-11-24 Thread Alexander Motin
Author: mav Date: Tue Nov 24 09:16:47 2009 New Revision: 199745 URL: http://svn.freebsd.org/changeset/base/199745 Log: MFC r199247: Remove part that HDMI is not implemented. It had different meaning and confuse users. Extend BUGS section. Add some supported chipsets. Modified: stable/

svn commit: r199744 - stable/8/share/man/man4

2009-11-24 Thread Alexander Motin
Author: mav Date: Tue Nov 24 09:13:15 2009 New Revision: 199744 URL: http://svn.freebsd.org/changeset/base/199744 Log: MFC r199532: Add ada(4) man page. Added: stable/8/share/man/man4/ada.4 - copied unchanged from r199532, head/share/man/man4/ada.4 Modified: stable/8/share/man/man4/M

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

2009-11-24 Thread Alexander Motin
Author: mav Date: Tue Nov 24 09:10:43 2009 New Revision: 199743 URL: http://svn.freebsd.org/changeset/base/199743 Log: MFC r199535: Tune CAM ATA kernel options a bit. Move PMP support from da to scbus and add ada device option, according to man page. Modified: stable/8/sys/conf/files Dire

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

2009-11-24 Thread Christian Brueffer
Author: brueffer Date: Tue Nov 24 08:14:22 2009 New Revision: 199739 URL: http://svn.freebsd.org/changeset/base/199739 Log: LSI MegaRAID 9260 works, sort the hardware list while here. Submitted by: Jason MFC after:3 days Modified: head/share/man/man4/mfi.4 Modified: head/share/ma