svn commit: r217439 - stable/8/sbin/hastd

2011-01-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Jan 15 08:18:58 2011 New Revision: 217439 URL: http://svn.freebsd.org/changeset/base/217439 Log: MFC r217307,r217308,r217312: r217307: Install default signal handlers before masking signals we want to handle. It is possible that the parent process ignores some o

svn commit: r217440 - stable/8/lib/libc/net

2011-01-15 Thread Konstantin Belousov
Author: kib Date: Sat Jan 15 08:35:41 2011 New Revision: 217440 URL: http://svn.freebsd.org/changeset/base/217440 Log: MFC r217143: Fix struct FILE * leak on error (in disabled by default hesiod support code). PR: 153756 Modified: stable/8/lib/libc/net/hesiod.c Directory Properties:

svn commit: r217441 - stable/8/lib/libc/stdlib

2011-01-15 Thread Konstantin Belousov
Author: kib Date: Sat Jan 15 08:37:33 2011 New Revision: 217441 URL: http://svn.freebsd.org/changeset/base/217441 Log: MFC r217144: Fix some style(9) issues. Do not use strlcpy() where simple assignment is enough. Modified: stable/8/lib/libc/stdlib/realpath.c Directory Properties: stabl

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-15 Thread Garrett Cooper
On Fri, Jan 14, 2011 at 10:27 PM, Bruce Evans wrote: > On Fri, 14 Jan 2011, Garrett Cooper wrote: > >> On Fri, Jan 14, 2011 at 6:42 PM, Bruce Evans wrote: >>> >>> On Fri, 14 Jan 2011 m...@freebsd.org wrote: >>> On Thu, Jan 13, 2011 at 10:50 PM, Bruce Evans wrote: > > On Thu, 13

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

2011-01-15 Thread Konstantin Belousov
Author: kib Date: Sat Jan 15 09:25:19 2011 New Revision: 217442 URL: http://svn.freebsd.org/changeset/base/217442 Log: MFC r217150: Collect code to translate between vm_prot_t and p_flags into helper functions. Modified: stable/8/sys/kern/imgact_elf.c Directory Properties: stable/8/sys/

svn commit: r217443 - stable/7/sys/geom

2011-01-15 Thread Jaakko Heinonen
Author: jh Date: Sat Jan 15 09:36:31 2011 New Revision: 217443 URL: http://svn.freebsd.org/changeset/base/217443 Log: MFC r214748: Extend the g_eventlock mutex coverage in one_event() to include setting of the EV_DONE flag and use the mutex to protect against losing wakeups in g_waitfor

svn commit: r217444 - head/sys/cam/ata

2011-01-15 Thread Alexander Motin
Author: mav Date: Sat Jan 15 09:43:25 2011 New Revision: 217444 URL: http://svn.freebsd.org/changeset/base/217444 Log: Some old WD SATA disks report supported and enabled device-initiated interface power management, but return ABORT error on attempt to disable it. Make CAM SATA probe sequenc

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-15 Thread Bruce Evans
On Sat, 15 Jan 2011, Garrett Cooper wrote: On Fri, Jan 14, 2011 at 10:27 PM, Bruce Evans wrote: On Fri, 14 Jan 2011, Garrett Cooper wrote: On Fri, Jan 14, 2011 at 6:42 PM, Bruce Evans wrote: ... Oops. ?I think sizeof() and issigned() can be used to determine the type well enough in funct

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-15 Thread mdf
On Sat, Jan 15, 2011 at 6:55 AM, Bruce Evans wrote: > On Sat, 15 Jan 2011, Garrett Cooper wrote: > >> On Fri, Jan 14, 2011 at 10:27 PM, Bruce Evans >> wrote: >>> >>> On Fri, 14 Jan 2011, Garrett Cooper wrote: >>> On Fri, Jan 14, 2011 at 6:42 PM, Bruce Evans wrote: > > ... > Oop

svn commit: r217445 - stable/8/sys/net

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 18:41:42 2011 New Revision: 217445 URL: http://svn.freebsd.org/changeset/base/217445 Log: Merge r204199 from head to stable/8: Export netisr configuration and statistics to userspace via sysctl(9). Sponsored by: Juniper Networks Modified: stabl

svn commit: r217446 - stable/8/usr.bin/netstat

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 18:51:45 2011 New Revision: 217446 URL: http://svn.freebsd.org/changeset/base/217446 Log: Merge r204202 from head to stable/8: Teach netstat(1) to print out netisr statistics when given the -Q argument. Currently supports only reporting on live systems

svn commit: r217447 - stable/8/share/man/man9

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 18:56:51 2011 New Revision: 217447 URL: http://svn.freebsd.org/changeset/base/217447 Log: Merge r204206 from head to stable/8: Cross-reference netstat(1) from netisr(9) since you can now use it to monitor netisr status. Sponsored by: Juniper N

svn commit: r217448 - stable/8/usr.bin/netstat

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:00:22 2011 New Revision: 217448 URL: http://svn.freebsd.org/changeset/base/217448 Log: Merge mergeinfo only for r204207 from head to stable/8; the edit itself was apparently merged as part of a separate change: Update date on netstat(1) for -Q.

svn commit: r217449 - stable/8/sys/net

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:02:08 2011 New Revision: 217449 URL: http://svn.freebsd.org/changeset/base/217449 Log: Merge r204208 from head to stable/8: Fix constant assignment for netisr protocol information sysctl. Spotted by: bz Modified: stable/8/sys/net/netisr.h

svn commit: r217450 - stable/8/sys/net

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:05:06 2011 New Revision: 217450 URL: http://svn.freebsd.org/changeset/base/217450 Log: Merge r204303 from head to stable/8: Fix edge cases in several KASSERTs: use <= rather than < when testing that counters have not gone about MAXCPU or NETISR_MAXP

svn commit: r217451 - head/sys/powerpc/aim

2011-01-15 Thread Andreas Tobler
Author: andreast Date: Sat Jan 15 19:16:05 2011 New Revision: 217451 URL: http://svn.freebsd.org/changeset/base/217451 Log: Remove unused variables. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified: head/sys

svn commit: r217452 - head/sys/dev/iicbus

2011-01-15 Thread Andreas Tobler
Author: andreast Date: Sat Jan 15 19:16:56 2011 New Revision: 217452 URL: http://svn.freebsd.org/changeset/base/217452 Log: Remove unused variable. Spotted by a cppcheck (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor) Modified: head/sys/

svn commit: r217453 - head/sys/vm

2011-01-15 Thread Alan Cox
Author: alc Date: Sat Jan 15 19:21:28 2011 New Revision: 217453 URL: http://svn.freebsd.org/changeset/base/217453 Log: For some time now, the kernel and kmem objects have been ordinary OBJT_PHYS objects. Thus, there is no need for handling them specially in vm_fault(). In fact, this specia

svn commit: r217454 - stable/8/lib/libkvm

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:23:14 2011 New Revision: 217454 URL: http://svn.freebsd.org/changeset/base/217454 Log: Merge r204494, r204511 from head to stable/8: A first cut at teaching libkvm how to deal with dynamic per-CPU storage (DPCPU): A new API, kvm_dpcpu_setcpu(

svn commit: r217455 - stable/8/sys/net

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:27:22 2011 New Revision: 217455 URL: http://svn.freebsd.org/changeset/base/217455 Log: Merge r203913 from head to stable/8 (original change by pjd): Mark various sysctls also as tunables. Reviewed by:rwatson Modified: stable/8/sys/net/neti

svn commit: r217456 - stable/8/sys/net

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:36:47 2011 New Revision: 217456 URL: http://svn.freebsd.org/changeset/base/217456 Log: Merge from head to stable/8: Refine netisr.c comments a bit. Modified: stable/8/sys/net/netisr.c Directory Properties: stable/8/sys/ (props changed) stable/8

svn commit: r217457 - stable/8/sys/net

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:46:36 2011 New Revision: 217457 URL: http://svn.freebsd.org/changeset/base/217457 Log: Merge r204497, r204499 from head to stable/8: Changes to support crashdump analysis of netisr: - Rename the netisr protocol registration array, 'np' to 'netisr

svn commit: r217458 - stable/8/usr.bin/netstat

2011-01-15 Thread Robert Watson
Author: rwatson Date: Sat Jan 15 19:49:08 2011 New Revision: 217458 URL: http://svn.freebsd.org/changeset/base/217458 Log: Merge r204499, r204515 from head to stable/8: Teach netstat -Q to work with -N and -M by adding libkvm versions of data query routines. This code is necessarily

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

2011-01-15 Thread Marcel Moolenaar
Author: marcel Date: Sat Jan 15 20:18:08 2011 New Revision: 217459 URL: http://svn.freebsd.org/changeset/base/217459 Log: Don't redefine MODINFOMD_BOOTINFO as MODINFOMD_DTBP. This breaks support for older loaders. Add MODINFOMD_DTBP as a new tag instead. Modified: head/sys/powerpc/include

svn commit: r217461 - in head: bin/sh tools/regression/bin/sh/builtins

2011-01-15 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 15 21:09:00 2011 New Revision: 217461 URL: http://svn.freebsd.org/changeset/base/217461 Log: sh: Fix some things about -- in trap: * Make 'trap --' do the same as 'trap' instead of nothing. * Make '--' stop option processing (note that '-' action is not an option

svn commit: r217463 - head/sys/vm

2011-01-15 Thread Konstantin Belousov
Author: kib Date: Sat Jan 15 21:56:38 2011 New Revision: 217463 URL: http://svn.freebsd.org/changeset/base/217463 Log: For consistency, use kernel_object instead of &kernel_object_store when initializing the object mutex. Do the same for kmem_object. Discussed with: alc MFC after:

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

2011-01-15 Thread Marius Strobl
Author: marius Date: Sat Jan 15 22:07:08 2011 New Revision: 217464 URL: http://svn.freebsd.org/changeset/base/217464 Log: Add a manual page for rgephy(4) and reference it as appropriate. The motivation for having rgephy.4 is to document the special media option add in r217415. MFC after

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-15 Thread Bruce Evans
On Sat, 15 Jan 2011 m...@freebsd.org wrote: On Sat, Jan 15, 2011 at 6:55 AM, Bruce Evans wrote: SYSCTL_I() works even better that I first thought. ?It automatically gives support for all typedefed integral types. ?No SYSCTL_FOO_T()s ... Grrr, my sentence breaks of 2 spaces are being echoed

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

2011-01-15 Thread Marius Strobl
Author: marius Date: Sun Jan 16 04:14:56 2011 New Revision: 217468 URL: http://svn.freebsd.org/changeset/base/217468 Log: Reference rgephy.4 in man pages of additional MAC drivers also known to come in combination with these PHYs. Submitted by: yongari MFC after:3 days Modified:

Re: svn commit: r217369 - in head/sys: cam/scsi sys

2011-01-15 Thread mdf
On Sat, Jan 15, 2011 at 7:06 PM, Bruce Evans wrote: > On Sat, 15 Jan 2011 m...@freebsd.org wrote: >> On Sat, Jan 15, 2011 at 6:55 AM, Bruce Evans wrote: > >> The printing is done entirely in user-space, so it's not too bad.  I >> had figured to upcast everything to [u]intmax_t anyways, and what t