svn commit: r244242 - stable/9/sys/netinet

2012-12-15 Thread Gleb Smirnoff
Author: glebius Date: Sat Dec 15 08:29:22 2012 New Revision: 244242 URL: http://svnweb.freebsd.org/changeset/base/244242 Log: Merge from head r244157: Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it, but later after processing and freeing the tag, we need to

svn commit: r244243 - head/sbin/growfs

2012-12-15 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Dec 15 08:53:58 2012 New Revision: 244243 URL: http://svnweb.freebsd.org/changeset/base/244243 Log: Fix extending filesystems of weird size by making sure the actual size is always multiple of fragment size. Modified: head/sbin/growfs/growfs.c Modified:

svn commit: r244245 - vendor/illumos/dist/cmd/zdb

2012-12-15 Thread Martin Matuska
Author: mm Date: Sat Dec 15 09:50:31 2012 New Revision: 244245 URL: http://svnweb.freebsd.org/changeset/base/244245 Log: Push vendor/illumos/dist to illumos-gate 13894:f4af77f6bbd2 (illumos zfs issues #3397 #3398) Modified: vendor/illumos/dist/cmd/zdb/zdb.c Modified:

svn commit: r244246 - head/cddl/contrib/opensolaris/cmd/zdb

2012-12-15 Thread Martin Matuska
Author: mm Date: Sat Dec 15 10:02:11 2012 New Revision: 244246 URL: http://svnweb.freebsd.org/changeset/base/244246 Log: MFV r244245: Merge two zdb bugfixes from vendor (illumos) illumos-gate 13894:f4af77f6bbd2 3397 zdb pool objnum output is too verbose 3398 zdb can't dump feature

svn commit: r244247 - stable/9/sys/dev/sound/usb

2012-12-15 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 15 10:27:07 2012 New Revision: 244247 URL: http://svnweb.freebsd.org/changeset/base/244247 Log: MFC r244027: Add support for various Yamaha keyboards. MFC after:1 week PR: usb/174254 Modified: stable/9/sys/dev/sound/usb/uaudio.c Directory

svn commit: r244248 - stable/8/sys/dev/sound/usb

2012-12-15 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 15 10:30:06 2012 New Revision: 244248 URL: http://svnweb.freebsd.org/changeset/base/244248 Log: MFC r244027: Add support for various Yamaha keyboards. MFC after:1 week PR: usb/174254 Modified: stable/8/sys/dev/sound/usb/uaudio.c Directory

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

2012-12-15 Thread Bruce Evans
On Fri, 14 Dec 2012, Carl Delsey wrote: 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

svn commit: r244252 - head/etc/devd

2012-12-15 Thread Hans Petter Selasky
Author: hselasky Date: Sat Dec 15 10:56:16 2012 New Revision: 244252 URL: http://svnweb.freebsd.org/changeset/base/244252 Log: Regenerate usb.conf MFC after:1 week Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf

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

2012-12-15 Thread Bruce Evans
On Fri, 14 Dec 2012, Alfred Perlstein wrote: 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

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

2012-12-15 Thread Alfred Perlstein
On 12/14/12 10:04 PM, Bruce Evans wrote: On Fri, 14 Dec 2012, Alfred Perlstein wrote: 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

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

2012-12-15 Thread Gleb Smirnoff
On Sat, Dec 15, 2012 at 04:35:25AM -0800, Alfred Perlstein wrote: A People keep beating this drum all invariants/panics are there for a A reason, no, some happen to be bugs, and when I'm shipping code to a A customer, I may need to skip one of these buggy assertions. Yes, if you know any buggy

svn commit: r244256 - in vendor/openbsm/dist: . bin/auditdistd etc sys/bsm

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 13:27:45 2012 New Revision: 244256 URL: http://svnweb.freebsd.org/changeset/base/244256 Log: Vendor import of OpenBSM 1.2-alpha3. This eliminates most local patches made relative to OpenBSM 1.2-alpha2 in order to build OpenBSM as part of the FreeBSD base.

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

2012-12-15 Thread Alfred Perlstein
On 12/15/12 5:01 AM, Gleb Smirnoff wrote: On Sat, Dec 15, 2012 at 04:35:25AM -0800, Alfred Perlstein wrote: A People keep beating this drum all invariants/panics are there for a A reason, no, some happen to be bugs, and when I'm shipping code to a A customer, I may need to skip one of these

svn commit: r244257 - vendor/openbsm/1.2-ALPHA-3

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 13:29:16 2012 New Revision: 244257 URL: http://svnweb.freebsd.org/changeset/base/244257 Log: Tag OpenBSM 1.2-alpha3. Obtained from:TrustedBSD Project Added: vendor/openbsm/1.2-ALPHA-3/ - copied from r244256, vendor/openbsm/dist/

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

2012-12-15 Thread Gleb Smirnoff
On Sat, Dec 15, 2012 at 05:29:10AM -0800, Alfred Perlstein wrote: A On 12/15/12 5:01 AM, Gleb Smirnoff wrote: A On Sat, Dec 15, 2012 at 04:35:25AM -0800, Alfred Perlstein wrote: A A People keep beating this drum all invariants/panics are there for a A A reason, no, some happen to be bugs, and

svn commit: r244258 - stable/8/games/fortune/datfiles

2012-12-15 Thread Eitan Adler
Author: eadler Date: Sat Dec 15 14:34:32 2012 New Revision: 244258 URL: http://svnweb.freebsd.org/changeset/base/244258 Log: MFC r243899: Use Bernard Baruch's full name. The words old than seem to be quoted as older than by some sources, so use the more likely and

svn commit: r244259 - stable/7/games/fortune/datfiles

2012-12-15 Thread Eitan Adler
Author: eadler Date: Sat Dec 15 14:34:33 2012 New Revision: 244259 URL: http://svnweb.freebsd.org/changeset/base/244259 Log: MFC r243899: Use Bernard Baruch's full name. The words old than seem to be quoted as older than by some sources, so use the more likely and

svn commit: r244260 - stable/9/games/fortune/datfiles

2012-12-15 Thread Eitan Adler
Author: eadler Date: Sat Dec 15 14:34:33 2012 New Revision: 244260 URL: http://svnweb.freebsd.org/changeset/base/244260 Log: MFC r243899: Use Bernard Baruch's full name. The words old than seem to be quoted as older than by some sources, so use the more likely and

svn commit: r244261 - stable/8/share/misc

2012-12-15 Thread Eitan Adler
Author: eadler Date: Sat Dec 15 14:36:40 2012 New Revision: 244261 URL: http://svnweb.freebsd.org/changeset/base/244261 Log: MFC r244017: Sync with Library of Congress list. Approved by: cperciva (implicit) Modified: stable/8/share/misc/iso639 Directory Properties:

svn commit: r244262 - stable/7/share/misc

2012-12-15 Thread Eitan Adler
Author: eadler Date: Sat Dec 15 14:36:41 2012 New Revision: 244262 URL: http://svnweb.freebsd.org/changeset/base/244262 Log: MFC r244017: Sync with Library of Congress list. Approved by: cperciva (implicit) Modified: stable/7/share/misc/iso639 (contents, props changed)

svn commit: r244263 - stable/9/share/misc

2012-12-15 Thread Eitan Adler
Author: eadler Date: Sat Dec 15 14:36:41 2012 New Revision: 244263 URL: http://svnweb.freebsd.org/changeset/base/244263 Log: MFC r244017: Sync with Library of Congress list. Approved by: cperciva (implicit) Modified: stable/9/share/misc/iso639 Directory Properties:

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

2012-12-15 Thread Alfred Perlstein
On 12/15/12 6:17 AM, Gleb Smirnoff wrote: On Sat, Dec 15, 2012 at 05:29:10AM -0800, Alfred Perlstein wrote: A On 12/15/12 5:01 AM, Gleb Smirnoff wrote: A On Sat, Dec 15, 2012 at 04:35:25AM -0800, Alfred Perlstein wrote: A A People keep beating this drum all invariants/panics are there for a A

svn commit: r244265 - in head/contrib/openbsm: . bin/auditdistd config etc sys/bsm

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 14:59:00 2012 New Revision: 244265 URL: http://svnweb.freebsd.org/changeset/base/244265 Log: Merge OpenBSM 1.2-alpha3 from the vendor branch to 10-CURRENT; this version included various upstreamed patches from the FreeBSD base to make OpenBSM compile more

svn commit: r244267 - in head/sys: conf security/audit

2012-12-15 Thread Robert Watson
Author: rwatson Date: Sat Dec 15 15:21:09 2012 New Revision: 244267 URL: http://svnweb.freebsd.org/changeset/base/244267 Log: Four .c files from OpenBSM are used, in modified form, by the kernel to implement the BSM audit trail format. Rename the kernel versions of the files to match the

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

2012-12-15 Thread Mikolaj Golub
Author: trociny Date: Sat Dec 15 17:19:36 2012 New Revision: 244268 URL: http://svnweb.freebsd.org/changeset/base/244268 Log: In pfioctl, if the permission checks failed we returned with vnet context set. As the checks don't require vnet context, this is fixed by setting vnet after the

svn commit: r244269 - head/tools/tools/sysbuild

2012-12-15 Thread Poul-Henning Kamp
Author: phk Date: Sat Dec 15 17:54:29 2012 New Revision: 244269 URL: http://svnweb.freebsd.org/changeset/base/244269 Log: Update to the new and brighter pkg world Modified: head/tools/tools/sysbuild/sysbuild.sh Modified: head/tools/tools/sysbuild/sysbuild.sh

Re: svn commit: r244269 - head/tools/tools/sysbuild

2012-12-15 Thread Garrett Cooper
On Dec 15, 2012, at 9:54 AM, Poul-Henning Kamp wrote: Author: phk Date: Sat Dec 15 17:54:29 2012 New Revision: 244269 URL: http://svnweb.freebsd.org/changeset/base/244269 Log: Update to the new and brighter pkg world If you have a ports tree, setting the appropriate variables

svn commit: r244270 - head/lib/libdevstat

2012-12-15 Thread Mikolaj Golub
Author: trociny Date: Sat Dec 15 18:19:48 2012 New Revision: 244270 URL: http://svnweb.freebsd.org/changeset/base/244270 Log: New devstat metrics for devstat_compute_statistics(): DSM_TOTAL_DURATION DSM_TOTAL_DURATION_READ DSM_TOTAL_DURATION_WRITE DSM_TOTAL_DURATION_FREE

svn commit: r244271 - head/usr.sbin/iostat

2012-12-15 Thread Mikolaj Golub
Author: trociny Date: Sat Dec 15 18:21:09 2012 New Revision: 244271 URL: http://svnweb.freebsd.org/changeset/base/244271 Log: Change `iostat -Ix` to display total duration of transactions instead of average duration, and total busy time instead of %. This looks more useful when one runs

Re: svn commit: r244269 - head/tools/tools/sysbuild

2012-12-15 Thread Poul-Henning Kamp
In message 7855873a-ac30-4511-aa9b-f9b0e380f...@gmail.com, Garrett Cooper wri tes: If you have a ports tree, setting the appropriate variables and then running make check-already-installed is both forwards and backwards compatible. Uhm, I'm not sure I understand how this would

Re: svn commit: r244269 - head/tools/tools/sysbuild

2012-12-15 Thread Garrett Cooper
On Dec 15, 2012, at 10:24 AM, Poul-Henning Kamp wrote: In message 7855873a-ac30-4511-aa9b-f9b0e380f...@gmail.com, Garrett Cooper wri tes: If you have a ports tree, setting the appropriate variables and then running make check-already-installed is both forwards and

svn commit: r244272 - head/sys/netinet6

2012-12-15 Thread Andrey V. Elsukov
Author: ae Date: Sat Dec 15 20:04:24 2012 New Revision: 244272 URL: http://svnweb.freebsd.org/changeset/base/244272 Log: In additional to the tailq of IPv6 addresses add the hash table. For now use 256 buckets and fnv_hash function. Use xor'ed 32-bit s6_addr32 parts of in6_addr structure as

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

2012-12-15 Thread Pawel Jakub Dawidek
On Wed, Dec 12, 2012 at 04:02:58PM -0800, Navdeep Parhar wrote: On 12/12/12 14:48, Alfred Perlstein wrote: On 12/12/12 2:29 PM, Andriy Gapon wrote: Now we get a new middle-ground: get both worse performance (because KASSERTs are compiled in) and a risk of harming your data (because

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

2012-12-15 Thread Pawel Jakub Dawidek
On Wed, Dec 12, 2012 at 04:41:45PM -0800, Adrian Chadd wrote: If a kassert is inviolable, then make it a panic() and include in the default kernel. It is inviolable. We don't include it in default kernel as panic for performance reasons, but it doesn't mean it can happen. If it happens it is

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

2012-12-15 Thread Pawel Jakub Dawidek
On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: Like what if I do gzipp'd kernel dumps next? (on my todo list) How many people will complain that gzip is too dangerous in kernel context foo foo Not sure, I guess I'll find out? Well... :) savecore(8) has an option to

svn commit: r244273 - head/contrib/gcc

2012-12-15 Thread Andrew Turner
Author: andrew Date: Sat Dec 15 21:06:14 2012 New Revision: 244273 URL: http://svnweb.freebsd.org/changeset/base/244273 Log: Fix a comment in an asm block to work with compilers other than GCC Modified: head/contrib/gcc/longlong.h Modified: head/contrib/gcc/longlong.h

svn commit: r244274 - head/contrib/binutils/gas/config

2012-12-15 Thread Andrew Turner
Author: andrew Date: Sat Dec 15 21:12:13 2012 New Revision: 244274 URL: http://svnweb.freebsd.org/changeset/base/244274 Log: Recognise vfpv2 as a value for the ARM .fpu asm directive. Clang generates these even when building soft floating-point code Submitted by: Daisuke Aoyama aoyama AT

svn commit: r244276 - head/contrib/gcc/config/arm

2012-12-15 Thread Andrew Turner
Author: andrew Date: Sat Dec 15 21:24:31 2012 New Revision: 244276 URL: http://svnweb.freebsd.org/changeset/base/244276 Log: Don't define CTORS_SECTION_ASM_OP and DTORS_SECTION_ASM_OP on arm when built with clang. When these are defined the lists are defined similar to: asm(.section

svn commit: r244277 - head/gnu/usr.bin/binutils/as

2012-12-15 Thread Andrew Turner
Author: andrew Date: Sat Dec 15 21:33:12 2012 New Revision: 244277 URL: http://svnweb.freebsd.org/changeset/base/244277 Log: Also remove -Werror on arm with clang as there are warnings. Modified: head/gnu/usr.bin/binutils/as/Makefile Modified: head/gnu/usr.bin/binutils/as/Makefile

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

2012-12-15 Thread Andriy Gapon
on 15/12/2012 23:03 Pawel Jakub Dawidek said the following: On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: Like what if I do gzipp'd kernel dumps next? (on my todo list) How many people will complain that gzip is too dangerous in kernel context foo foo Not sure, I

Re: svn commit: r244277 - head/gnu/usr.bin/binutils/as

2012-12-15 Thread Eitan Adler
On 15 December 2012 16:33, Andrew Turner and...@freebsd.org wrote: Author: andrew Date: Sat Dec 15 21:33:12 2012 New Revision: 244277 URL: http://svnweb.freebsd.org/changeset/base/244277 Log: Also remove -Werror on arm with clang as there are warnings. I think it makes more sense to

svn commit: r244278 - head/sys/boot/arm/uboot

2012-12-15 Thread Andrew Turner
Author: andrew Date: Sat Dec 15 21:47:05 2012 New Revision: 244278 URL: http://svnweb.freebsd.org/changeset/base/244278 Log: Ignore a warning in ubldr where clang doesn't understand the %D printf specifier from libstand. Modified: head/sys/boot/arm/uboot/Makefile Modified:

Re: svn commit: r244278 - head/sys/boot/arm/uboot

2012-12-15 Thread Eitan Adler
On 15 December 2012 16:47, Andrew Turner and...@freebsd.org wrote: Author: andrew Date: Sat Dec 15 21:47:05 2012 New Revision: 244278 URL: http://svnweb.freebsd.org/changeset/base/244278 Log: Ignore a warning in ubldr where clang doesn't understand the %D printf specifier from

Re: svn commit: r244278 - head/sys/boot/arm/uboot

2012-12-15 Thread Garrett Cooper
On Dec 15, 2012, at 1:47 PM, Andrew Turner wrote: Author: andrew Date: Sat Dec 15 21:47:05 2012 New Revision: 244278 URL: http://svnweb.freebsd.org/changeset/base/244278 Log: Ignore a warning in ubldr where clang doesn't understand the %D printf specifier from libstand. Modified:

svn commit: r244279 - stable/9/usr.bin/ministat

2012-12-15 Thread Eitan Adler
Author: eadler Date: Sat Dec 15 21:57:34 2012 New Revision: 244279 URL: http://svnweb.freebsd.org/changeset/base/244279 Log: MFC r243079: Add option to suppress just the plot in ministat while still retaining the relative comparison (i.e., useful part). Approved by:

svn commit: r244280 - head/sys/dev/wbwd

2012-12-15 Thread Pawel Jakub Dawidek
Author: pjd Date: Sat Dec 15 22:26:16 2012 New Revision: 244280 URL: http://svnweb.freebsd.org/changeset/base/244280 Log: sbuf_trim() cannot be used on sbuf with drain function set. This fixes panic when listing sysctls on INVARIANTS-enabled kernel while having wbwd loaded. This panic

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

2012-12-15 Thread Alfred Perlstein
Your use case (small swap large ram) is exactly why I would like to try this. Do you object? Sent from my iPhone On Dec 15, 2012, at 1:03 PM, Pawel Jakub Dawidek p...@freebsd.org wrote: On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: Like what if I do gzipp'd kernel dumps

Re: svn commit: r244278 - head/sys/boot/arm/uboot

2012-12-15 Thread Andrew Turner
On Sat, 15 Dec 2012 16:51:36 -0500 Eitan Adler li...@eitanadler.com wrote: On 15 December 2012 16:47, Andrew Turner and...@freebsd.org wrote: Author: andrew Date: Sat Dec 15 21:47:05 2012 New Revision: 244278 URL: http://svnweb.freebsd.org/changeset/base/244278 Log: Ignore a

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

2012-12-15 Thread Pawel Jakub Dawidek
On Sat, Dec 15, 2012 at 02:33:37PM -0800, Alfred Perlstein wrote: Your use case (small swap large ram) is exactly why I would like to try this. Do you object? Let me quote myself, because you clearly missed my position: I'm not against this change, but I would not use it myself.

Re: svn commit: r244278 - head/sys/boot/arm/uboot

2012-12-15 Thread Andrew Turner
On Sat, 15 Dec 2012 13:57:02 -0800 Garrett Cooper yaneg...@gmail.com wrote: On Dec 15, 2012, at 1:47 PM, Andrew Turner wrote: Author: andrew Date: Sat Dec 15 21:47:05 2012 New Revision: 244278 URL: http://svnweb.freebsd.org/changeset/base/244278 Log: Ignore a warning in ubldr

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

2012-12-15 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sun Dec 16 00:20:16 2012 New Revision: 244281 URL: http://svnweb.freebsd.org/changeset/base/244281 Log: Fix comment to represent actual file purpose Spotted by: gavin@ Modified: head/sys/arm/conf/VERSATILEPB Modified: head/sys/arm/conf/VERSATILEPB

Re: svn commit: r244271 - head/usr.sbin/iostat

2012-12-15 Thread Adrian Chadd
Hi, People may have scripts based on the current output. You should have introduced a new parameter which modifies the output behaviour in the way you wanted, rather than modifying the existing behaviour. Please consider reverting your change (which is a good idea, btw) and adding a new

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

2012-12-15 Thread Peter Jeremy
[pruning the CC list] On 2012-Dec-15 21:52:03 +0100, Pawel Jakub Dawidek p...@freebsd.org wrote: On Wed, Dec 12, 2012 at 04:02:58PM -0800, Navdeep Parhar wrote: A KASSERT() really is for a condition that should never happen. and can't be practically recovered from. I have sort of mixed feelings

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

2012-12-15 Thread Peter Wemm
On Sat, Dec 15, 2012 at 8:07 PM, Peter Jeremy pe...@rulingia.com wrote: [pruning the CC list] On 2012-Dec-15 21:52:03 +0100, Pawel Jakub Dawidek p...@freebsd.org wrote: On Wed, Dec 12, 2012 at 04:02:58PM -0800, Navdeep Parhar wrote: A KASSERT() really is for a condition that should never

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

2012-12-15 Thread Ian Lepore
On Sat, 2012-12-15 at 20:36 -0800, Peter Wemm wrote: On Sat, Dec 15, 2012 at 8:07 PM, Peter Jeremy pe...@rulingia.com wrote: [pruning the CC list] On 2012-Dec-15 21:52:03 +0100, Pawel Jakub Dawidek p...@freebsd.org wrote: On Wed, Dec 12, 2012 at 04:02:58PM -0800, Navdeep Parhar wrote: A

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

2012-12-15 Thread Andriy Gapon
on 16/12/2012 07:00 Ian Lepore said the following: The question here isn't whether aborting or continuing beyond that point is a good idea. Some developer already made that choice by coding a KASSERT() instead of a panic(). The developer decided that a production machine should try to keep