svn commit: r237049 - in head/sys: netinet netinet6

2012-06-14 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 14 06:54:48 2012 New Revision: 237049 URL: http://svn.freebsd.org/changeset/base/237049 Log: Pass flowid explicitly through the stack instead of taking it from the mbuf chain at different places. While there: Fix several bugs related to VRFs. MFC after: 3

svn commit: r237057 - head/sys/geom/part

2012-06-14 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 14 11:17:54 2012 New Revision: 237057 URL: http://svn.freebsd.org/changeset/base/237057 Log: Always reconstruct partition entries in the PMBR when Boot Camp is disabled. This helps to easily recover from situations when PMBR is damaged and contains no entries.

svn commit: r237058 - head/libexec/rtld-elf

2012-06-14 Thread Konstantin Belousov
Author: kib Date: Thu Jun 14 11:20:22 2012 New Revision: 237058 URL: http://svn.freebsd.org/changeset/base/237058 Log: Eliminate the static buffer used to read the first page of the mapped object, and eliminate the pread(2) call as well [1]. Mmap the first page of the object temporaly, and

svn commit: r237061 - head/lib/libc/gen

2012-06-14 Thread Konstantin Belousov
Author: kib Date: Thu Jun 14 12:28:43 2012 New Revision: 237061 URL: http://svn.freebsd.org/changeset/base/237061 Log: Make sure that fstab fd is not leaked on exec. PR: kern/169023 Submitted by: Jukka Ukkonen jau iki fi MFC after:1 week Modified: head/lib/libc/gen/fstab.c

svn commit: r237063 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 12:37:41 2012 New Revision: 237063 URL: http://svn.freebsd.org/changeset/base/237063 Log: Style. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r237065 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 12:41:21 2012 New Revision: 237065 URL: http://svn.freebsd.org/changeset/base/237065 Log: When we are closing capabilities during exec, we want to call mq_fdclose() on the underlying object and not on the capability itself. Similar bug was fixed in r236853.

svn commit: r237066 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 12:43:37 2012 New Revision: 237066 URL: http://svn.freebsd.org/changeset/base/237066 Log: Remove code duplication from fdclosexec(), which was the reason of the bug fixed in r237065. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified:

svn commit: r237069 - head/sys/arm/include

2012-06-14 Thread Warner Losh
Author: imp Date: Thu Jun 14 14:38:55 2012 New Revision: 237069 URL: http://svn.freebsd.org/changeset/base/237069 Log: Defines for parsing linux ATAGs lists. Added: head/sys/arm/include/atags.h (contents, props changed) Added: head/sys/arm/include/atags.h

svn commit: r237070 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 15:21:57 2012 New Revision: 237070 URL: http://svn.freebsd.org/changeset/base/237070 Log: Style fixes. Reported by: bde MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r237071 - head/sys/sys

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 15:23:51 2012 New Revision: 237071 URL: http://svn.freebsd.org/changeset/base/237071 Log: Explicitly check if 'fd' is less than 0 instead of using cast-to-unsinged hack. MFC after:1 month Modified: head/sys/sys/filedesc.h Modified:

svn commit: r237072 - head/sys/sys

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 15:24:45 2012 New Revision: 237072 URL: http://svn.freebsd.org/changeset/base/237072 Log: Add FILEDESC_UNLOCK_ASSERT() macro which asserts that the filedesc is not being held by the current thread (at least exclusively). MFC after:1 month Modified:

svn commit: r237073 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 15:26:23 2012 New Revision: 237073 URL: http://svn.freebsd.org/changeset/base/237073 Log: Assert that the filedesc lock is not held when closef() is called. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r237075 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 15:34:10 2012 New Revision: 237075 URL: http://svn.freebsd.org/changeset/base/237075 Log: Style fixes and assertions improvements. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r237076 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 15:35:14 2012 New Revision: 237076 URL: http://svn.freebsd.org/changeset/base/237076 Log: - Assert that the filedesc lock is being held when fdisused() is called. - Fix white spaces. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified:

svn commit: r237077 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 15:37:15 2012 New Revision: 237077 URL: http://svn.freebsd.org/changeset/base/237077 Log: Simplify the code by making more use of the fdtofp() function. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r237079 - in head/sys/dev/usb: . quirk

2012-06-14 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jun 14 16:20:19 2012 New Revision: 237079 URL: http://svn.freebsd.org/changeset/base/237079 Log: Add more quirks for USB MIDI adapters. Obtained from:Clemens Ladisch MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c

svn commit: r237080 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 16:23:16 2012 New Revision: 237080 URL: http://svn.freebsd.org/changeset/base/237080 Log: Assert that the filedesc lock is being held when the fdunwrap() function is called. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified:

svn commit: r237081 - head/sys/sys

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 16:24:03 2012 New Revision: 237081 URL: http://svn.freebsd.org/changeset/base/237081 Log: Explicitly assert that the filedesc lock is held when the fget_locked() function is called. MFC after:1 month Modified: head/sys/sys/filedesc.h Modified:

svn commit: r237082 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 16:25:10 2012 New Revision: 237082 URL: http://svn.freebsd.org/changeset/base/237082 Log: Remove fdtofp() function and use fget_locked(), which works exactly the same. MFC after:1 month Modified: head/sys/kern/kern_descrip.c Modified:

svn commit: r237084 - head/sys/kern

2012-06-14 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 14 17:32:58 2012 New Revision: 237084 URL: http://svn.freebsd.org/changeset/base/237084 Log: Update comment. MFC after:1 month Modified: head/sys/kern/kern_event.c Modified: head/sys/kern/kern_event.c

svn commit: r237085 - head/sys/amd64/amd64

2012-06-14 Thread Alan Cox
Author: alc Date: Thu Jun 14 17:40:49 2012 New Revision: 237085 URL: http://svn.freebsd.org/changeset/base/237085 Log: Correctly identify the function in a KASSERT(). MFC after:3 days Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c

svn commit: r237086 - head/sys/amd64/amd64

2012-06-14 Thread Alan Cox
Author: alc Date: Thu Jun 14 17:47:54 2012 New Revision: 237086 URL: http://svn.freebsd.org/changeset/base/237086 Log: Update a couple comments to reflect r235598. X-MFC after: r235598 Modified: head/sys/amd64/amd64/pmap.c Modified: head/sys/amd64/amd64/pmap.c

svn commit: r237089 - head/sys/arm/xscale/pxa

2012-06-14 Thread Warner Losh
Author: imp Date: Thu Jun 14 18:37:00 2012 New Revision: 237089 URL: http://svn.freebsd.org/changeset/base/237089 Log: Fix missing straggler for the move to parse_boot_param() Modified: head/sys/arm/xscale/pxa/pxa_machdep.c Modified: head/sys/arm/xscale/pxa/pxa_machdep.c

svn commit: r237098 - in head/gnu/lib: libgomp libstdc++

2012-06-14 Thread Marius Strobl
Author: marius Date: Thu Jun 14 20:27:28 2012 New Revision: 237098 URL: http://svn.freebsd.org/changeset/base/237098 Log: Turn on TLS support for arm on here as it is supported since r231618/ r231619 and working since r233106. Modified: head/gnu/lib/libgomp/config.h

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

2012-06-14 Thread Marius Strobl
Author: marius Date: Thu Jun 14 20:29:49 2012 New Revision: 237099 URL: http://svn.freebsd.org/changeset/base/237099 Log: Merge r236137 from x86: Enable GNU hash generation for dynamic ELF binaries. Modified: head/contrib/gcc/config/arm/freebsd.h Modified:

svn commit: r237101 - head/sys/dev/sym

2012-06-14 Thread Marius Strobl
Author: marius Date: Thu Jun 14 20:49:22 2012 New Revision: 237101 URL: http://svn.freebsd.org/changeset/base/237101 Log: Fix a braino in r236469; the number of DMA tags required for handling MAXPHYS should be based on PAGE_SIZE rather than SYM_CONF_DMA_BOUNDARY. While at it, reuse the

svn commit: r237102 - in head/sys/dev/usb: . serial

2012-06-14 Thread Marius Strobl
Author: marius Date: Thu Jun 14 21:16:19 2012 New Revision: 237102 URL: http://svn.freebsd.org/changeset/base/237102 Log: - Add support for the FT2232 based egnite Turtelizer 2 JTAG/RS232 Adapter. This includes adding support for skipping FTDI interfaces used for JTAG leaving them for

svn commit: r237107 - head/sys/dev/ata/chipsets

2012-06-14 Thread Marius Strobl
Author: marius Date: Thu Jun 14 22:19:23 2012 New Revision: 237107 URL: http://svn.freebsd.org/changeset/base/237107 Log: - As a baind-aid, disable ATAPI DMA when using ATA_CAM for these controllers as well as it causes the kernel to hang during boot. Reported and tested by: Kevin

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

2012-06-14 Thread Bruce Evans
On Thu, 14 Jun 2012, Pawel Jakub Dawidek wrote: Log: Style fixes. Reported by: bde MFC after: 1 month Thanks, but these are mostly not what I reported, and are mostly backwards. Modified: head/sys/kern/kern_descrip.c

svn commit: r237109 - in head/sys: amd64/conf i386/conf

2012-06-14 Thread Adrian Chadd
Author: adrian Date: Fri Jun 15 02:16:29 2012 New Revision: 237109 URL: http://svn.freebsd.org/changeset/base/237109 Log: Ok, ok. 802.11n can be on by default in GENERIC in -HEAD. God help me. Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/GENERIC Modified:

svn commit: r237110 - head/lib/libc/arm

2012-06-14 Thread Tim Kientzle
Author: kientzle Date: Fri Jun 15 03:57:16 2012 New Revision: 237110 URL: http://svn.freebsd.org/changeset/base/237110 Log: Per kib, since __flt_rounds is being added to FreeBSD 10, it belongs in FBSD_1.3. MFC after:1 week Modified: head/lib/libc/arm/Symbol.map Modified: