svn commit: r222518 - head/sys/cddl/compat/opensolaris/kern

2011-05-31 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue May 31 07:02:49 2011 New Revision: 222518 URL: http://svn.freebsd.org/changeset/base/222518 Log: Imagine situation where a security problem is found in setuid binary. User upgrades his system to fix the problem, but if he has any ZFS snapshots for the file system which

svn commit: r222519 - head/usr.sbin/usbdump

2011-05-31 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Tue May 31 07:13:07 2011 New Revision: 222519 URL: http://svn.freebsd.org/changeset/base/222519 Log: Minor wording adjustments to usbdump(8). PR: docs/157317 Submitted by: Warren Block (wblock at wonkity dot com) Reviewed by: hps@ MFC after

Re: svn commit: r222466 - head/sbin/umount

2011-05-31 Thread Bruce Evans
On Mon, 30 May 2011, Rick Macklem wrote: On Mon, May 30, 2011 at 01:48:53PM +0100, Robert Watson wrote: On Sun, 29 May 2011, Rick Macklem wrote: Modify the umount(8) command so that it doesn't do a sync(2) syscall before unmount(2) for the "-f" case. This avoids a forced dismount from getting

Re: svn commit: r222084 - head/contrib/gperf/src

2011-05-31 Thread Bruce Evans
On Wed, 18 May 2011 m...@freebsd.org wrote: On Wed, May 18, 2011 at 2:31 PM, Dimitry Andric wrote: On 2011-05-18 23:16, Pawel Jakub Dawidek wrote: On Wed, May 18, 2011 at 09:06:20PM +, Ben Laurie wrote: Author: benl Date: Wed May 18 21:06:20 2011 New Revision: 222084 URL: http://svn.fr

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

2011-05-31 Thread Alexander Motin
Author: mav Date: Tue May 31 09:22:52 2011 New Revision: 222520 URL: http://svn.freebsd.org/changeset/base/222520 Log: Add quirks to hint 4K physical sector (Advanced Format) for ATA disks not reporting it properly (none? of known disks now). Hitachi and WDC AF disks seem could be identif

svn commit: r222523 - head/share/man/man7

2011-05-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 31 12:59:15 2011 New Revision: 222523 URL: http://svn.freebsd.org/changeset/base/222523 Log: It is generally considered useful for release media to have kernels on them. Submitted by: joel Modified: head/share/man/man7/release.7 Modified: head/share/man/

svn commit: r222527 - head/sbin/ifconfig

2011-05-31 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 31 14:40:21 2011 New Revision: 222527 URL: http://svn.freebsd.org/changeset/base/222527 Log: Conditionally compile in the af_inet and af_inet6, af_nd6 modules. If compiled in for dual-stack use, test with feature_present(3) to see if we should register the IPv4/IPv6

Re: svn commit: r222084 - head/contrib/gperf/src

2011-05-31 Thread Ben Laurie
On 18/05/2011 22:16, Pawel Jakub Dawidek wrote: > On Wed, May 18, 2011 at 09:06:20PM +, Ben Laurie wrote: >> Author: benl >> Date: Wed May 18 21:06:20 2011 >> New Revision: 222084 >> URL: http://svn.freebsd.org/changeset/base/222084 >> >> Log: >> Fix clang warnings. >> >> Approved by:

svn commit: r222528 - in head/usr.sbin/pc-sysinstall: backend backend-query

2011-05-31 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 31 15:02:30 2011 New Revision: 222528 URL: http://svn.freebsd.org/changeset/base/222528 Log: Start teaching pc-sysinstall about IPv6. Add some additional empty string checks for IPv4 and try to configure a netmask along with the address rather than doing things tw

svn commit: r222529 - head/sys/contrib/pf/net

2011-05-31 Thread Bjoern A. Zeeb
Author: bz Date: Tue May 31 15:05:29 2011 New Revision: 222529 URL: http://svn.freebsd.org/changeset/base/222529 Log: Remove some further INET related symbols from pf to allow the module to not only compile bu load as well for testing with IPv6-only kernels. For the moment we ignore the csum

svn commit: r222530 - in head: contrib/top usr.bin/top

2011-05-31 Thread John Baldwin
Author: jhb Date: Tue May 31 15:11:23 2011 New Revision: 222530 URL: http://svn.freebsd.org/changeset/base/222530 Log: Add a new option to toggle the display of the system idle process (per-CPU idle threads). The process is displayed by default (subject to whether or not system processes ar

svn commit: r222531 - in head/sys: i386/pci ia64/ia64 kern mips/mips net powerpc/booke powerpc/powerpc sparc64/sparc64 sys

2011-05-31 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 31 15:11:43 2011 New Revision: 222531 URL: http://svn.freebsd.org/changeset/base/222531 Log: On multi-core, multi-threaded PPC systems, it is important that the threads be brought up in the order they are enumerated in the device tree (in particular, that thr

Re: svn commit: r222084 - head/contrib/gperf/src

2011-05-31 Thread Steve Kargl
On Tue, May 31, 2011 at 03:28:45PM +0100, Ben Laurie wrote: > On 18/05/2011 22:16, Pawel Jakub Dawidek wrote: > > On Wed, May 18, 2011 at 09:06:20PM +, Ben Laurie wrote: > >> Author: benl > >> Date: Wed May 18 21:06:20 2011 > >> New Revision: 222084 > >> URL: http://svn.freebsd.org/changeset/ba

svn commit: r222532 - in head: contrib/top usr.bin/top

2011-05-31 Thread John Baldwin
Author: jhb Date: Tue May 31 15:41:10 2011 New Revision: 222532 URL: http://svn.freebsd.org/changeset/base/222532 Log: - Document the -H option and 'H' key alongside other options and keys rather than at the bottom of the manpage. - Remove an obsolete comment about SWAIT being a stale stat

Re: svn commit: r221900 - head

2011-05-31 Thread Ben Laurie
On 15/05/2011 05:19, Bjoern A. Zeeb wrote: > On Sat, 14 May 2011, Colin Percival wrote: > >> Author: cperciva >> Date: Sat May 14 17:44:12 2011 >> New Revision: 221900 >> URL: http://svn.freebsd.org/changeset/base/221900 >> >> Log: >> Encourage Ben Laurie to finish getting his commit bit by appoi

svn commit: r222534 - head/usr.bin/tftp

2011-05-31 Thread Warner Losh
Author: imp Date: Tue May 31 16:59:14 2011 New Revision: 222534 URL: http://svn.freebsd.org/changeset/base/222534 Log: Fix a couple of spelling errors. Submitted by: bcr@ Modified: head/usr.bin/tftp/main.c Modified: head/usr.bin/tftp/main.c ==

svn commit: r222535 - head/tools/tools/nanobsd

2011-05-31 Thread Warner Losh
Author: imp Date: Tue May 31 17:14:06 2011 New Revision: 222535 URL: http://svn.freebsd.org/changeset/base/222535 Log: Don't need (and can't use) -L to copy links here. Modified: head/tools/tools/nanobsd/nanobsd.sh Modified: head/tools/tools/nanobsd/nanobsd.sh ===

svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
Author: ken Date: Tue May 31 17:29:58 2011 New Revision: 222537 URL: http://svn.freebsd.org/changeset/base/222537 Log: Fix apparent garbage in the message buffer. While we have had a fix in place (options PRINTF_BUFR_SIZE=128) to fix scrambled console output, the message buffer and syslog

svn commit: r222540 - head/sys/fs/nfsclient

2011-05-31 Thread Rick Macklem
Author: rmacklem Date: Tue May 31 17:43:25 2011 New Revision: 222540 URL: http://svn.freebsd.org/changeset/base/222540 Log: Fix the new NFS client so that it doesn't do an NFSv3 Pathconf RPC for cases where the reply doesn't include the answer. This fixes a problem reported by avg@ where t

Re: svn commit: r221900 - head

2011-05-31 Thread Mark Linimon
On Tue, May 31, 2011 at 04:52:10PM +0100, Ben Laurie wrote: > Now I'm back from my travels someone's going to have to tell me what I > need to do! Now you understand the reason not to leave the room: someone just volunteers you to do stuff, when you do. mcl ___

svn commit: r222541 - head/sbin/umount

2011-05-31 Thread Rick Macklem
Author: rmacklem Date: Tue May 31 18:27:18 2011 New Revision: 222541 URL: http://svn.freebsd.org/changeset/base/222541 Log: Add a sentence to the umount.8 man page to clarify the behaviour for forced dismount when used on an NFS mount point. Requested by Jeremy Chadwick. This is a content

svn commit: r222542 - head/sys/dev/nfe

2011-05-31 Thread Pyun YongHyeon
Author: yongari Date: Tue May 31 18:45:15 2011 New Revision: 222542 URL: http://svn.freebsd.org/changeset/base/222542 Log: If driver is not running, disable interrupts and do not try to process received frames. Previously it was possible to handle RX interrupts even if controller is not ful

svn commit: r222543 - in head/sys/dev: ipw iwi iwn wpi

2011-05-31 Thread Bernhard Schmidt
Author: bschmidt Date: Tue May 31 19:08:25 2011 New Revision: 222543 URL: http://svn.freebsd.org/changeset/base/222543 Log: Add module version to iwi/ipw/wpi and iwn. The version is used to check if a module is already preset, not setting it results in: can't re-use a leaf (ipw)! m

svn commit: r222544 - in head/sys: contrib/dev/acpica contrib/dev/acpica/debugger contrib/dev/acpica/include contrib/dev/acpica/tables dev/acpica/Osd

2011-05-31 Thread Jung-uk Kim
Author: jkim Date: Tue May 31 19:45:58 2011 New Revision: 222544 URL: http://svn.freebsd.org/changeset/base/222544 Log: Merge ACPICA 20110527. Modified: head/sys/contrib/dev/acpica/changes.txt head/sys/contrib/dev/acpica/debugger/dbexec.c head/sys/contrib/dev/acpica/debugger/dbinput.c h

Re: svn commit: r222466 - head/sbin/umount

2011-05-31 Thread Rick Macklem
> > It is only an optimization. Any number of syncs are useless for > actually syncing the system, since sync(2) only does an async sync (it > returns without waiting for most writes to complete). As you pointed > out later in this thread, unmount(2) does a sync that works -- a sync > sync -- befo

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread mdf
On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry wrote: > Author: ken > Date: Tue May 31 17:29:58 2011 > New Revision: 222537 > URL: http://svn.freebsd.org/changeset/base/222537 > > Log: >  Fix apparent garbage in the message buffer. > >  While we have had a fix in place (options PRINTF_BUFR_SIZ

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Garrett Cooper
On Tue, May 31, 2011 at 2:00 PM, wrote: > On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry wrote: >> Author: ken >> Date: Tue May 31 17:29:58 2011 >> New Revision: 222537 >> URL: http://svn.freebsd.org/changeset/base/222537 >> >> Log: >>  Fix apparent garbage in the message buffer. >> >>  Whil

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Garrett Cooper
On Tue, May 31, 2011 at 2:14 PM, Garrett Cooper wrote: > On Tue, May 31, 2011 at 2:00 PM,   wrote: >> On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry wrote: >>> Author: ken >>> Date: Tue May 31 17:29:58 2011 >>> New Revision: 222537 >>> URL: http://svn.freebsd.org/changeset/base/222537 >>> >>>

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-31 Thread Pieter de Goeje
On Sunday 29 May 2011 05:01:57 m...@freebsd.org wrote: > On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: > > To me it looks like it's not able to cache the zeroes anymore. Is this > > intentional? I tried to change ZERO_REGION_SIZE back to 64K but that > > didn't help. > > Hmm. I don't h

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
On Tue, May 31, 2011 at 14:00:18 -0700, m...@freebsd.org wrote: > On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry wrote: > > Author: ken > > Date: Tue May 31 17:29:58 2011 > > New Revision: 222537 > > URL: http://svn.freebsd.org/changeset/base/222537 > > > > Log: > > ?Fix apparent garbage in th

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread mdf
On Tue, May 31, 2011 at 2:46 PM, Kenneth D. Merry wrote: > On Tue, May 31, 2011 at 14:00:18 -0700, m...@freebsd.org wrote: >> On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry wrote: >> > Author: ken >> > Date: Tue May 31 17:29:58 2011 >> > New Revision: 222537 >> > URL: http://svn.freebsd.org/c

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
On Tue, May 31, 2011 at 15:02:37 -0700, m...@freebsd.org wrote: > On Tue, May 31, 2011 at 2:46 PM, Kenneth D. Merry wrote: > > On Tue, May 31, 2011 at 14:00:18 -0700, m...@freebsd.org wrote: > >> On Tue, May 31, 2011 at 10:29 AM, Kenneth D. Merry > >> wrote: > >> > Author: ken > >> > Date: Tue M

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread mdf
On Tue, May 31, 2011 at 3:11 PM, Kenneth D. Merry wrote: > On Tue, May 31, 2011 at 15:02:37 -0700, m...@freebsd.org wrote: >> On Tue, May 31, 2011 at 2:46 PM, Kenneth D. Merry wrote: >> > On Tue, May 31, 2011 at 14:00:18 -0700, m...@freebsd.org wrote: >> >> On Tue, May 31, 2011 at 10:29 AM, Kenne

svn commit: r222550 - head/sys/kern

2011-05-31 Thread Kenneth D. Merry
Author: ken Date: Tue May 31 22:39:32 2011 New Revision: 222550 URL: http://svn.freebsd.org/changeset/base/222550 Log: Fix a bug introduced in revision 222537. In msgbuf_reinit() and msgbuf_init(), we weren't initializing the mutex. Depending on the contents of memory, the LO_INITIALIZED

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Kenneth D. Merry
On Tue, May 31, 2011 at 15:16:05 -0700, m...@freebsd.org wrote: > On Tue, May 31, 2011 at 3:11 PM, Kenneth D. Merry wrote: > > On Tue, May 31, 2011 at 15:02:37 -0700, m...@freebsd.org wrote: > >> On Tue, May 31, 2011 at 2:46 PM, Kenneth D. Merry wrote: > >> > On Tue, May 31, 2011 at 14:00:18 -070

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-31 Thread mdf
On Tue, May 31, 2011 at 2:48 PM, Pieter de Goeje wrote: > On Sunday 29 May 2011 05:01:57 m...@freebsd.org wrote: >> On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: >> > To me it looks like it's not able to cache the zeroes anymore. Is this >> > intentional? I tried to change ZERO_REGION_

Re: svn commit: r221853 - in head/sys: dev/md dev/null sys vm

2011-05-31 Thread mdf
On Tue, May 31, 2011 at 3:47 PM, wrote: > On Tue, May 31, 2011 at 2:48 PM, Pieter de Goeje wrote: >> On Sunday 29 May 2011 05:01:57 m...@freebsd.org wrote: >>> On Sat, May 28, 2011 at 12:03 PM, Pieter de Goeje wrote: >>> > To me it looks like it's not able to cache the zeroes anymore. Is this >

svn commit: r222551 - head/sys/dev/cxgbe

2011-05-31 Thread Navdeep Parhar
Author: np Date: Tue May 31 23:49:13 2011 New Revision: 222551 URL: http://svn.freebsd.org/changeset/base/222551 Log: Firmware device log. # sysctl dev.t4nex.0.devlog MFC after:mdf's sysctl+sbuf changes are MFC'd Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxg

svn commit: r222552 - head/sys/dev/cxgbe

2011-05-31 Thread Navdeep Parhar
Author: np Date: Wed Jun 1 01:32:58 2011 New Revision: 222552 URL: http://svn.freebsd.org/changeset/base/222552 Log: Provide hit-count with rest of the information about a filter. MFC after:1 week Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ===

Re: svn commit: r222423 - head/sbin/newfs

2011-05-31 Thread Alexander Best
On Sat May 28 11, Niclas Zeising wrote: > On 2011-05-28 17:14, Kirk McKusick wrote: > > Author: mckusick > > Date: Sat May 28 15:14:50 2011 > > New Revision: 222423 > > URL: http://svn.freebsd.org/changeset/base/222423 > > > > Log: > > Update the manual page to reflect the new 32K/4K defaults. >

Re: svn commit: r222537 - in head/sys: kern sys

2011-05-31 Thread Andriy Gapon
on 31/05/2011 20:29 Kenneth D. Merry said the following: > + mtx_init(&mbp->msg_lock, "msgbuf", NULL, MTX_SPIN); Sorry that I didn't gather myself together for a review before this change got actually committed. Do you see any reason not to make this spinlock recursive? I am a little bit wor