svn commit: r244202 - head/sys/netpfil/pf

2012-12-14 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 14 08:02:35 2012 New Revision: 244202 URL: http://svnweb.freebsd.org/changeset/base/244202 Log: Fix VIMAGE build broken in r244185. Submitted by: Nikolai Lifanov Modified: head/sys/netpfil/pf/if_pfsync.c Modified: head/sys/netpfil/pf/if_pfsync.c ==

svn commit: r244209 - head/sys/sys

2012-12-14 Thread Andrey V. Elsukov
Author: ae Date: Fri Dec 14 12:37:35 2012 New Revision: 244209 URL: http://svnweb.freebsd.org/changeset/base/244209 Log: Add an #include guard to the sys/fnv_hash.h. MFC after:3 days Modified: head/sys/sys/fnv_hash.h Modified: head/sys/sys/fnv_hash.h

svn commit: r244210 - head/sys/netpfil/pf

2012-12-14 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 14 13:01:16 2012 New Revision: 244210 URL: http://svnweb.freebsd.org/changeset/base/244210 Log: Fix error in r235991. No-sleep version of IFNET_RLOCK() should be used here, since we may hold the main pf rulesets rwlock. Reported by: Fleuriot Damien Modif

svn commit: r244215 - head/sbin/savecore

2012-12-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Dec 14 15:01:23 2012 New Revision: 244215 URL: http://svnweb.freebsd.org/changeset/base/244215 Log: Whitespace cleanups. Modified: head/sbin/savecore/savecore.c Modified: head/sbin/savecore/savecore.c =

svn commit: r244216 - head/sbin/savecore

2012-12-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Dec 14 15:03:12 2012 New Revision: 244216 URL: http://svnweb.freebsd.org/changeset/base/244216 Log: If we are not going to clear the dump (we are either just checking if the dump exists or we want to keep it), open device read-only. Obtained from:WHEEL System

svn commit: r244217 - head/sbin/savecore

2012-12-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Dec 14 15:04:39 2012 New Revision: 244217 URL: http://svnweb.freebsd.org/changeset/base/244217 Log: The clear option (-c) is not compatible with keep (-k) and compress (-z) options. Obtained from:WHEEL Systems Modified: head/sbin/savecore/savecore.c Modif

svn commit: r244218 - in head: etc/rc.d sbin/savecore

2012-12-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Fri Dec 14 15:12:08 2012 New Revision: 244218 URL: http://svnweb.freebsd.org/changeset/base/244218 Log: - When checking if a dump exists on the given device there is no need to provide dump directory. Eliminate this redundant argument. This changes the usage, but the on

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

2012-12-14 Thread John Baldwin
On Thursday, December 13, 2012 4:02:15 am Gleb Smirnoff wrote: > On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: > A> The problem again is that not all the KASSERTS are inviolable, if you > A> want to do a project to split them, then please do, it would really be > A> helpful, a

Re: svn commit: r244154 - head/bin/ps

2012-12-14 Thread John Baldwin
On Thursday, December 13, 2012 6:12:44 am Pawel Jakub Dawidek wrote: > On Wed, Dec 12, 2012 at 11:06:52PM +0200, Konstantin Belousov wrote: > > On Wed, Dec 12, 2012 at 03:45:04PM +, Pawel Jakub Dawidek wrote: > > > Author: pjd > > > Date: Wed Dec 12 15:45:03 2012 > > > New Revision: 244154 > >

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

2012-12-14 Thread Andriy Gapon
on 13/12/2012 19:01 m...@freebsd.org said the following: > Tools, not policy. > > A non-panic-ing KASSERT is a tool, not enabled by default. You don't > need to use it. Someone does, so why can't we provide the tool? So if some code is a tool and it is disabled by default and someone believes

svn commit: r244224 - head/share/mk

2012-12-14 Thread Ed Maste
Author: emaste Date: Fri Dec 14 18:30:01 2012 New Revision: 244224 URL: http://svnweb.freebsd.org/changeset/base/244224 Log: Minor refactoring prior to .symbols file changes - Combine .if x and .if !x using .else - Separate out beforelinking dependency - Add comments to clarify .if nest

Re: svn commit: r244154 - head/bin/ps

2012-12-14 Thread Pawel Jakub Dawidek
On Fri, Dec 14, 2012 at 11:52:15AM -0500, John Baldwin wrote: > On Thursday, December 13, 2012 6:12:44 am Pawel Jakub Dawidek wrote: > > On Wed, Dec 12, 2012 at 11:06:52PM +0200, Konstantin Belousov wrote: > > > On Wed, Dec 12, 2012 at 03:45:04PM +, Pawel Jakub Dawidek wrote: > > > > Author: pj

svn commit: r244226 - head/sys/kern

2012-12-14 Thread Rick Macklem
Author: rmacklem Date: Fri Dec 14 21:49:06 2012 New Revision: 244226 URL: http://svnweb.freebsd.org/changeset/base/244226 Log: The group list for a non-default export entry (a host/subnet one) was being copied from the wrong place. This patch fixes that. This could cause access failures for

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

2012-12-14 Thread Pawel Jakub Dawidek
On Thu, Dec 13, 2012 at 05:39:08PM +, Steven Hartland wrote: > Author: smh > Date: Thu Dec 13 17:39:07 2012 > New Revision: 244188 > URL: http://svnweb.freebsd.org/changeset/base/244188 > > Log: > Added vfs.zfs.vdev.trim_on_init sysctl which allows full vdev trim on > initialisation to be

Re: svn commit: r244193 - head/sys/x86/include

2012-12-14 Thread Carl Delsey
On 12/13/12 21:49, Bruce Evans wrote: On Thu, 13 Dec 2012, Jim Harris wrote: Log: Add bus_space_read_8 and bus_space_write_8 for amd64. Rather than trying to KASSERT for callers that invoke this on IO tags, either do nothing (for write_8) or return ~0 (for read_8). read_8 returns a uint64

svn commit: r244236 - head/share/mk

2012-12-14 Thread Ed Maste
Author: emaste Date: Sat Dec 15 00:03:35 2012 New Revision: 244236 URL: http://svnweb.freebsd.org/changeset/base/244236 Log: Put shared library debug info into separate .symbols file Sponsored by: ADARA Networks Modified: head/share/mk/bsd.lib.mk head/share/mk/sys.mk Modified: head/sh

Re: svn commit: r244236 - head/share/mk

2012-12-14 Thread Garrett Cooper
On Fri, Dec 14, 2012 at 4:03 PM, Ed Maste wrote: > Author: emaste > Date: Sat Dec 15 00:03:35 2012 > New Revision: 244236 > URL: http://svnweb.freebsd.org/changeset/base/244236 ... > Modified: head/share/mk/sys.mk > == >

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

2012-12-14 Thread Steven Hartland
- Original Message - From: "Pawel Jakub Dawidek" On Thu, Dec 13, 2012 at 05:39:08PM +, Steven Hartland wrote: Author: smh Date: Thu Dec 13 17:39:07 2012 New Revision: 244188 URL: http://svnweb.freebsd.org/changeset/base/244188 Log: Added vfs.zfs.vdev.trim_on_init sysctl which all

Re: svn commit: r244154 - head/bin/ps

2012-12-14 Thread Konstantin Belousov
On Fri, Dec 14, 2012 at 10:42:47PM +0100, Pawel Jakub Dawidek wrote: > On Fri, Dec 14, 2012 at 11:52:15AM -0500, John Baldwin wrote: > > On Thursday, December 13, 2012 6:12:44 am Pawel Jakub Dawidek wrote: > > > On Wed, Dec 12, 2012 at 11:06:52PM +0200, Konstantin Belousov wrote: > > > > On Wed, De

svn commit: r244237 - head/sys/kern

2012-12-14 Thread Konstantin Belousov
Author: kib Date: Sat Dec 15 02:02:11 2012 New Revision: 244237 URL: http://svnweb.freebsd.org/changeset/base/244237 Log: Remove a special case for XEN, which is erronous and makes vfork(2) behaviour to differ from the documented, only on XEN. If there are any issues with XEN pmap left, the

svn commit: r244238 - head/sys/sys

2012-12-14 Thread Konstantin Belousov
Author: kib Date: Sat Dec 15 02:03:06 2012 New Revision: 244238 URL: http://svnweb.freebsd.org/changeset/base/244238 Log: Line up the continuation backslashes. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/sys/mount.h Modified: head/sys/sys/mount.h =

svn commit: r244239 - head/sys/ufs/ufs

2012-12-14 Thread Konstantin Belousov
Author: kib Date: Sat Dec 15 02:03:59 2012 New Revision: 244239 URL: http://svnweb.freebsd.org/changeset/base/244239 Log: Fix a typo, resulting in the NULL pointer dereference. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/

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

2012-12-14 Thread Konstantin Belousov
Author: kib Date: Sat Dec 15 02:04:46 2012 New Revision: 244240 URL: http://svnweb.freebsd.org/changeset/base/244240 Log: When mnt_vnode_next_active iterator cannot lock the next vnode and yields, specify the user priority for the yield. Otherwise, a higher-priority (kernel) thread could fa

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

2012-12-14 Thread Robert Watson
On Fri, 14 Dec 2012, John Baldwin wrote: On Thursday, December 13, 2012 4:02:15 am Gleb Smirnoff wrote: On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: A> The problem again is that not all the KASSERTS are inviolable, if you A> want to do a project to split them, then please

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

2012-12-14 Thread Alfred Perlstein
On 12/14/12 4:12 PM, Robert Watson wrote: On Fri, 14 Dec 2012, John Baldwin wrote: On Thursday, December 13, 2012 4:02:15 am Gleb Smirnoff wrote: On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: A> The problem again is that not all the KASSERTS are inviolable, if you A> want

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

2012-12-14 Thread Rui Paulo
On 12 Dec 2012, at 07:42, John Baldwin wrote: > On Monday, December 10, 2012 8:23:51 pm Alfred Perlstein wrote: >> Author: alfred >> Date: Tue Dec 11 01:23:50 2012 >> New Revision: 244105 >> URL: http://svnweb.freebsd.org/changeset/base/244105 >> >> Log: >> Switch the hardwired WITNESS panics t

Re: svn commit: r244154 - head/bin/ps

2012-12-14 Thread Bruce Evans
On Sat, 15 Dec 2012, Konstantin Belousov wrote: On Fri, Dec 14, 2012 at 10:42:47PM +0100, Pawel Jakub Dawidek wrote: On Fri, Dec 14, 2012 at 11:52:15AM -0500, John Baldwin wrote: On Thursday, December 13, 2012 6:12:44 am Pawel Jakub Dawidek wrote: On Wed, Dec 12, 2012 at 11:06:52PM +0200, Kon

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

2012-12-14 Thread Julian Elischer
On 12/13/12 6:37 AM, Andriy Gapon wrote: on 12/12/2012 19:06 Adrian Chadd said the following: kassert()s are already optional. Ie, you can choose to not compile them in. So the __dead2() code path bit for doing KASSERT() -> kassert_panic() at compile time isn't a problem. The problem is where