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

2016-07-18 Thread Gleb Smirnoff
On Fri, Jul 15, 2016 at 04:29:45PM +0200, Hans Petter Selasky wrote: H> On 07/15/16 11:28, Gleb Smirnoff wrote: H> > Author: glebius H> > Date: Fri Jul 15 09:28:32 2016 H> > New Revision: 302894 H> > URL: https://svnweb.freebsd.org/changeset/base/302894 H> > H> > Log: H> > Fix regression introduc

svn commit: r302997 - head/sys/kern

2016-07-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Jul 18 09:26:06 2016 New Revision: 302997 URL: https://svnweb.freebsd.org/changeset/base/302997 Log: Redo the r302894: the very new value for a non-scheduled callout is -1. This was recently added in r290664. Noticed by: hselasky PR: 210884 Modifie

svn commit: r302998 - head/sys/kern

2016-07-18 Thread Gleb Smirnoff
Author: glebius Date: Mon Jul 18 09:29:08 2016 New Revision: 302998 URL: https://svnweb.freebsd.org/changeset/base/302998 Log: Revert the last commit. It must get more review and testing first. Modified: head/sys/kern/kern_timeout.c Modified: head/sys/kern/kern_timeout.c

svn commit: r302999 - head/sys/kern

2016-07-18 Thread Konstantin Belousov
Author: kib Date: Mon Jul 18 10:53:47 2016 New Revision: 302999 URL: https://svnweb.freebsd.org/changeset/base/302999 Log: The assertion re-added in r302614 was triggered when stopping signal is delivered to vforked child. Issue is that we avoid stopping such children in issignal() to not b

Re: svn commit: r302985 - head/sys/geom/label

2016-07-18 Thread Maxim Sobolev
Andrey, are you talking about this: --- r156299 | pjd | 2006-03-04 11:41:54 -0800 (сб, 04 мар 2006) | 11 lines We need to check if file system size is equal to provider's size, because sysinstall(8) still bogusly puts first partition at offset 0 instead of 16, so glabel/ufs will find file system

svn commit: r303000 - head/sys/dev/vmware/vmxnet3

2016-07-18 Thread Alexander Motin
Author: mav Date: Mon Jul 18 14:40:13 2016 New Revision: 303000 URL: https://svnweb.freebsd.org/changeset/base/303000 Log: Update if_hwassist when interface options are changed. In particular for me this fixes checksum problem when if_bridge attached to the interface requests TXCSUM to be

svn commit: r303001 - in head: lib/libc/sys sys/kern sys/sys tests/sys/kern

2016-07-18 Thread John Baldwin
Author: jhb Date: Mon Jul 18 14:53:55 2016 New Revision: 303001 URL: https://svnweb.freebsd.org/changeset/base/303001 Log: Add PTRACE_VFORK to trace vfork events. First, PL_FLAG_FORKED events now also set a PL_FLAG_VFORKED flag when the new child was created via vfork() rather than fork()

svn commit: r303002 - in head: sys/kern sys/sys usr.bin/gcore

2016-07-18 Thread John Baldwin
Author: jhb Date: Mon Jul 18 15:14:23 2016 New Revision: 303002 URL: https://svnweb.freebsd.org/changeset/base/303002 Log: Include process IDs in core dumps. When threads were added to the kernel, the pr_pid member of the NT_PRSTATUS note was repurposed to store LWP IDs instead of process

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

2016-07-18 Thread Randall Stewart via svn-src-head
Gleb: This now leaks TCP-PCB’s since you have broken the return codes with all your fixes that used to be in here. It was return 1 — You stopped the callout return 0 — The callout could not be stopped return -1 — The callout was not running. The LLRef code that was crashing in in.c depended on

svn commit: r303003 - head/release

2016-07-18 Thread Glen Barber
Author: gjb Date: Mon Jul 18 15:50:54 2016 New Revision: 303003 URL: https://svnweb.freebsd.org/changeset/base/303003 Log: Make sure we clean up the rdoc and reldoc directories if NODOC is not set. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/release/Makef

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

2016-07-18 Thread Andrey A. Chernov
Author: ache Date: Mon Jul 18 16:06:21 2016 New Revision: 303004 URL: https://svnweb.freebsd.org/changeset/base/303004 Log: 1) POSIX defines well when GLOB_ABORTED can be returned (only for directory open/read errors and with GLOB_ERR and gl_errfunc processing), so we can't blindly return it

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

2016-07-18 Thread Randall Stewart via svn-src-head
I have worked out a fix of this in Netflix code base (I have the same code running there). I will get that tested tonight I will get the fixes in to restore the behavior. I will setup a phabricator shortly.. most likely I will update the one I already have on the one problem your earlier patch di

svn commit: r303009 - head/sys/net

2016-07-18 Thread Alexander Motin
Author: mav Date: Mon Jul 18 16:58:47 2016 New Revision: 303009 URL: https://svnweb.freebsd.org/changeset/base/303009 Log: Negotiate/disable TXCSUM_IPV6 same as TXCSUM. Modified: head/sys/net/if_bridge.c Modified: head/sys/net/if_bridge.c =

Re: svn commit: r302985 - head/sys/geom/label

2016-07-18 Thread Devin Teske
> On Jul 18, 2016, at 7:24 AM, Maxim Sobolev wrote: > > Andrey, are you talking about this: > > --- > r156299 | pjd | 2006-03-04 11:41:54 -0800 (сб, 04 мар 2006) | 11 lines > > We need to check if file system size is equal to provider's size, because > sysinstall(8) ?? sysinstall ?? in head

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

2016-07-18 Thread Andrey A. Chernov
Author: ache Date: Mon Jul 18 18:24:31 2016 New Revision: 303010 URL: https://svnweb.freebsd.org/changeset/base/303010 Log: 1) Add all characters from ~ expansion as protected to be not interpreted as pattern meta chars. 2) GLOB_ERR and gl_errfunc are supposed to work only for real direct

Re: svn commit: r302985 - head/sys/geom/label

2016-07-18 Thread Maxim Sobolev
I think people might be worried about existing deployed systems that might stop booting if geom label obscures the whole disk making one or more slices unavailable via geom_label mechanism. -Max On Mon, Jul 18, 2016 at 10:09 AM, Devin Teske wrote: > > > On Jul 18, 2016, at 7:24 AM, Maxim Sobole

Re: svn commit: r302985 - head/sys/geom/label

2016-07-18 Thread Andrey V. Elsukov
On 18.07.16 17:24, Maxim Sobolev wrote: > Andrey, are you talking about this: > > --- > r156299 | pjd | 2006-03-04 11:41:54 -0800 (сб, 04 мар 2006) | 11 lines > > We need to check if file system size is equal to provider's size, because > sysinstall(8) still bogusly puts first partition at offset

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

2016-07-18 Thread Andrey A. Chernov
Author: ache Date: Mon Jul 18 19:20:49 2016 New Revision: 303011 URL: https://svnweb.freebsd.org/changeset/base/303011 Log: Change patch from r303004 case 3. According to POSIX gl_errfunc should be called first, then GLOB_ERR should be considered. Modified: head/lib/libc/gen/glob.c Modifie

Re: svn commit: r302985 - head/sys/geom/label

2016-07-18 Thread Maxim Sobolev
Well, this looks to me exactly what I am talking about. With this change we are only allowing underlying provider to be *slighly* bigger than the UFS size. So as I said it's pretty harmless to do so, or at least I think it is. In general I think this case is underlying some missing design feature o

svn commit: r303012 - in head: sbin/ipfw sys/conf sys/modules sys/modules/ipfw_nptv6 sys/netinet sys/netinet6 sys/netpfil/ipfw/nptv6

2016-07-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 18 19:46:31 2016 New Revision: 303012 URL: https://svnweb.freebsd.org/changeset/base/303012 Log: Add ipfw_nptv6 module that implements Network Prefix Translation for IPv6 as defined in RFC 6296. The module works together with ipfw(4) and implemented as its external a

Re: svn commit: r302985 - head/sys/geom/label

2016-07-18 Thread Andrey V. Elsukov
On 18.07.16 22:37, Maxim Sobolev wrote: > Well, this looks to me exactly what I am talking about. With this change > we are only allowing underlying provider to be *slighly* bigger than the > UFS size. So as I said it's pretty harmless to do so, or at least I So, this isn't true. 1. You use abs()

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

2016-07-18 Thread Andrey A. Chernov
Author: ache Date: Mon Jul 18 20:24:13 2016 New Revision: 303013 URL: https://svnweb.freebsd.org/changeset/base/303013 Log: g_Ctoc() conversion buffers are smaller than needed up to MB_CUR_MAX - 1 since whole conversion needs a room for (len >= MB_CUR_MAX). It is no difference when MB_CUR_MA

Re: svn commit: r302985 - head/sys/geom/label

2016-07-18 Thread Maxim Sobolev
Andrey, would you mind leaving your comments in the phabricator so that the Mikhail (original contributor of the patch) could work on an improved version? You might be correct about the abs(), I've overlooked that, but the fs_fsize math is just copied over the previous code as far as I can tell. So

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-18 Thread Nathan Whitehorn
Could you please describe what this change is in more detail? It breaks a lot of encapsulations we have worked very hard to maintain, moves ARM code into MI parts of the kernel, and the OFW parts violate IEEE 1275 (the Open Firmware standard). In particular, there is no guarantee that the inte

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

2016-07-18 Thread Andrey A. Chernov
Author: ache Date: Tue Jul 19 00:25:27 2016 New Revision: 303014 URL: https://svnweb.freebsd.org/changeset/base/303014 Log: 1) Don't protect \/ and \. even if user say so. They are not special chars in any case and needed for further processing. For ~ expansion too. 2) Don't terminate *pa

svn commit: r303015 - head/sys/dev/ath

2016-07-18 Thread Adrian Chadd
Author: adrian Date: Tue Jul 19 00:27:17 2016 New Revision: 303015 URL: https://svnweb.freebsd.org/changeset/base/303015 Log: [ath] don't do LDPC, STBC or short-gi for locationing frames. The 11n duration calculation function in net80211 and the HAL round /up/ the duration calculation for

Re: svn commit: r302897 - head/usr.sbin/bsdinstall/scripts

2016-07-18 Thread Nathan Whitehorn
On 07/15/16 08:07, Bartek Rutkowski wrote: Author: robak (ports committer) Date: Fri Jul 15 15:07:24 2016 New Revision: 302897 URL: https://svnweb.freebsd.org/changeset/base/302897 Log: Add new System Hardening menu and options to bsdinstall. This patch add new 'hardening' file respo

svn commit: r303016 - head/contrib/llvm/projects/libunwind/include

2016-07-18 Thread Ed Maste
Author: emaste Date: Tue Jul 19 00:47:00 2016 New Revision: 303016 URL: https://svnweb.freebsd.org/changeset/base/303016 Log: llvm-libunwind: use conventional (non-Darwin) X86 register numbers For historical reasons Darwin/i386 has ebp and esp swapped in the eh_frame register numbering.

svn commit: r303017 - in head/sys/dev: nvd nvme

2016-07-18 Thread Scott Long
Author: scottl Date: Tue Jul 19 03:13:51 2016 New Revision: 303017 URL: https://svnweb.freebsd.org/changeset/base/303017 Log: Implement crashdump support on NVME MFC after:3 days Sponsored by: Netflix, Inc. Modified: head/sys/dev/nvd/nvd.c head/sys/dev/nvme/nvme.h head/sys/dev/

svn commit: r303018 - in head: sbin/ipfw sys/netinet sys/netpfil/ipfw

2016-07-18 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 19 04:56:59 2016 New Revision: 303018 URL: https://svnweb.freebsd.org/changeset/base/303018 Log: Add named dynamic states support to ipfw(4). The keep-state, limit and check-state now will have additional argument flowname. This flowname will be assigned to dynami

svn commit: r303019 - head/sys/geom

2016-07-18 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 19 05:36:21 2016 New Revision: 303019 URL: https://svnweb.freebsd.org/changeset/base/303019 Log: Use g_resize_provider() to change the size of GEOM_DISK provider, when it is being opened. This should fix the possible loss of a resize event when disk capacity changed.

Re: svn commit: r303019 - head/sys/geom

2016-07-18 Thread Sepherosa Ziehau
Thanks! On Tue, Jul 19, 2016 at 1:36 PM, Andrey V. Elsukov wrote: > Author: ae > Date: Tue Jul 19 05:36:21 2016 > New Revision: 303019 > URL: https://svnweb.freebsd.org/changeset/base/303019 > > Log: > Use g_resize_provider() to change the size of GEOM_DISK provider, > when it is being opened

svn commit: r303020 - in head/sys/dev/hyperv: include storvsc vmbus

2016-07-18 Thread Sepherosa Ziehau
Author: sephe Date: Tue Jul 19 05:46:15 2016 New Revision: 303020 URL: https://svnweb.freebsd.org/changeset/base/303020 Log: hyperv/vmbus: Cleanup cpu based channel selection. And create cpu to channel map at device attach time for storvsc(4). MFC after:1 week Sponsored by: Micro

svn commit: r303021 - in head/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-07-18 Thread Sepherosa Ziehau
Author: sephe Date: Tue Jul 19 05:57:19 2016 New Revision: 303021 URL: https://svnweb.freebsd.org/changeset/base/303021 Log: hyperv/vmbus: Function rename MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7230 Modified: head/

svn commit: r303022 - head/sys/dev/hyperv/vmbus

2016-07-18 Thread Sepherosa Ziehau
Author: sephe Date: Tue Jul 19 06:04:44 2016 New Revision: 303022 URL: https://svnweb.freebsd.org/changeset/base/303022 Log: hyperv/vmbus: Temp/internal variable/function rename MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D