svn commit: r269324 - stable/10/share/mk

2014-07-31 Thread Rui Paulo
Author: rpaulo Date: Thu Jul 31 07:27:59 2014 New Revision: 269324 URL: http://svnweb.freebsd.org/changeset/base/269324 Log: MFC r268300: bsd.dep.mk: add support for generating DTrace header files from .d files. Modified: stable/10/share/mk/bsd.dep.mk Directory Properties:

Re: svn commit: r269323 - head/usr.bin/m4

2014-07-31 Thread Sergey Kandaurov
On 31 July 2014 09:56, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Thu Jul 31 05:56:15 2014 New Revision: 269323 URL: http://svnweb.freebsd.org/changeset/base/269323 Log: lower warning level to fix build with gcc Modified: head/usr.bin/m4/Makefile Modified:

svn commit: r269325 - in head/sys: cddl/contrib/opensolaris/common/util modules/dtrace/dtrace

2014-07-31 Thread Rui Paulo
Author: rpaulo Date: Thu Jul 31 08:07:23 2014 New Revision: 269325 URL: http://svnweb.freebsd.org/changeset/base/269325 Log: Copy strtolctype.h to sys/cddl/contrib/opensolaris/common/util to keep the kernel self-contained. Requested by: jhb Added:

svn commit: r269326 - head/lib/libc/stdio

2014-07-31 Thread Nick Hibma
Author: n_hibma Date: Thu Jul 31 08:28:42 2014 New Revision: 269326 URL: http://svnweb.freebsd.org/changeset/base/269326 Log: Fix the example: free the memory that was allocated by getline(). Modified: head/lib/libc/stdio/getline.3 Modified: head/lib/libc/stdio/getline.3

Re: svn commit: r269323 - head/usr.bin/m4

2014-07-31 Thread Baptiste Daroussin
On Thu, Jul 31, 2014 at 11:51:23AM +0400, Sergey Kandaurov wrote: On 31 July 2014 09:56, Baptiste Daroussin b...@freebsd.org wrote: Author: bapt Date: Thu Jul 31 05:56:15 2014 New Revision: 269323 URL: http://svnweb.freebsd.org/changeset/base/269323 Log: lower warning level to fix

Re: svn commit: r269134 - head/sys/vm

2014-07-31 Thread Andreas Tobler
On 31.07.14 06:35, Alan Cox wrote: On 07/30/2014 16:26, Andreas Tobler wrote: On 30.07.14 23:17, Alan Cox wrote: On 07/30/2014 15:15, Andreas Tobler wrote: On 30.07.14 21:54, Alan Cox wrote: On 07/30/2014 14:46, Alan Cox wrote: On 07/30/2014 13:58, Andreas Tobler wrote: Hi Alan, On

svn commit: r269327 - head/share/examples/hwpmc

2014-07-31 Thread George V. Neville-Neil
Author: gnn Date: Thu Jul 31 09:18:15 2014 New Revision: 269327 URL: http://svnweb.freebsd.org/changeset/base/269327 Log: Add an example program to show how to use libpmc from a program. This particular program attempts to use the TSC to measure how long certainly libpmc operations take.

svn commit: r269328 - head/sys/netinet

2014-07-31 Thread Steven Hartland
Author: smh Date: Thu Jul 31 09:18:29 2014 New Revision: 269328 URL: http://svnweb.freebsd.org/changeset/base/269328 Log: Only check error if one could have been generated Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c

svn commit: r269334 - stable/10/usr.sbin/ctld

2014-07-31 Thread Warren Block
Author: wblock (doc committer) Date: Thu Jul 31 14:53:07 2014 New Revision: 269334 URL: http://svnweb.freebsd.org/changeset/base/269334 Log: MFC 268931: Correct spelling errors in ctld.8. While here, correct similar errors in ctl.conf.5 and fix a couple of contractions. Modified:

svn commit: r269337 - in head: sys/sys usr.bin/elfdump

2014-07-31 Thread Ed Maste
Author: emaste Date: Thu Jul 31 15:25:12 2014 New Revision: 269337 URL: http://svnweb.freebsd.org/changeset/base/269337 Log: elfdump: add EM_AARCH64 64-bit ARM machine architecture Modified: head/sys/sys/elf_common.h head/usr.bin/elfdump/elfdump.c Modified: head/sys/sys/elf_common.h

svn commit: r269338 - head/usr.bin/elfdump

2014-07-31 Thread Ed Maste
Author: emaste Date: Thu Jul 31 15:40:03 2014 New Revision: 269338 URL: http://svnweb.freebsd.org/changeset/base/269338 Log: elfdump: use existing ELF constants where available Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/elfdump/elfdump.c Modified:

Re: svn commit: r269143 - head/usr.bin/elfdump

2014-07-31 Thread Ed Maste
On 26 July 2014 16:00, Ian Lepore i...@freebsd.org wrote: + case EM_ARM: + switch (sht) { + case 0x7001: return SHT_ARM_EXIDX; + case 0x7002: return SHT_ARM_PREEMPTMAP; + case 0x7003:

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

2014-07-31 Thread Alan Cox
Author: alc Date: Thu Jul 31 16:17:30 2014 New Revision: 269339 URL: http://svnweb.freebsd.org/changeset/base/269339 Log: Correct a defect in r268591. In the implementation of the new function pmap_unwire(), the call to MOEA64_PVO_TO_PTE() must be performed before any changes are made to

svn commit: r269340 - head/sys/netinet

2014-07-31 Thread Steven Hartland
Author: smh Date: Thu Jul 31 16:43:56 2014 New Revision: 269340 URL: http://svnweb.freebsd.org/changeset/base/269340 Log: Ensure that IP's added to CARP always use the CARP MAC Previously there was a race condition between the address addition and associating it with the CARP which

svn commit: r269341 - head/sys/dev/mmc

2014-07-31 Thread Ian Lepore
Author: ian Date: Thu Jul 31 16:54:54 2014 New Revision: 269341 URL: http://svnweb.freebsd.org/changeset/base/269341 Log: Export an mmc or sd card's serial number from the mmc layer as an ivar. In the mmcsd layer use this value to populate disk-d_ident. Also set disk-d_descr to the full

svn commit: r269343 - in stable/9/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys contrib/opensolaris/uts/intel/dtrace dev/dtrace

2014-07-31 Thread Mark Johnston
Author: markj Date: Thu Jul 31 17:10:04 2014 New Revision: 269343 URL: http://svnweb.freebsd.org/changeset/base/269343 Log: MFC r264434: DTrace's pid provider works by inserting breakpoint instructions at probe sites and installing a hook at the kernel's trap handler. The fasttrap code

svn commit: r269342 - in stable/10/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys contrib/opensolaris/uts/intel/dtrace dev/dtrace

2014-07-31 Thread Mark Johnston
Author: markj Date: Thu Jul 31 17:10:03 2014 New Revision: 269342 URL: http://svnweb.freebsd.org/changeset/base/269342 Log: MFC r264434: DTrace's pid provider works by inserting breakpoint instructions at probe sites and installing a hook at the kernel's trap handler. The fasttrap code

svn commit: r269344 - head/share/man/man9

2014-07-31 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 31 17:18:40 2014 New Revision: 269344 URL: http://svnweb.freebsd.org/changeset/base/269344 Log: - Updated SYSCTL manual pages after recent changes to the kernel SYSCTL code. Added description of new macros and functions. - Merged dynamic and static SYSCTL

svn commit: r269345 - head/share/examples/hwpmc

2014-07-31 Thread George V. Neville-Neil
Author: gnn Date: Thu Jul 31 18:02:38 2014 New Revision: 269345 URL: http://svnweb.freebsd.org/changeset/base/269345 Log: Various style(9) and related fixes. Update the copyright to be more in line with the current version in our tree. Remove the ancient rcsid. Add a proper return from

Re: svn commit: r269134 - head/sys/vm

2014-07-31 Thread Alan Cox
On 07/31/2014 04:00, Andreas Tobler wrote: On 31.07.14 06:35, Alan Cox wrote: On 07/30/2014 16:26, Andreas Tobler wrote: On 30.07.14 23:17, Alan Cox wrote: On 07/30/2014 15:15, Andreas Tobler wrote: On 30.07.14 21:54, Alan Cox wrote: On 07/30/2014 14:46, Alan Cox wrote: On 07/30/2014 13:58,

svn commit: r269347 - in head/sys/fs: nfs nfsserver

2014-07-31 Thread Konstantin Belousov
Author: kib Date: Thu Jul 31 19:24:44 2014 New Revision: 269347 URL: http://svnweb.freebsd.org/changeset/base/269347 Log: Do not generate 1000 unique lock names for nfsrc hash chain locks. It overflows witness. Shorten the names of some nfs mutexes. Reported and tested by: pho

Re: svn commit: r269134 - head/sys/vm

2014-07-31 Thread Andreas Tobler
On 31.07.14 20:34, Alan Cox wrote: Here is a better fix for the problem in moea64_pvo_enter(). The original fix destroys and recreates the PTE in order to wire it. This new fix simply updates the PTE. In the case of moea_pvo_enter(), there is also no need to destroy and recreate the PTE.

svn commit: r269351 - head/usr.sbin/bsdconfig/share

2014-07-31 Thread Devin Teske
Author: dteske Date: Thu Jul 31 22:00:36 2014 New Revision: 269351 URL: http://svnweb.freebsd.org/changeset/base/269351 Log: Define a setvar() function for platforms using a shell unlike FreeBSD's sh(1) for `/bin/sh' (e.g., bash(1) which lacks a setvar definition). This is to improve

svn commit: r269352 - head/usr.sbin/bsdconfig/share

2014-07-31 Thread Devin Teske
Author: dteske Date: Thu Jul 31 22:05:18 2014 New Revision: 269352 URL: http://svnweb.freebsd.org/changeset/base/269352 Log: Fix a syntax error when running under bash(1) for portability. Modified: head/usr.sbin/bsdconfig/share/dialog.subr Modified: head/usr.sbin/bsdconfig/share/dialog.subr

svn commit: r269353 - head/sys/cam/scsi

2014-07-31 Thread Joerg Wunsch
Author: joerg Date: Thu Jul 31 22:09:50 2014 New Revision: 269353 URL: http://svnweb.freebsd.org/changeset/base/269353 Log: Fix breakage introduced by r256843: removing the SA_CCB_WAITING bit left some of the decisions based on its counterpart, SA_CCB_BUFFER_IO being random. As a result,

svn commit: r269354 - head/usr.sbin/bsdconfig/share

2014-07-31 Thread Devin Teske
Author: dteske Date: Thu Jul 31 22:13:31 2014 New Revision: 269354 URL: http://svnweb.freebsd.org/changeset/base/269354 Log: Update command and add check for edge-case. Modified: head/usr.sbin/bsdconfig/share/common.subr Modified: head/usr.sbin/bsdconfig/share/common.subr

svn commit: r269355 - head/tools/tools/nanobsd/dhcpd

2014-07-31 Thread Warner Losh
Author: imp Date: Thu Jul 31 22:32:39 2014 New Revision: 269355 URL: http://svnweb.freebsd.org/changeset/base/269355 Log: Fix a typo in the example script. Modified: head/tools/tools/nanobsd/dhcpd/README Modified: head/tools/tools/nanobsd/dhcpd/README

svn commit: r269356 - stable/10/sys/dev/cxgbe

2014-07-31 Thread Navdeep Parhar
Author: np Date: Thu Jul 31 23:04:41 2014 New Revision: 269356 URL: http://svnweb.freebsd.org/changeset/base/269356 Log: MFC r268971 and r269032. r268971: Simplify r267600, there's no need to distinguish between allocated and inlined mbufs. r269032: cxgbe(4): Keep track of the

svn commit: r269357 - stable/10/tools/tools/cxgbetool

2014-07-31 Thread Navdeep Parhar
Author: np Date: Thu Jul 31 23:09:22 2014 New Revision: 269357 URL: http://svnweb.freebsd.org/changeset/base/269357 Log: MFC r269106: Add a 'raw' parameter to the 'modinfo' subcommand. This is handy when trying to figure out why a QSFP+/SFP+ connector or cable wasn't identified

svn commit: r269358 - stable/9/sys/dev/cxgbe

2014-07-31 Thread Navdeep Parhar
Author: np Date: Thu Jul 31 23:14:59 2014 New Revision: 269358 URL: http://svnweb.freebsd.org/changeset/base/269358 Log: MFC r268971: Simplify r267600, there's no need to distinguish between allocated and inlined mbufs. Modified: stable/9/sys/dev/cxgbe/adapter.h

svn commit: r269359 - stable/9/tools/tools/cxgbetool

2014-07-31 Thread Navdeep Parhar
Author: np Date: Thu Jul 31 23:17:59 2014 New Revision: 269359 URL: http://svnweb.freebsd.org/changeset/base/269359 Log: MFC r269106: Add a 'raw' parameter to the 'modinfo' subcommand. This is handy when trying to figure out why a QSFP+/SFP+ connector or cable wasn't identified correctly

svn commit: r269360 - head/cddl/contrib/dtracetoolkit/Apps

2014-07-31 Thread George V. Neville-Neil
Author: gnn Date: Thu Jul 31 23:19:01 2014 New Revision: 269360 URL: http://svnweb.freebsd.org/changeset/base/269360 Log: Update shellsnoop to work on FreeBSD. Contributed by: skreuzer Modified: head/cddl/contrib/dtracetoolkit/Apps/shellsnoop Modified:

svn commit: r269361 - in head: lib/libstand sys/boot/libstand32

2014-07-31 Thread Marcel Moolenaar
Author: marcel Date: Thu Jul 31 23:25:13 2014 New Revision: 269361 URL: http://svnweb.freebsd.org/changeset/base/269361 Log: Add pkgfs, a file system implementation for reading files out of a compressed tarball, aka package. The file system assumes that the files are layed-out in the same

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

2014-07-31 Thread Warner Losh
Author: imp Date: Fri Aug 1 00:00:54 2014 New Revision: 269363 URL: http://svnweb.freebsd.org/changeset/base/269363 Log: NANO_OBJ shouldn't end with a '/', so remove it here. This makes the pathnames printed not have the dreaded // which makes it hard to cut and paste into an emacs find

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

2014-07-31 Thread Warner Losh
Author: imp Date: Fri Aug 1 00:00:46 2014 New Revision: 269362 URL: http://svnweb.freebsd.org/changeset/base/269362 Log: Use rm -x only on FreeBSD 10 and newer. Many people still build from older hosts, which still works, so don't break that gratuitously. MFC After: 3 days Modified:

Re: svn commit: r269319 - head/sys/dev/usb/net

2014-07-31 Thread Bjoern A. Zeeb
On 31 Jul 2014, at 03:34 , Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Thu Jul 31 03:34:25 2014 New Revision: 269319 URL: http://svnweb.freebsd.org/changeset/base/269319 Log: In copyright statement correct that the author is me, not Bill Paul. And you still hear the voices in

svn commit: r269364 - in head/sys/modules/cxgbe: . if_cxgbe iw_cxgbe t4_firmware t5_firmware tom

2014-07-31 Thread Navdeep Parhar
Author: np Date: Fri Aug 1 01:30:16 2014 New Revision: 269364 URL: http://svnweb.freebsd.org/changeset/base/269364 Log: Improve compliance with style.Makefile(5). MFC after:2 weeks Modified: head/sys/modules/cxgbe/Makefile head/sys/modules/cxgbe/if_cxgbe/Makefile

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

2014-07-31 Thread Alan Cox
Author: alc Date: Fri Aug 1 01:48:41 2014 New Revision: 269365 URL: http://svnweb.freebsd.org/changeset/base/269365 Log: Correct a long-standing problem in moea{,64}_pvo_enter() that was revealed by the combination of r268591 and r269134: When we attempt to add the wired attribute to an

svn commit: r269366 - in head/sys/modules/cxgbe: if_cxgbe iw_cxgbe tom

2014-07-31 Thread Navdeep Parhar
Author: np Date: Fri Aug 1 01:53:39 2014 New Revision: 269366 URL: http://svnweb.freebsd.org/changeset/base/269366 Log: List one file per line in the Makefiles. This makes it easier to read diffs when a file is added or removed. MFC after:2 weeks Modified:

Re: svn commit: r269319 - head/sys/dev/usb/net

2014-07-31 Thread Kevin Lo
On Fri, Aug 01, 2014 at 12:37:06AM +, Bjoern A. Zeeb wrote: On 31 Jul 2014, at 03:34 , Kevin Lo ke...@freebsd.org wrote: Author: kevlo Date: Thu Jul 31 03:34:25 2014 New Revision: 269319 URL: http://svnweb.freebsd.org/changeset/base/269319 Log: In copyright statement

svn commit: r269367 - stable/10/sys/kern

2014-07-31 Thread Konstantin Belousov
Author: kib Date: Fri Aug 1 04:05:13 2014 New Revision: 269367 URL: http://svnweb.freebsd.org/changeset/base/269367 Log: MFC r269205: Simplify the expression. Modified: stable/10/sys/kern/kern_proc.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r269368 - in head/sys/powerpc: aim include

2014-07-31 Thread Alan Cox
Author: alc Date: Fri Aug 1 04:53:35 2014 New Revision: 269368 URL: http://svnweb.freebsd.org/changeset/base/269368 Log: Retire PVO_EXECUTABLE. It's neither used nor set correctly. Modified: head/sys/powerpc/aim/mmu_oea.c head/sys/powerpc/include/pmap.h Modified: