Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-14 Thread Bruce Evans
On Thu, 14 Feb 2019, Mark Johnston wrote: On Thu, Feb 14, 2019 at 06:56:42PM +1100, Bruce Evans wrote: * ... The only relevant commit between the good and bad versions seems to be r343453. This fixes uma_prealloc() to actually work. But it is a feature for it to not work when its caller asks

Re: svn commit: r344118 - head/sys/i386/include

2019-02-14 Thread Alexey Dokuchaev
On Thu, Feb 14, 2019 at 01:53:11PM +, Konstantin Belousov wrote: > New Revision: 344118 > URL: https://svnweb.freebsd.org/changeset/base/344118 > > Log: > Provide userspace versions of do_cpuid() and cpuid_count() on i386. > > Some older compilers, when generating PIC code, cannot

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-14 Thread Bruce Evans
On Thu, 14 Feb 2019, Gleb Smirnoff wrote: On Wed, Feb 13, 2019 at 07:24:50PM -0600, Justin Hibbits wrote: J> This seems to break 32-bit platforms, or at least 32-bit book-e J> powerpc, which has a limited KVA space (~500MB). It preallocates I've J> seen over 2500 pbufs, at 128kB each, eating

svn commit: r344114 - stable/12/sbin/sysctl

2019-02-14 Thread Guangyuan Yang
Author: ygy (doc committer) Date: Thu Feb 14 09:12:19 2019 New Revision: 344114 URL: https://svnweb.freebsd.org/changeset/base/344114 Log: MFC r343930: Remove -R option which was added to sysctl(8) man page per r244106, but it is not implemented. Submitted by: Alfonso Siciliano

svn commit: r344116 - stable/12/tools/build/mk

2019-02-14 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 14 09:48:13 2019 New Revision: 344116 URL: https://svnweb.freebsd.org/changeset/base/344116 Log: MFC r343868: Correct ypldap(8) install path in OptionalObsoleteFiles.inc It's installed to /usr/sbin, not to /usr/bin. While here, add missing manpages and

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-14 Thread Konstantin Belousov
On Thu, Feb 14, 2019 at 06:56:42PM +1100, Bruce Evans wrote: > I don't understand how pbuf_preallocate() allocates for the other > pbuf pools. When I debugged this for clpbufs, the preallocation was > not used. pbuf types other than clpbufs seem to be unused in my > configurations. I thought

svn commit: r344115 - head

2019-02-14 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 14 09:21:19 2019 New Revision: 344115 URL: https://svnweb.freebsd.org/changeset/base/344115 Log: Add UPDATING entry for IEEE80211_AMPDU_AGE and AH_SUPPORT_AR5416 options removal Notified by: ian Modified: head/UPDATING Modified: head/UPDATING

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

2019-02-14 Thread Andriy Voskoboinyk
Author: avos Date: Thu Feb 14 09:50:59 2019 New Revision: 344117 URL: https://svnweb.freebsd.org/changeset/base/344117 Log: MFC r343868: Add ypldap(8)-related files and /var/yp directory to the OptionalObsoleteFiles.inc. Modified: stable/11/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r344118 - head/sys/i386/include

2019-02-14 Thread Konstantin Belousov
Author: kib Date: Thu Feb 14 13:53:11 2019 New Revision: 344118 URL: https://svnweb.freebsd.org/changeset/base/344118 Log: Provide userspace versions of do_cpuid() and cpuid_count() on i386. Some older compilers, when generating PIC code, cannot handle inline asm that clobbers %ebx

svn commit: r344120 - in head/lib/libc: . amd64/gen i386/gen x86/gen

2019-02-14 Thread Konstantin Belousov
Author: kib Date: Thu Feb 14 14:02:33 2019 New Revision: 344120 URL: https://svnweb.freebsd.org/changeset/base/344120 Log: Unify i386 and amd64 getcontextx.c, and use ifuncs while there. In particular, use ifuncs for __getcontextx_size(), also calculate the size of the extended save area

svn commit: r344121 - in head/sys: arm/arm arm64/arm64 mips/mips powerpc/powerpc riscv/riscv sparc64/sparc64

2019-02-14 Thread Konstantin Belousov
Author: kib Date: Thu Feb 14 14:44:53 2019 New Revision: 344121 URL: https://svnweb.freebsd.org/changeset/base/344121 Log: Enable enabling ASLR on non-x86 architectures. Discussed with: emaste Sponsored by: The FreeBSD Foundation Modified: head/sys/arm/arm/elf_machdep.c

svn commit: r344128 - head/sys/vm

2019-02-14 Thread Konstantin Belousov
Author: kib Date: Thu Feb 14 15:45:53 2019 New Revision: 344128 URL: https://svnweb.freebsd.org/changeset/base/344128 Log: Make anon clustering more compatible. Make the clustering enabling knob more fine-grained by providing a setting where the allocation with hint is not clustered.

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

2019-02-14 Thread Leandro Lupori
Author: luporl Date: Thu Feb 14 15:15:32 2019 New Revision: 344123 URL: https://svnweb.freebsd.org/changeset/base/344123 Log: [PPC64] Fix mismatch between thread flags and MSR When sigreturn() restored a thread's context, SRR1 was being restored to its previous value, but pcb_flags was

svn commit: r344125 - stable/11/usr.bin/whereis

2019-02-14 Thread Stefan Esser
Author: se Date: Thu Feb 14 15:39:17 2019 New Revision: 344125 URL: https://svnweb.freebsd.org/changeset/base/344125 Log: MFC r343408: Silence Clang Scan warnings regarding unsafe use of strcp(). While these warnings are false positives, the use of strdup() instead of malloc() and

svn commit: r344122 - stable/12/sys/vm

2019-02-14 Thread Konstantin Belousov
Author: kib Date: Thu Feb 14 14:50:47 2019 New Revision: 344122 URL: https://svnweb.freebsd.org/changeset/base/344122 Log: MFC r343850: contigmalloc: handle M_EXEC. Modified: stable/12/sys/vm/vm_kern.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r344124 - stable/11/usr.sbin/kbdcontrol

2019-02-14 Thread Stefan Esser
Author: se Date: Thu Feb 14 15:33:04 2019 New Revision: 344124 URL: https://svnweb.freebsd.org/changeset/base/344124 Log: MFC r343339: Silence Clang Scan warning about use of unitialized variable. The logic is changed to depend on actual "beep" parameters instead of on a flag that may be

Re: svn commit: r344114 - stable/12/sbin/sysctl

2019-02-14 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: ygy (doc committer) > Date: Thu Feb 14 09:12:19 2019 > New Revision: 344114 > URL: https://svnweb.freebsd.org/changeset/base/344114 > > Log: > MFC r343930: > > Remove -R option which was added to sysctl(8) man page per r244106, but it

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-14 Thread Mark Johnston
On Thu, Feb 14, 2019 at 06:56:42PM +1100, Bruce Evans wrote: > On Wed, 13 Feb 2019, Justin Hibbits wrote: > > > On Tue, 15 Jan 2019 01:02:17 + (UTC) > > Gleb Smirnoff wrote: > > > >> Author: glebius > >> Date: Tue Jan 15 01:02:16 2019 > >> New Revision: 343030 > >> URL:

Re: svn commit: r344051 - in stable/12/sbin: newfs tunefs

2019-02-14 Thread Mark Linimon
On Tue, Feb 12, 2019 at 08:31:52AM -0800, Rodney W. Grimes wrote: > If all of our process was better documented and laid down > we would have less of this type of discussion on a much less > frequent basis. And much more discussion about how the process is over-specified, onerous, doesn't take

svn commit: r344126 - stable/11/libexec/getty

2019-02-14 Thread Stefan Esser
Author: se Date: Thu Feb 14 15:41:05 2019 New Revision: 344126 URL: https://svnweb.freebsd.org/changeset/base/344126 Log: MFC r343479: Fix potential buffer overflow and undefined behavior. The buffer allocated in read_chat() could be 1 element too short, if the chatstr parameter passed

svn commit: r344127 - stable/11/lib/libfigpar

2019-02-14 Thread Stefan Esser
Author: se Date: Thu Feb 14 15:42:29 2019 New Revision: 344127 URL: https://svnweb.freebsd.org/changeset/base/344127 Log: MFC r343480,343482: Silence Clang Scan warning about unsafe use of strcpy. Replace strcpy() by memcpy to the previously allocated range of known size. Modified:

svn commit: r344119 - head/lib/libc/x86/sys

2019-02-14 Thread Konstantin Belousov
Author: kib Date: Thu Feb 14 13:59:00 2019 New Revision: 344119 URL: https://svnweb.freebsd.org/changeset/base/344119 Log: x86 __vdso_gettc(): use machine/cpufunc.h function for CPUID. Based on the discussion with: jkim Sponsored by: The FreeBSD Foundation MFC after:1 week

Re: svn commit: r344129 - head

2019-02-14 Thread Warner Losh
On Thu, Feb 14, 2019 at 11:29 AM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > Author: imp > > Date: Thu Feb 14 17:04:04 2019 > > New Revision: 344129 > > URL: https://svnweb.freebsd.org/changeset/base/344129 > > > > Log: > > Fix small typo. > > A small request, when we fix a

Re: svn commit: r344132 - head/sys/dev/ixl

2019-02-14 Thread John Baldwin
On 2/14/19 10:22 AM, Rodney W. Grimes wrote: >> Author: erj >> Date: Thu Feb 14 18:02:37 2019 >> New Revision: 344132 >> URL: https://svnweb.freebsd.org/changeset/base/344132 >> >> Log: >> ixl: Fix panic caused by bug exposed by r344062 >> >> Don't use a struct if_irq for IFLIB_INTR_IOV

svn commit: r344133 - head/sys/kern

2019-02-14 Thread Bruce Evans
Author: bde Date: Thu Feb 14 19:07:08 2019 New Revision: 344133 URL: https://svnweb.freebsd.org/changeset/base/344133 Log: Finish the fix for overflow in calcru1(). The previous fix was unnecessarily very slow up to 105 hours where the simple formula used previously worked, and

Re: svn commit: r344129 - head

2019-02-14 Thread Mark Johnston
On Thu, Feb 14, 2019 at 12:00:22PM -0700, Warner Losh wrote: > On Thu, Feb 14, 2019 at 11:29 AM Rodney W. Grimes < > > > Differential Review: https://reviews.freebsd.org/D19193 > > > > You sited a differential, but not give any attribution > > to the external source :-( > > > > The differential

svn commit: r344134 - stable/12/lib/libc/sys

2019-02-14 Thread Alan Somers
Author: asomers Date: Thu Feb 14 20:24:33 2019 New Revision: 344134 URL: https://svnweb.freebsd.org/changeset/base/344134 Log: MFC r341598: stat(2): clarify which syscalls modify file timestamps The list of syscalls that modify st_atim, st_mtim, and st_ctim was quite out of date and

svn commit: r344132 - head/sys/dev/ixl

2019-02-14 Thread Eric Joyner
Author: erj Date: Thu Feb 14 18:02:37 2019 New Revision: 344132 URL: https://svnweb.freebsd.org/changeset/base/344132 Log: ixl: Fix panic caused by bug exposed by r344062 Don't use a struct if_irq for IFLIB_INTR_IOV type interrupts since that results in get_core_offset() being called on

Re: svn commit: r344129 - head

2019-02-14 Thread Rodney W. Grimes
> Author: imp > Date: Thu Feb 14 17:04:04 2019 > New Revision: 344129 > URL: https://svnweb.freebsd.org/changeset/base/344129 > > Log: > Fix small typo. A small request, when we fix a typo could we do: fix typo: frambuffer -> framebuffer Thanks, Rod > > Differential Review:

svn commit: r344131 - stable/12/sys/kern

2019-02-14 Thread Alan Somers
Author: asomers Date: Thu Feb 14 18:01:06 2019 New Revision: 344131 URL: https://svnweb.freebsd.org/changeset/base/344131 Log: MFC r340988: vfs_aio.c: rename "physio" symbols to "bio". aio has two paths: an asynchronous "physio" path and a synchronous path. Confusingly, physio(9)

Re: svn commit: r344132 - head/sys/dev/ixl

2019-02-14 Thread Rodney W. Grimes
> Author: erj > Date: Thu Feb 14 18:02:37 2019 > New Revision: 344132 > URL: https://svnweb.freebsd.org/changeset/base/344132 > > Log: > ixl: Fix panic caused by bug exposed by r344062 > > Don't use a struct if_irq for IFLIB_INTR_IOV type interrupts since that > results > in

svn commit: r344129 - head

2019-02-14 Thread Warner Losh
Author: imp Date: Thu Feb 14 17:04:04 2019 New Revision: 344129 URL: https://svnweb.freebsd.org/changeset/base/344129 Log: Fix small typo. Differential Review: https://reviews.freebsd.org/D19193 Modified: head/UPDATING Modified: head/UPDATING

svn commit: r344130 - stable/12

2019-02-14 Thread Alan Somers
Author: asomers Date: Thu Feb 14 17:40:38 2019 New Revision: 344130 URL: https://svnweb.freebsd.org/changeset/base/344130 Log: MFC r340525 again Apparently I didn't commit the SVN merge tracking info the first time I MFCed this commit. This commit is merge tracking info only.

svn commit: r344135 - in stable/12/tests/sys/geom/class: . eli mirror

2019-02-14 Thread Alan Somers
Author: asomers Date: Thu Feb 14 20:26:59 2019 New Revision: 344135 URL: https://svnweb.freebsd.org/changeset/base/344135 Log: MFC r341390, r341392, r341667 r341390: Remove some dead code from the geli tests This is detritus in the Makefile, leftover from 327662. r341392:

svn commit: r344136 - in stable/12: libexec/rc/rc.d tests/sys tests/sys/audit tools/build/mk

2019-02-14 Thread Alan Somers
Author: asomers Date: Thu Feb 14 20:29:33 2019 New Revision: 344136 URL: https://svnweb.freebsd.org/changeset/base/344136 Log: MFC r342153, r342172-r342173 r342153: Conditionally install /etc/rc.d/audit* based on ${MK_AUDIT} /usr/sbin/audit(dist)?d are only installed if ${MK_AUDIT}

Re: svn commit: r344129 - head

2019-02-14 Thread Rodney W. Grimes
> On Thu, Feb 14, 2019 at 12:00:22PM -0700, Warner Losh wrote: > > On Thu, Feb 14, 2019 at 11:29 AM Rodney W. Grimes < > > > > Differential Review: https://reviews.freebsd.org/D19193 > > > > > > You sited a differential, but not give any attribution > > > to the external source :-( > > > > > >

svn commit: r344137 - stable/12/tools/build/mk

2019-02-14 Thread Alan Somers
Author: asomers Date: Thu Feb 14 20:31:05 2019 New Revision: 344137 URL: https://svnweb.freebsd.org/changeset/base/344137 Log: MFC r300938, r342154 r300938 by ngie: Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run sa(8) is conditionally installed based on

svn commit: r344138 - stable/12/sbin/ifconfig

2019-02-14 Thread Alan Somers
Author: asomers Date: Thu Feb 14 20:33:35 2019 New Revision: 344138 URL: https://svnweb.freebsd.org/changeset/base/344138 Log: MFC r343530: ifconfig: fix endianness bug displaying pfsync interfaces Reviewed by: kp Differential Revision:https://reviews.freebsd.org/D19005

Re: svn commit: r344129 - head

2019-02-14 Thread Juli Mallett
On Thu, 14 Feb 2019 at 12:42, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > > On Thu, Feb 14, 2019 at 12:00:22PM -0700, Warner Losh wrote: > > > On Thu, Feb 14, 2019 at 11:29 AM Rodney W. Grimes < > > > > > Differential Review: https://reviews.freebsd.org/D19193 > > > > > > > >

Re: svn commit: r344129 - head

2019-02-14 Thread Warner Losh
On Thu, Feb 14, 2019, 1:48 PM Juli Mallett On Thu, 14 Feb 2019 at 12:42, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > >> > On Thu, Feb 14, 2019 at 12:00:22PM -0700, Warner Losh wrote: >> > > On Thu, Feb 14, 2019 at 11:29 AM Rodney W. Grimes < >> > > > > Differential Review:

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-14 Thread Enji Cooper
> On Feb 14, 2019, at 15:34, Gleb Smirnoff wrote: > > Hi Justin, > > On Wed, Feb 13, 2019 at 07:24:50PM -0600, Justin Hibbits wrote: > J> This seems to break 32-bit platforms, or at least 32-bit book-e > J> powerpc, which has a limited KVA space (~500MB). It preallocates I've > J> seen over

Re: svn commit: r344129 - head

2019-02-14 Thread Warner Losh
On Thu, Feb 14, 2019, 1:42 PM Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net wrote: > > On Thu, Feb 14, 2019 at 12:00:22PM -0700, Warner Losh wrote: > > > On Thu, Feb 14, 2019 at 11:29 AM Rodney W. Grimes < > > > > > Differential Review: https://reviews.freebsd.org/D19193 > > > > > > > > You

svn commit: r344140 - in head/sys: conf modules/crypto opencrypto

2019-02-14 Thread Sean Eric Fagan
Author: sef Date: Fri Feb 15 03:46:39 2019 New Revision: 344140 URL: https://svnweb.freebsd.org/changeset/base/344140 Log: Add CBC-MAC authentication. This adds the CBC-MAC code to the kernel, but does not hook it up to anything (that comes in the next commit).

svn commit: r344141 - in head: sys/opencrypto tools/tools/crypto

2019-02-14 Thread Sean Eric Fagan
Author: sef Date: Fri Feb 15 03:53:03 2019 New Revision: 344141 URL: https://svnweb.freebsd.org/changeset/base/344141 Log: Add AES-CCM encryption, and plumb into OCF. This commit essentially has three parts: * Add the AES-CCM encryption hooks. This is in and of itself fairly small,

svn commit: r344142 - head/sys/opencrypto

2019-02-14 Thread Sean Eric Fagan
Author: sef Date: Fri Feb 15 04:01:59 2019 New Revision: 344142 URL: https://svnweb.freebsd.org/changeset/base/344142 Log: Pasting in a source control line missed the last quote. Fixed. Modified: head/sys/opencrypto/cbc_mac.c Modified: head/sys/opencrypto/cbc_mac.c

svn commit: r344143 - head/sys/opencrypto

2019-02-14 Thread Sean Eric Fagan
Author: sef Date: Fri Feb 15 04:15:43 2019 New Revision: 344143 URL: https://svnweb.freebsd.org/changeset/base/344143 Log: Fix another issue from r344141, having to do with size of a shift amount. This did not show up in my testing. Differential Revision:

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-14 Thread Gleb Smirnoff
Hi Justin, On Wed, Feb 13, 2019 at 07:24:50PM -0600, Justin Hibbits wrote: J> This seems to break 32-bit platforms, or at least 32-bit book-e J> powerpc, which has a limited KVA space (~500MB). It preallocates I've J> seen over 2500 pbufs, at 128kB each, eating up over 300MB KVA, J> leaving

svn commit: r344139 - in stable/12: share/man/man4 sys/netgraph

2019-02-14 Thread Gleb Smirnoff
Author: glebius Date: Fri Feb 15 00:29:44 2019 New Revision: 344139 URL: https://svnweb.freebsd.org/changeset/base/344139 Log: Merge r343895: Allow some nesting of ng_iface(4) interfaces and add a configuration knob. PR: 235500 Modified: stable/12/share/man/man4/ng_iface.4