Re: svn commit: r331606 - in head/sys: amd64/include i386/include x86/x86 x86/xen

2018-03-27 Thread Eitan Adler
On 27 March 2018 at 14:07, Jeff Roberson wrote: > On Tue, 27 Mar 2018, Li-Wen Hsu wrote: > >> On Mon, Mar 26, 2018 at 20:35:12 -1000, Jeff Roberson wrote: >>> >>> The patch has been on my branch for weeks and has been tested by a half >>> dozen people. I'm sorry it does not work for you. If you

Re: svn commit: r331209 - head

2018-03-27 Thread Alexey Dokuchaev
On Tue, Mar 27, 2018 at 09:48:43AM -0700, John Baldwin wrote: > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote: > > > On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote: > > > > > ... > > > > Right, but Joh

Re: svn commit: r331650 - in head/sys: amd64/amd64 amd64/ia32amd64/linux amd64/linux32 cddl/contrib/opensolaris/uts/intel/dtracecddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 i386/i386 i386/linux x86/inc.

2018-03-27 Thread O. Hartmann
On Tue, 27 Mar 2018 23:20:53 -0600 Cy Schubert wrote: > Have you disabled DDB in your kernel config? I have. No debugger. > > --- > Sent using a tiny phone keyboard. > Apologies for any typos and autocorrect. > Also, this old phone only supports top post. Apologies. > > Cy Schubert > or > T

RE: svn commit: r331650 - in head/sys: amd64/amd64 amd64/ia32amd64/linux amd64/linux32 cddl/contrib/opensolaris/uts/intel/dtracecddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 i386/i386 i386/linux x86/inc.

2018-03-27 Thread Cy Schubert
Have you disabled DDB in your kernel config? --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -Original Message- From: O. Hartma

Re: svn commit: r331650 - in head/sys: amd64/amd64 amd64/ia32 amd64/linux amd64/linux32 cddl/contrib/opensolaris/uts/intel/dtrace cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 i386/i386 i386/linux x86/in

2018-03-27 Thread O. Hartmann
On Tue, 27 Mar 2018 20:57:51 + (UTC) John Baldwin wrote: > Author: jhb > Date: Tue Mar 27 20:57:51 2018 > New Revision: 331650 > URL: https://svnweb.freebsd.org/changeset/base/331650 > > Log: > Remove very old and unused signal information codes. > > These have been supplanted by the

svn commit: r331660 - head/sys/sys

2018-03-27 Thread Mateusz Guzik
Author: mjg Date: Wed Mar 28 04:38:45 2018 New Revision: 331660 URL: https://svnweb.freebsd.org/changeset/base/331660 Log: seq: provide a comment explaining what seq is for and note 2 caveats Modified: head/sys/sys/seq.h Modified: head/sys/sys/seq.h ==

svn commit: r331659 - head/sys/sys

2018-03-27 Thread Mateusz Guzik
Author: mjg Date: Wed Mar 28 03:15:42 2018 New Revision: 331659 URL: https://svnweb.freebsd.org/changeset/base/331659 Log: seq: disable preemption around seq_write_* This is a long standing performance bug which happened to not cause trouble in practice due to rather limited use of these

svn commit: r331658 - head/sys/conf

2018-03-27 Thread Justin Hibbits
Author: jhibbits Date: Wed Mar 28 03:11:50 2018 New Revision: 331658 URL: https://svnweb.freebsd.org/changeset/base/331658 Log: Fix another optional standard. Build openpic_ofw again. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files.powerpc ===

svn commit: r331657 - head/sys/kern

2018-03-27 Thread Mateusz Guzik
Author: mjg Date: Wed Mar 28 03:07:02 2018 New Revision: 331657 URL: https://svnweb.freebsd.org/changeset/base/331657 Log: fd: tighten seq protected areas to not contain malloc/free Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r331656 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2018-03-27 Thread Conrad Meyer
Author: cem Date: Tue Mar 27 22:49:06 2018 New Revision: 331656 URL: https://svnweb.freebsd.org/changeset/base/331656 Log: ctfconvert: Fix minor memory leaks in STABS parser In an error case, free leaked objects. Does anything use STABS anymore? Probably not. Reported by: Coverity

svn commit: r331654 - head/sys/dev/nxge

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:14:39 2018 New Revision: 331654 URL: https://svnweb.freebsd.org/changeset/base/331654 Log: Don't access userspace directly from the kernel in nxge(4). Update to what the previous code seemed to be doing via the correct interfaces. Further issues exist i

Re: svn commit: r331606 - in head/sys: amd64/include i386/include x86/x86 x86/xen

2018-03-27 Thread Jeff Roberson
On Tue, 27 Mar 2018, Li-Wen Hsu wrote: On Mon, Mar 26, 2018 at 20:35:12 -1000, Jeff Roberson wrote: The patch has been on my branch for weeks and has been tested by a half dozen people. I'm sorry it does not work for you. If you reverted 331605 the change that followed should not have built p

svn commit: r331653 - head/sys/dev/sbni

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:06:18 2018 New Revision: 331653 URL: https://svnweb.freebsd.org/changeset/base/331653 Log: Copy flags over ifr_union directly rather than via casts through ifr_data. No functional change in practice. If the sbni driver supported 64-bit big-endian system

svn commit: r331652 - head/sys/dev/sbni

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:04:54 2018 New Revision: 331652 URL: https://svnweb.freebsd.org/changeset/base/331652 Log: Revert r331651 to recommit with proper commit metadata. Modified: head/sys/dev/sbni/if_sbni.c Modified: head/sys/dev/sbni/if_sbni.c ==

svn commit: r331651 - head/sys/dev/sbni

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 21:03:29 2018 New Revision: 331651 URL: https://svnweb.freebsd.org/changeset/base/331651 Log: Copy flags over ifr_union directly rather than via casts through ifr_data. No functional change in practice. If the sbni driver supported 64-bit big-endian system

svn commit: r331650 - in head/sys: amd64/amd64 amd64/ia32 amd64/linux amd64/linux32 cddl/contrib/opensolaris/uts/intel/dtrace cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 i386/i386 i386/linux x86/inc...

2018-03-27 Thread John Baldwin
Author: jhb Date: Tue Mar 27 20:57:51 2018 New Revision: 331650 URL: https://svnweb.freebsd.org/changeset/base/331650 Log: Remove very old and unused signal information codes. These have been supplanted by the MI signal information codes in since 7.0. The FPE_*_TRAP ones were deprecated

Re: svn commit: r331648 - in head/sys: net ofed/drivers/infiniband/ulp/ipoib

2018-03-27 Thread Brooks Davis
On Tue, Mar 27, 2018 at 08:51:49PM +, Brooks Davis wrote: > Author: brooks > Date: Tue Mar 27 20:51:49 2018 > New Revision: 331648 > URL: https://svnweb.freebsd.org/changeset/base/331648 > > Log: > Improve copy-and-pasted versions of SIOCGIFADDR. > > The original implementation used a r

svn commit: r331649 - in head/sys/dev/cxgbe: cxgbei tom

2018-03-27 Thread John Baldwin
Author: jhb Date: Tue Mar 27 20:54:57 2018 New Revision: 331649 URL: https://svnweb.freebsd.org/changeset/base/331649 Log: Use the offload transmit queue to set flags on TLS connections. Requests to modify the state of TLS connections need to be sent on the same queue as TLS record transm

svn commit: r331648 - in head/sys: net ofed/drivers/infiniband/ulp/ipoib

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 20:51:49 2018 New Revision: 331648 URL: https://svnweb.freebsd.org/changeset/base/331648 Log: Improve copy-and-pasted versions of SIOCGIFADDR. The original implementation used a reference to ifr_data and a cast to do the equivalent of accessing ifr_addr. Th

svn commit: r331644 - head/sys/net

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 18:55:39 2018 New Revision: 331644 URL: https://svnweb.freebsd.org/changeset/base/331644 Log: Fix a whitespace bug missed in refactoring prior to r331641. MFC with: r331641 Modified: head/sys/net/if.c Modified: head/sys/net/if.c ==

svn commit: r331642 - head/sys/dev/usb/input

2018-03-27 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 27 18:44:05 2018 New Revision: 331642 URL: https://svnweb.freebsd.org/changeset/base/331642 Log: Add support for right and middle click with integrated button to WSP USB trackpad driver. Submitted by: James Wright PR: 226961 MFC after:1 we

svn commit: r331641 - head/sys/net

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 18:26:50 2018 New Revision: 331641 URL: https://svnweb.freebsd.org/changeset/base/331641 Log: Fix access to ifru_buffer on freebsd32. Make all kernel accesses to ifru_buffer go via access functions which take the process ABI into account and use an appropri

svn commit: r331640 - in head/sys: compat/freebsd32 dev/pci kern

2018-03-27 Thread Konstantin Belousov
Author: kib Date: Tue Mar 27 18:05:51 2018 New Revision: 331640 URL: https://svnweb.freebsd.org/changeset/base/331640 Log: Fix several leaks of kernel stack data through paddings. It is random collection of fixes for issues not yet corrected, reported at https://tsyrklevi.ch/clang_analyze

Re: svn commit: r331209 - head

2018-03-27 Thread John Baldwin
On Tuesday, March 27, 2018 11:40:22 AM Ian Lepore wrote: > On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote: > > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > > > > > > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote: > > > > > > > > On Thursday, March 22, 201

Re: svn commit: r331209 - head

2018-03-27 Thread John Baldwin
On Tuesday, March 27, 2018 10:48:22 AM Rodney W. Grimes wrote: > [ Charset ISO-8859-1 unsupported, converting... ] > > On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote: > > > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > > > > > > > > On Thu, Mar 22, 2018 at 08:52:47AM -070

svn commit: r331639 - head/sys/opencrypto

2018-03-27 Thread Conrad Meyer
Author: cem Date: Tue Mar 27 17:58:00 2018 New Revision: 331639 URL: https://svnweb.freebsd.org/changeset/base/331639 Log: opencrypto: Add mechanism to pass multiple crypto blocks to some ciphers xforms that support processing of multiple blocks at a time (to support more efficient modes,

Re: svn commit: r331209 - head

2018-03-27 Thread Rodney W. Grimes
[ Charset ISO-8859-1 unsupported, converting... ] > On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote: > > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > > > > > > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote: > > > > > > > > On Thursday, March 22, 2018 04:39

Re: svn commit: r331209 - head

2018-03-27 Thread Rodney W. Grimes
> On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote: > > > On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote: > > > > > ... > > > > Right, but John had mentioned extra reboot *between* installkernel and > > >

Re: svn commit: r331209 - head

2018-03-27 Thread Ian Lepore
On Tue, 2018-03-27 at 09:48 -0700, John Baldwin wrote: > On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > > > > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote: > > > > > > On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote: > > > > > > > > > > > > > > .

svn commit: r331630 - head/stand/i386/zfsboot

2018-03-27 Thread Eugene Grosbein
Author: eugen Date: Tue Mar 27 17:37:08 2018 New Revision: 331630 URL: https://svnweb.freebsd.org/changeset/base/331630 Log: Fix instructions in the zfsboot manual page. zfsloader(8) fails to probe a slice containing ZFS pool if its second sector contains traces of BSD label (DISKMAGIC ==

svn commit: r331628 - head/tools/tools/crypto

2018-03-27 Thread Conrad Meyer
Author: cem Date: Tue Mar 27 17:34:28 2018 New Revision: 331628 URL: https://svnweb.freebsd.org/changeset/base/331628 Log: cryptotest: Add blake2 hashes to tool Sponsored by: Dell EMC Isilon Modified: head/tools/tools/crypto/cryptotest.c Modified: head/tools/tools/crypto/cryptotest.c ==

Re: svn commit: r331209 - head

2018-03-27 Thread John Baldwin
On Tuesday, March 27, 2018 05:19:12 AM Alexey Dokuchaev wrote: > On Thu, Mar 22, 2018 at 08:52:47AM -0700, John Baldwin wrote: > > On Thursday, March 22, 2018 04:39:38 AM Alexey Dokuchaev wrote: > > > > ... > > > Right, but John had mentioned extra reboot *between* installkernel and > > > installwo

svn commit: r331627 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bf crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto...

2018-03-27 Thread Jung-uk Kim
Author: jkim Date: Tue Mar 27 17:17:58 2018 New Revision: 331627 URL: https://svnweb.freebsd.org/changeset/base/331627 Log: Merge OpenSSL 1.0.2o. Modified: head/crypto/openssl/CHANGES head/crypto/openssl/Configure head/crypto/openssl/LICENSE head/crypto/openssl/Makefile head/crypto/op

Re: svn commit: r331602 - in head/sys/contrib/zstd: . contrib/gen_html contrib/meson contrib/seekable_format doc doc/images lib lib/common lib/compress lib/decompress lib/dictBuilder lib/legacy progra

2018-03-27 Thread John Baldwin
On Monday, March 26, 2018 11:55:00 PM Conrad Meyer wrote: > Author: cem > Date: Mon Mar 26 23:54:59 2018 > New Revision: 331602 > URL: https://svnweb.freebsd.org/changeset/base/331602 > > Log: > Update to Zstandard 1.3.4 > > Includes our local patch to conditionalize use of __builtin_clz(ll

svn commit: r331624 - head/sbin/savecore

2018-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Mar 27 16:38:32 2018 New Revision: 331624 URL: https://svnweb.freebsd.org/changeset/base/331624 Log: Bump .Dd after r331113. Reported by: oshogbo@ MFC after:2 weeks Modified: head/sbin/savecore/savecore.8 Modified: head/sbin/savecore/savecore.8 ===

svn commit: r331623 - in head/sys: compat/freebsd32 dev/md

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 16:07:54 2018 New Revision: 331623 URL: https://svnweb.freebsd.org/changeset/base/331623 Log: Move 32-bit compat for md(4) ioctls into the md code. This is more correct in that ioctl commands have no meaning until they hit the handler associated with the fi

Re: svn commit: r331618 - head/share/man/man7

2018-03-27 Thread Conrad Meyer
On Tue, Mar 27, 2018 at 8:41 AM, Rodney W. Grimes wrote: > Without the private part of the TLS they can not alter that data, > correct? Correct — a property typically referred to as "integrity." (Well, obviously they can truncate streams with RST, but that isn't very subtle to any client.) > I

Re: svn commit: r331618 - head/share/man/man7

2018-03-27 Thread Rodney W. Grimes
> Thinking of the network as attacker-controlled is fine, but without > the CA certificate database in ports, TLS provides neither data > integrity nor confidentiality.[0] > > Even with certificate validation, it's unlikely that TLS provides > meaningful confidentiality for svn.freebsd.org ? IP st

Re: svn commit: r331618 - head/share/man/man7

2018-03-27 Thread Conrad Meyer
Thinking of the network as attacker-controlled is fine, but without the CA certificate database in ports, TLS provides neither data integrity nor confidentiality.[0] Even with certificate validation, it's unlikely that TLS provides meaningful confidentiality for svn.freebsd.org — IP still exposes

svn commit: r331622 - in head: sbin/ifconfig sys/net sys/sys

2018-03-27 Thread Konstantin Belousov
Author: kib Date: Tue Mar 27 15:29:32 2018 New Revision: 331622 URL: https://svnweb.freebsd.org/changeset/base/331622 Log: Allow to specify PCP on packets not belonging to any VLAN. According to 802.1Q-2014, VLAN tagged packets with VLAN id 0 should be considered as untagged, and only PCP

svn commit: r331621 - in head/sys: compat/freebsd32 dev/md kern sys

2018-03-27 Thread Brooks Davis
Author: brooks Date: Tue Mar 27 15:20:03 2018 New Revision: 331621 URL: https://svnweb.freebsd.org/changeset/base/331621 Log: Move uio enums to sys/_uio.h. Include _uio.h instead of uio.h in several headers to reduce header polution. Fix a few places that relied on header polution to

Re: svn commit: r331618 - head/share/man/man7

2018-03-27 Thread Benjamin Kaduk
On Tue, Mar 27, 2018 at 9:57 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Author: trasz > > Date: Tue Mar 27 14:51:19 2018 > > New Revision: 331618 > > URL: https://svnweb.freebsd.org/changeset/base/331618 > > > > Log: > > Use https:// instead of http://. > > > > MFC after

Re: svn commit: r331618 - head/share/man/man7

2018-03-27 Thread Rodney W. Grimes
> Author: trasz > Date: Tue Mar 27 14:51:19 2018 > New Revision: 331618 > URL: https://svnweb.freebsd.org/changeset/base/331618 > > Log: > Use https:// instead of http://. > > MFC after: 2 weeks > > Modified: > head/share/man/man7/development.7 > > Modified: head/share/man/man7/develop

svn commit: r331620 - in head/sys: contrib/libb2 crypto/blake2

2018-03-27 Thread Conrad Meyer
Author: cem Date: Tue Mar 27 14:55:01 2018 New Revision: 331620 URL: https://svnweb.freebsd.org/changeset/base/331620 Log: MFV: libb2: use native calls for secure memory clearance Drop our local patch and restore full vanilla upstream code in contrib/libb2. No functional change inten

svn commit: r331619 - head/share/man/man7

2018-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Mar 27 14:54:02 2018 New Revision: 331619 URL: https://svnweb.freebsd.org/changeset/base/331619 Log: Add trailing slash for consistency. For some reason, the other link - https://lists.FreeBSD.org/ - needs the trailing slash, otherwise man(8) renders it in a weird

svn commit: r331617 - head/share/man/man7

2018-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Mar 27 14:50:12 2018 New Revision: 331617 URL: https://svnweb.freebsd.org/changeset/base/331617 Log: Fix capitalization. MFC after:2 weeks Modified: head/share/man/man7/development.7 Modified: head/share/man/man7/development.7

svn commit: r331618 - head/share/man/man7

2018-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Mar 27 14:51:19 2018 New Revision: 331618 URL: https://svnweb.freebsd.org/changeset/base/331618 Log: Use https:// instead of http://. MFC after:2 weeks Modified: head/share/man/man7/development.7 Modified: head/share/man/man7/development.7 ===

svn commit: r331616 - in head: sbin/mount sys/kern

2018-03-27 Thread Andriy Gapon
Author: avg Date: Tue Mar 27 14:31:42 2018 New Revision: 331616 URL: https://svnweb.freebsd.org/changeset/base/331616 Log: vfs_donmount: in certain cases try r/o mount if r/w mount fails If the operation is not an update, if neither r/w nor r/o mode is explicitly requested, if the error c

svn commit: r331613 - in head/tests/sys/cddl/zfs: bin include tests/cli_root/zpool_add tests/delegate tests/devices tests/hotspare tests/interop tests/largest_pool tests/slog tests/utils_test tests...

2018-03-27 Thread Andriy Gapon
Author: avg Date: Tue Mar 27 11:49:15 2018 New Revision: 331613 URL: https://svnweb.freebsd.org/changeset/base/331613 Log: ZFS test suite: fix uses of illumos /dev/[r]dsk/ and /dev/zvol/[r]dsk/ Modified: head/tests/sys/cddl/zfs/bin/devname2devid.c head/tests/sys/cddl/zfs/bin/zpool_bsd.ksh

svn commit: r331610 - in head/sys: amd64/include i386/include x86/x86 x86/xen

2018-03-27 Thread Jeff Roberson
Author: jeff Date: Tue Mar 27 10:20:50 2018 New Revision: 331610 URL: https://svnweb.freebsd.org/changeset/base/331610 Log: Backout r331606 until I can identify why it does not boot on some machines. Modified: head/sys/amd64/include/intr_machdep.h head/sys/i386/include/intr_machdep.h he

Re: svn commit: r331606 - in head/sys: amd64/include i386/include x86/x86 x86/xen

2018-03-27 Thread Li-Wen Hsu
On Mon, Mar 26, 2018 at 20:35:12 -1000, Jeff Roberson wrote: > The patch has been on my branch for weeks and has been tested by a half > dozen people. I'm sorry it does not work for you. If you reverted 331605 > the change that followed should not have built properly. Did you build > cleanly?

Re: svn commit: r331606 - in head/sys: amd64/include i386/include x86/x86 x86/xen

2018-03-27 Thread Eitan Adler
On 27 March 2018 at 01:45, Hans Petter Selasky wrote: > On 03/27/18 05:37, Jeff Roberson wrote: >> >> do { >> - current_cpu++; >> - if (current_cpu > mp_maxid) >> - current_cpu = 0; >> - } while (!CPU_ISSET(current_cpu, &intr_cpus));

Re: svn commit: r331606 - in head/sys: amd64/include i386/include x86/x86 x86/xen

2018-03-27 Thread Hans Petter Selasky
On 03/27/18 05:37, Jeff Roberson wrote: do { - current_cpu++; - if (current_cpu > mp_maxid) - current_cpu = 0; - } while (!CPU_ISSET(current_cpu, &intr_cpus)); + current_cpu[domain]++; + if (current_cpu[do

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

2018-03-27 Thread Bruce Evans
On Tue, 27 Mar 2018, Jeff Roberson wrote: Log: Move vm_ndomains to vm.h where it can be used with a single header include rather than requiring a half-dozen. Many non-vm files may want to know the number of valid domains. Shouldn't it go in vm_extern.h? What is the point of having vm_exte