svn commit: r310152 - head/sys/dev/cxgbe/common

2016-12-15 Thread Navdeep Parhar
Author: np Date: Fri Dec 16 06:30:07 2016 New Revision: 310152 URL: https://svnweb.freebsd.org/changeset/base/310152 Log: cxgbe(4): Fix typo in an unused macro. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_msg.h Modified:

svn commit: r310151 - head/sys/dev/cxgbe/firmware

2016-12-15 Thread Navdeep Parhar
Author: np Date: Fri Dec 16 06:25:51 2016 New Revision: 310151 URL: https://svnweb.freebsd.org/changeset/base/310151 Log: cxgbe(4): Changes to the default T6 firmware configuration file. - Disable features that are not supported or not used on FreeBSD. - Increase the RSS table slice per

svn commit: r310150 - head/sys/powerpc/powerpc

2016-12-15 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 16 04:47:29 2016 New Revision: 310150 URL: https://svnweb.freebsd.org/changeset/base/310150 Log: Fix disassembly by adding back some deleted lines. When importing for r309309, as part of conflict resolution, too much extra was removed, resulting in bad

svn commit: r310149 - head/sys/sys

2016-12-15 Thread Adrian Chadd
Author: adrian Date: Fri Dec 16 04:44:46 2016 New Revision: 310149 URL: https://svnweb.freebsd.org/changeset/base/310149 Log: Bump FreeBSD_version . Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ==

svn commit: r310148 - head/sys/net80211

2016-12-15 Thread Adrian Chadd
Author: adrian Date: Fri Dec 16 04:44:14 2016 New Revision: 310148 URL: https://svnweb.freebsd.org/changeset/base/310148 Log: [net80211] sigh, course I would miss a commit from the 11ac prep commit. Modified: head/sys/net80211/ieee80211.c Modified: head/sys/net80211/ieee80211.c

svn commit: r310147 - in head/sys: net net80211

2016-12-15 Thread Adrian Chadd
Author: adrian Date: Fri Dec 16 04:43:31 2016 New Revision: 310147 URL: https://svnweb.freebsd.org/changeset/base/310147 Log: [net80211] start laying down the foundation for 11ac support. This is a work in progress and some of this stuff may change; but hopefully I'm laying down enough

svn commit: r310146 - head/sys/powerpc/powerpc

2016-12-15 Thread Justin Hibbits
Author: jhibbits Date: Fri Dec 16 04:38:53 2016 New Revision: 310146 URL: https://svnweb.freebsd.org/changeset/base/310146 Log: Use the right bitwise OR operation for clearing single-step at trap time. DBCR0_IDM || DBCRO_IC yields 1, which in this register is DBCR0_FT, not what we want.

svn commit: r310145 - head/usr.bin/ident

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 02:09:48 2016 New Revision: 310145 URL: https://svnweb.freebsd.org/changeset/base/310145 Log: ident(1): Capsicumify Preopen input file list before entering Capsicum capability mode. Feedback by: allanjude@, bapt@, emaste@ (earlier versions) Sponsored

svn commit: r310144 - head/usr.bin/iconv

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 02:06:34 2016 New Revision: 310144 URL: https://svnweb.freebsd.org/changeset/base/310144 Log: iconv(1): Capsicumify This takes the usual shortcut of only sandboxing the last input file. It's a first cut and this program will be easy to adapt to sandbox all

svn commit: r310143 - head/usr.bin/hexdump

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 02:03:40 2016 New Revision: 310143 URL: https://svnweb.freebsd.org/changeset/base/310143 Log: hexdump(1): First cut capsicumification For now, only enter the sandbox for the last file processed (including stdin for zero-argument mode). Sandboxing all

svn commit: r310142 - head/usr.bin/ktrdump

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:59:28 2016 New Revision: 310142 URL: https://svnweb.freebsd.org/changeset/base/310142 Log: ktrdump(8): Capsicumify We restrict the (optional) input file and output files. It would be nice to restrict the KVM files, but that's up to libkvm. We wait

svn commit: r310141 - head/usr.bin/ministat

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:51:12 2016 New Revision: 310141 URL: https://svnweb.freebsd.org/changeset/base/310141 Log: ministat(1): Capsicumify Separate dataset opening from reading/parsing. The number of input files is already capped to a small number, so just open all input files

svn commit: r310140 - head/contrib/dma

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:48:55 2016 New Revision: 310140 URL: https://svnweb.freebsd.org/changeset/base/310140 Log: dma-mbox-create: Restrict with Capsicum The restriction here is pretty late and pretty minimal. We need a lot of authority to open password databases, and don't do

svn commit: r310139 - head/usr.bin/last

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:47:08 2016 New Revision: 310139 URL: https://svnweb.freebsd.org/changeset/base/310139 Log: Capsicumify last(1) Reviewed by: ed (earlier version), emaste (earlier version) Sponsored by: Dell EMC Isilon Differential Revision:

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

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:44:50 2016 New Revision: 310138 URL: https://svnweb.freebsd.org/changeset/base/310138 Log: vfprintf(3): Add support for kernel %b format This is a direct port of the kernel %b format. I'm unclear on if (more) non-portable printf extensions will be a

svn commit: r310137 - head/contrib/elftoolchain/libelf

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:42:51 2016 New Revision: 310137 URL: https://svnweb.freebsd.org/changeset/base/310137 Log: gelf_getphdr: Allow extended indices Needed for 'readelf -l' of extended phnum files. (Parity with GNU binutils.) Reviewed by: no one, unfortunately

svn commit: r310136 - head/contrib/elftoolchain/libelf

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:39:06 2016 New Revision: 310136 URL: https://svnweb.freebsd.org/changeset/base/310136 Log: libelf: Fix extended numbering detection Extended numbering is used for any of these fields overflowing. Reviewed by: emaste@ Sponsored by: Dell EMC Isilon

svn commit: r310135 - head/lib/libcapsicum

2016-12-15 Thread Conrad E. Meyer
Author: cem Date: Fri Dec 16 01:37:44 2016 New Revision: 310135 URL: https://svnweb.freebsd.org/changeset/base/310135 Log: capsicum_helpers: Add LOOKUP flag Add a helper routine for opening a directory that is restricted to being used for opening relative files as stdio streams. I

svn commit: r310134 - in stable: 10/include 11/include

2016-12-15 Thread John Baldwin
Author: jhb Date: Fri Dec 16 01:14:00 2016 New Revision: 310134 URL: https://svnweb.freebsd.org/changeset/base/310134 Log: MFC 309274: Use the correct name for the GCC macro indicating max_align_t is defined. Modified: stable/11/include/stddef.h Directory Properties: stable/11/ (props

svn commit: r310134 - in stable: 10/include 11/include

2016-12-15 Thread John Baldwin
Author: jhb Date: Fri Dec 16 01:14:00 2016 New Revision: 310134 URL: https://svnweb.freebsd.org/changeset/base/310134 Log: MFC 309274: Use the correct name for the GCC macro indicating max_align_t is defined. Modified: stable/10/include/stddef.h Directory Properties: stable/10/ (props

svn commit: r310133 - in stable: 10/sys/mips/mips 11/sys/mips/mips

2016-12-15 Thread John Baldwin
Author: jhb Date: Fri Dec 16 01:06:35 2016 New Revision: 310133 URL: https://svnweb.freebsd.org/changeset/base/310133 Log: MFC 308690: Sync instruction cache's after writing user breakpoints on MIPS. Add an implementation for pmaps_sync_icache() on MIPS that sync's the instruction cache

svn commit: r310133 - in stable: 10/sys/mips/mips 11/sys/mips/mips

2016-12-15 Thread John Baldwin
Author: jhb Date: Fri Dec 16 01:06:35 2016 New Revision: 310133 URL: https://svnweb.freebsd.org/changeset/base/310133 Log: MFC 308690: Sync instruction cache's after writing user breakpoints on MIPS. Add an implementation for pmaps_sync_icache() on MIPS that sync's the instruction cache

svn commit: r310132 - head/contrib/binutils/bfd

2016-12-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 16 00:35:59 2016 New Revision: 310132 URL: https://svnweb.freebsd.org/changeset/base/310132 Log: libbfd: make sure variables are initialized before using them. Initialize l_sec_contents to make sure that free(l_sec_contents) is called on valid pointers.

svn commit: r310131 - head/contrib/binutils/bfd

2016-12-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 16 00:23:59 2016 New Revision: 310131 URL: https://svnweb.freebsd.org/changeset/base/310131 Log: libbfd: drop unnecessary variable increment. Do not increment `s' before it is initialized. At the time of the increment, `s' is otherwise unused anyway.

svn commit: r310130 - head/sys/mips/conf

2016-12-15 Thread Adrian Chadd
Author: adrian Date: Fri Dec 16 00:04:32 2016 New Revision: 310130 URL: https://svnweb.freebsd.org/changeset/base/310130 Log: [ar933x] don't waste memory/flash; drop the UMTX_CHAINS count down to 16. Modified: head/sys/mips/conf/std.AR933X Modified: head/sys/mips/conf/std.AR933X

svn commit: r310129 - stable/11/sys/kern

2016-12-15 Thread John Baldwin
Author: jhb Date: Thu Dec 15 22:39:52 2016 New Revision: 310129 URL: https://svnweb.freebsd.org/changeset/base/310129 Log: MFC 308565: Allow scheduling during early boot. - Send IPI wakeups once SMP is started even if cold is true. - Permit preemptions when cold is true. These

svn commit: r310128 - in head: sys/conf tools/build/options

2016-12-15 Thread Ed Maste
Author: emaste Date: Thu Dec 15 21:26:58 2016 New Revision: 310128 URL: https://svnweb.freebsd.org/changeset/base/310128 Log: Add WITH_REPRODUCIBLE_BUILD src.conf(5) knob to disable kernel metadata The kernel builds reproducibly, except for the time, date, user, and hostname baked into

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

2016-12-15 Thread Ed Schouten
Hi Conrad, [ + Christian Schwarz ] 2016-12-15 21:00 GMT+01:00 Conrad Meyer : > Can we please slap names on these numbers? Even if we keep the > existing numeric values? Christian and I exchanged some emails the other day in which we discussed the option of adding libc

svn commit: r310127 - stable/10/tools/build/mk

2016-12-15 Thread Ngie Cooper
Author: ngie Date: Thu Dec 15 20:13:40 2016 New Revision: 310127 URL: https://svnweb.freebsd.org/changeset/base/310127 Log: MFstable/11 r310126: MFC r309602: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no Modified:

svn commit: r310126 - stable/11/tools/build/mk

2016-12-15 Thread Ngie Cooper
Author: ngie Date: Thu Dec 15 20:10:20 2016 New Revision: 310126 URL: https://svnweb.freebsd.org/changeset/base/310126 Log: MFC r309602: Remove svn[lite]{bench,fsfs} if either MK_SVN == no or MK_SVNLITE == no Modified: stable/11/tools/build/mk/OptionalObsoleteFiles.inc Directory

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

2016-12-15 Thread Conrad Meyer
Can we please slap names on these numbers? Even if we keep the existing numeric values? Thanks, Conrad On Thu, Dec 15, 2016 at 7:45 AM, Ed Schouten wrote: > Author: ed > Date: Thu Dec 15 15:45:11 2016 > New Revision: 310116 > URL:

Re: svn commit: r310086 - head/sys/dev/xen/blkfront

2016-12-15 Thread Dimitry Andric
On 15 Dec 2016, at 08:01, Colin Percival wrote: > > On 12/14/16 11:28, Dimitry Andric wrote: >> Log: >> In xbd_connect(), use correct scanf conversion specifiers for the >> feature_barrier and feature_flush variables. Otherwise, adjacent >> variables on the stack, such

Re: svn commit: r309818 - in head: etc/defaults etc/rc.d sbin sbin/decryptcore sbin/dumpon sbin/savecore share/man/man5 sys/amd64/amd64 sys/arm/arm sys/arm64/arm64 sys/conf sys/ddb sys/dev/null sys/ge

2016-12-15 Thread Gleb Kurtsou
On (10/12/2016 16:20), Konrad Witaszczyk wrote: > Author: def > Date: Sat Dec 10 16:20:39 2016 > New Revision: 309818 > URL: https://svnweb.freebsd.org/changeset/base/309818 > > Log: > Add support for encrypted kernel crash dumps. Thank you! I'm very glad to see it committed.

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

2016-12-15 Thread Andrew Turner
Author: andrew Date: Thu Dec 15 17:36:54 2016 New Revision: 310124 URL: https://svnweb.freebsd.org/changeset/base/310124 Log: Add -fPIC to the ubldr build. Without this the self relocation code will try to use an absolute address in a switch statement, jumping to an invalid memory location.

svn commit: r310122 - head/sys/arm/allwinner/a64

2016-12-15 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 15 17:26:16 2016 New Revision: 310122 URL: https://svnweb.freebsd.org/changeset/base/310122 Log: Fix building arm64 kernel after r310117 Pointy hat: me MFC after:3 days Modified: head/sys/arm/allwinner/a64/a64_padconf.c

svn commit: r310121 - in stable/10: bin/ps lib/libkvm sys/compat/freebsd32 sys/kern sys/sys usr.bin/procstat usr.bin/top

2016-12-15 Thread Eric van Gyzen
Author: vangyzen Date: Thu Dec 15 16:52:17 2016 New Revision: 310121 URL: https://svnweb.freebsd.org/changeset/base/310121 Log: MFC r309676 Export the whole thread name in kinfo_proc kinfo_proc::ki_tdname is three characters shorter than thread::td_name. Add a ki_moretdname field

svn commit: r310120 - in stable/11: bin/ps lib/libkvm sys/compat/freebsd32 sys/kern sys/sys usr.bin/procstat usr.bin/top

2016-12-15 Thread Eric van Gyzen
Author: vangyzen Date: Thu Dec 15 16:51:33 2016 New Revision: 310120 URL: https://svnweb.freebsd.org/changeset/base/310120 Log: MFC r309676 Export the whole thread name in kinfo_proc kinfo_proc::ki_tdname is three characters shorter than thread::td_name. Add a ki_moretdname field

svn commit: r310119 - svnadmin/conf

2016-12-15 Thread Pedro F. Giffuni
Author: pfg Date: Thu Dec 15 16:27:39 2016 New Revision: 310119 URL: https://svnweb.freebsd.org/changeset/base/310119 Log: Give a warm welcome to Piotr Stefaniak to the src committer team. He will be working on much needed improvements to our indent(1) utility. Approved by: core

svn commit: r310118 - head/bin/ls/tests

2016-12-15 Thread Alan Somers
Author: asomers Date: Thu Dec 15 16:13:52 2016 New Revision: 310118 URL: https://svnweb.freebsd.org/changeset/base/310118 Log: Fix ls_tests:o_flag with ZFS TMPDIR Unlike UFS or TMPFS, ZFS sets uarch automatically whenever a file is updated. The test must explicitly clear uarch to be

svn commit: r310117 - in head/sys/arm/allwinner: . a10 a13 a20 a31 a64 h3

2016-12-15 Thread Emmanuel Vadot
Author: manu Date: Thu Dec 15 15:52:13 2016 New Revision: 310117 URL: https://svnweb.freebsd.org/changeset/base/310117 Log: Add information about interrupts in the Allwinner padconf files and correct some pin numbering. While here switch to my freebsd mail address in the copyright.

svn commit: r310116 - head/sys/kern

2016-12-15 Thread Ed Schouten
Author: ed Date: Thu Dec 15 15:45:11 2016 New Revision: 310116 URL: https://svnweb.freebsd.org/changeset/base/310116 Log: Document the existence of the {0, 6, ...} sysctl. Modified: head/sys/kern/kern_sysctl.c Modified: head/sys/kern/kern_sysctl.c

svn commit: r310115 - in vendor/libarchive/dist: . build build/autoconf cat cpio cpio/test libarchive libarchive/test tar/test

2016-12-15 Thread Martin Matuska
Author: mm Date: Thu Dec 15 15:35:53 2016 New Revision: 310115 URL: https://svnweb.freebsd.org/changeset/base/310115 Log: Update vendor/libarchive to git to 30528ed7a9f479f1c363ee8cfa1c5eb4c7d9be10 Vendor bugfixes: PR 826: OpenSSL 1.1 support PR 830, 831, 833: Spelling fixes

svn commit: r310114 - head/sys/conf

2016-12-15 Thread Ed Maste
Author: emaste Date: Thu Dec 15 15:14:02 2016 New Revision: 310114 URL: https://svnweb.freebsd.org/changeset/base/310114 Log: newvers.sh: correct typo in comment Submitted by: lidl Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r310113 - head/sys/arm/broadcom/bcm2835

2016-12-15 Thread Andrew Turner
Author: andrew Date: Thu Dec 15 13:31:44 2016 New Revision: 310113 URL: https://svnweb.freebsd.org/changeset/base/310113 Log: Directly include openfirm.h rather than through fdt_common.h as none of the latter file is needed. Sponsored by: ABT Systems Ltd Modified:

Re: svn commit: r310112 - head/sys/conf

2016-12-15 Thread Steven Hartland
Thanks for doing this :) On 15/12/2016 12:57, Ed Maste wrote: Author: emaste Date: Thu Dec 15 12:57:03 2016 New Revision: 310112 URL: https://svnweb.freebsd.org/changeset/base/310112 Log: newvers.sh: add option to eliminate kernel build metadata Build metadata (username, hostname,

svn commit: r310112 - head/sys/conf

2016-12-15 Thread Ed Maste
Author: emaste Date: Thu Dec 15 12:57:03 2016 New Revision: 310112 URL: https://svnweb.freebsd.org/changeset/base/310112 Log: newvers.sh: add option to eliminate kernel build metadata Build metadata (username, hostname, etc.) prevents the FreeBSD kernel from building reproducibly. Add an

svn commit: r310111 - stable/10/sys/vm

2016-12-15 Thread Konstantin Belousov
Author: kib Date: Thu Dec 15 10:51:35 2016 New Revision: 310111 URL: https://svnweb.freebsd.org/changeset/base/310111 Log: MFC r309709: Move map_generation snapshot value into struct faultstate. Modified: stable/10/sys/vm/vm_fault.c Directory Properties: stable/10/ (props changed)

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

2016-12-15 Thread Andriy Gapon
On 14/12/2016 21:49, Alexander Motin wrote: > On 14.12.2016 14:03, Andriy Gapon wrote: >> On 08/12/2016 17:58, Alexander Motin wrote: >>> This change switches zio_timestamp_compare() from comparing uninitialized >>> io_offset to really populated io_bookmark values. I haven't decided yet >>>

svn commit: r310110 - stable/10/sys/vm

2016-12-15 Thread Konstantin Belousov
Author: kib Date: Thu Dec 15 10:47:35 2016 New Revision: 310110 URL: https://svnweb.freebsd.org/changeset/base/310110 Log: MFC r309708: Style. Modified: stable/10/sys/vm/phys_pager.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/vm/phys_pager.c

svn commit: r310109 - stable/11/sys/vm

2016-12-15 Thread Konstantin Belousov
Author: kib Date: Thu Dec 15 10:44:45 2016 New Revision: 310109 URL: https://svnweb.freebsd.org/changeset/base/310109 Log: MFC r309709: Move map_generation snapshot value into struct faultstate. Modified: stable/11/sys/vm/vm_fault.c Directory Properties: stable/11/ (props changed)

svn commit: r310108 - stable/11/sys/vm

2016-12-15 Thread Konstantin Belousov
Author: kib Date: Thu Dec 15 10:42:14 2016 New Revision: 310108 URL: https://svnweb.freebsd.org/changeset/base/310108 Log: MFC r309708: Style. Modified: stable/11/sys/vm/phys_pager.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/vm/phys_pager.c

svn commit: r310106 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-12-15 Thread Alexander Motin
Author: mav Date: Thu Dec 15 08:11:32 2016 New Revision: 310106 URL: https://svnweb.freebsd.org/changeset/base/310106 Log: MFC 309714: Fix spa_alloc_tree sorting by offset in r305331. Original commit "7090 zfs should improve allocation order" declares alloc queue sorted by time and

svn commit: r310105 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-12-15 Thread Alexander Motin
Author: mav Date: Thu Dec 15 08:10:47 2016 New Revision: 310105 URL: https://svnweb.freebsd.org/changeset/base/310105 Log: MFC 309714: Fix spa_alloc_tree sorting by offset in r305331. Original commit "7090 zfs should improve allocation order" declares alloc queue sorted by time and

svn commit: r310104 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs

2016-12-15 Thread Alexander Motin
Author: mav Date: Thu Dec 15 08:03:16 2016 New Revision: 310104 URL: https://svnweb.freebsd.org/changeset/base/310104 Log: Revert r310023 for now. After another look my new variable mapping was not exactly right. Modified: head/sys/cddl/compat/opensolaris/sys/kmem.h