svn commit: r343089 - head/sys/netinet

2019-01-16 Thread Michael Tuexen
Author: tuexen Date: Wed Jan 16 11:33:47 2019 New Revision: 343089 URL: https://svnweb.freebsd.org/changeset/base/343089 Log: Limit the user-controllable amount of memory the kernel allocates via IPPROTO_SCTP level socket options. This issue was found by running syzkaller. MFC

svn commit: r343095 - head/sys/arm/allwinner

2019-01-16 Thread Kyle Evans
Author: kevans Date: Wed Jan 16 14:42:33 2019 New Revision: 343095 URL: https://svnweb.freebsd.org/changeset/base/343095 Log: awg: Move MAC soft reset to awg_init_locked to avoid soft reset timeout From NetBSD: Since the MAC can get stuck in reset state with no link, ignore reset

Re: svn commit: r343093 - in head: include lib/libc/gen libexec/rtld-elf

2019-01-16 Thread Konstantin Belousov
On Wed, Jan 16, 2019 at 12:12:40PM +, Dag-Erling Smørgrav wrote: > Author: des > Date: Wed Jan 16 12:12:40 2019 > New Revision: 343093 > URL: https://svnweb.freebsd.org/changeset/base/343093 > > Log: > Implement dlopenat(3). > > MFC after: 3 weeks > > Modified: >

svn commit: r343092 - in head/sys/dev/rtwn: rtl8192c rtl8812a

2019-01-16 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 16 12:11:29 2019 New Revision: 343092 URL: https://svnweb.freebsd.org/changeset/base/343092 Log: rtwn(4): clear 'basic' rate bit before calculating RTS/CTS rate. Rate tables have this bit set to indicate minimal set of basic rates; however, it overlappes with

svn commit: r343091 - stable/11/lib/libedit

2019-01-16 Thread Baptiste Daroussin
Author: bapt Date: Wed Jan 16 12:04:29 2019 New Revision: 343091 URL: https://svnweb.freebsd.org/changeset/base/343091 Log: MFC r340933: libedit: improve multibyte support Until this commit libedit only supported UTF-8 for multibyte charset Improve it to support other multibyte

svn commit: r343090 - stable/12/lib/libedit

2019-01-16 Thread Baptiste Daroussin
Author: bapt Date: Wed Jan 16 12:04:24 2019 New Revision: 343090 URL: https://svnweb.freebsd.org/changeset/base/343090 Log: MFC r340933: libedit: improve multibyte support Until this commit libedit only supported UTF-8 for multibyte charset Improve it to support other multibyte

svn commit: r343093 - in head: include lib/libc/gen libexec/rtld-elf

2019-01-16 Thread Dag-Erling Smørgrav
Author: des Date: Wed Jan 16 12:12:40 2019 New Revision: 343093 URL: https://svnweb.freebsd.org/changeset/base/343093 Log: Implement dlopenat(3). MFC after:3 weeks Modified: head/include/dlfcn.h head/lib/libc/gen/dlopen.3 head/libexec/rtld-elf/rtld.c Modified:

svn commit: r343094 - head/sys/dev/iwn

2019-01-16 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 16 12:33:06 2019 New Revision: 343094 URL: https://svnweb.freebsd.org/changeset/base/343094 Log: iwn(4): (partially) rewrite A-MPDU Tx path Generic Tx stats fixes: - do not try to parse "aggregation status" for single frames; send them to iwn_tx_done()

svn commit: r343096 - stable/12/crypto/openssh

2019-01-16 Thread Ed Maste
Author: emaste Date: Wed Jan 16 15:12:19 2019 New Revision: 343096 URL: https://svnweb.freebsd.org/changeset/base/343096 Log: MFC r343043: scp: disallow empty or current directory Obtained from:OpenBSD scp.c 1.198 Security: CVE-2018-20685 Sponsored by: The FreeBSD

svn commit: r343097 - stable/11/crypto/openssh

2019-01-16 Thread Ed Maste
Author: emaste Date: Wed Jan 16 15:15:04 2019 New Revision: 343097 URL: https://svnweb.freebsd.org/changeset/base/343097 Log: MFC r343043: scp: disallow empty or current directory Obtained from:OpenBSD scp.c 1.198 Security: CVE-2018-20685 Sponsored by: The FreeBSD

Re: svn commit: r343058 - in head/sys: compat/linuxkpi/common/src vm

2019-01-16 Thread Ian Lepore
On Tue, 2019-01-15 at 12:33 -0800, Gleb Smirnoff wrote: > On Tue, Jan 15, 2019 at 01:20:14PM -0700, Ian Lepore wrote: > I> On Tue, 2019-01-15 at 12:06 -0800, Gleb Smirnoff wrote: > I> > On Tue, Jan 15, 2019 at 01:46:23PM -0600, Justin Hibbits wrote: > I> > J> Why not #include counter.h in the

svn commit: r343098 - stable/10/crypto/openssh

2019-01-16 Thread Ed Maste
Author: emaste Date: Wed Jan 16 15:19:09 2019 New Revision: 343098 URL: https://svnweb.freebsd.org/changeset/base/343098 Log: MFC r343043: scp: disallow empty or current directory Obtained from:OpenBSD scp.c 1.198 Security: CVE-2018-20685 Sponsored by: The FreeBSD

svn commit: r343106 - in head/sys/dev/usb: . quirk

2019-01-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jan 16 22:29:34 2019 New Revision: 343106 URL: https://svnweb.freebsd.org/changeset/base/343106 Log: [usb] Add quirk for SmartG2 USB memory key PR: 167001 Submitted by: Daan Vreeken [PA4DAN] MFC after:1 week Modified:

svn commit: r343099 - stable/11/sys/net

2019-01-16 Thread Stephen Hurd
Author: shurd Date: Wed Jan 16 19:20:14 2019 New Revision: 343099 URL: https://svnweb.freebsd.org/changeset/base/343099 Log: MFC r342855: Use iflib_if_init_locked() during resume instead of iflib_init_locked(). iflib_init_locked() assumes that iflib_stop() has been called, however,

svn commit: r343100 - head/sys/vm

2019-01-16 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 16 20:14:16 2019 New Revision: 343100 URL: https://svnweb.freebsd.org/changeset/base/343100 Log: Do not reserve KVA for paging bufs in vm_ksubmap_init(), since now they allocate it in pbuf_init(). This should have been done together with r343030. Modified:

svn commit: r343103 - head/contrib/ipfilter

2019-01-16 Thread Cy Schubert
Author: cy Date: Wed Jan 16 20:46:39 2019 New Revision: 343103 URL: https://svnweb.freebsd.org/changeset/base/343103 Log: Remove redundant ipfilter version of pcap-bpf.h. As of r214535 it was no longer needed. MFC after:1 week Deleted: head/contrib/ipfilter/pcap-bpf.h

svn commit: r343101 - head/sys/kern

2019-01-16 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 16 20:20:38 2019 New Revision: 343101 URL: https://svnweb.freebsd.org/changeset/base/343101 Log: Fix mistake in r343030: move nswbuf calculation back to kern_vfs_bio_buffer_alloc(), because in init_param2() nbuf isn't really initialized yet. Pointed out

svn commit: r343102 - in stable: 11/contrib/llvm/lib/Transforms/Vectorize 12/contrib/llvm/lib/Transforms/Vectorize

2019-01-16 Thread Dimitry Andric
Author: dim Date: Wed Jan 16 20:38:17 2019 New Revision: 343102 URL: https://svnweb.freebsd.org/changeset/base/343102 Log: Pull in r337861 from upstream llvm trunk (by Hideki Saito): [LV] Fix for PR38110, LV encountered llvm_unreachable() Summary: truncateToMinimalBitWidths()

svn commit: r343102 - in stable: 11/contrib/llvm/lib/Transforms/Vectorize 12/contrib/llvm/lib/Transforms/Vectorize

2019-01-16 Thread Dimitry Andric
Author: dim Date: Wed Jan 16 20:38:17 2019 New Revision: 343102 URL: https://svnweb.freebsd.org/changeset/base/343102 Log: Pull in r337861 from upstream llvm trunk (by Hideki Saito): [LV] Fix for PR38110, LV encountered llvm_unreachable() Summary: truncateToMinimalBitWidths()

svn commit: r343104 - head/sys/arm/mv

2019-01-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Jan 16 21:13:50 2019 New Revision: 343104 URL: https://svnweb.freebsd.org/changeset/base/343104 Log: [mv] Fix invalid condition in fdt_fixup_ranges Add parentheses to perform assignment before comparison. The prior condition worked because fdt_parent_addr_cells

svn commit: r343105 - head/lib/libedit

2019-01-16 Thread Jilles Tjoelker
Author: jilles Date: Wed Jan 16 21:59:18 2019 New Revision: 343105 URL: https://svnweb.freebsd.org/changeset/base/343105 Log: libedit: Avoid out of bounds read in 'bind' command This is CVS revision 1.31 from NetBSD lib/libedit/chartype.c: Make sure that argv is NULL terminated since

svn commit: r343109 - head/tools/build/mk

2019-01-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 17 06:22:14 2019 New Revision: 343109 URL: https://svnweb.freebsd.org/changeset/base/343109 Log: Add optional obsolete files for the installworld without sendmail Add two more entries for WITHOUT_SENDMAIL install. The /var/spool/clientmqueue entry would be

Re: svn commit: r343111 - in head: cddl/lib/libdtrace contrib/libc++/include contrib/libxo/tests/gettext contrib/libxo/tests/gettext/po/pig_latin contrib/openbsm/libbsm contrib/openbsm/sys/bsm lib/lib

2019-01-16 Thread Charlie Li via svn-src-all
On 17/01/2019 01:35, Kirk McKusick wrote: > Modified: head/contrib/libc++/include/errno.h > == > --- head/contrib/libc++/include/errno.h Thu Jan 17 06:34:39 2019 > (r343110) > +++

svn commit: r343111 - in head: cddl/lib/libdtrace contrib/libc++/include contrib/libxo/tests/gettext contrib/libxo/tests/gettext/po/pig_latin contrib/openbsm/libbsm contrib/openbsm/sys/bsm lib/libc...

2019-01-16 Thread Kirk McKusick
Author: mckusick Date: Thu Jan 17 06:35:45 2019 New Revision: 343111 URL: https://svnweb.freebsd.org/changeset/base/343111 Log: Create new EINTEGRITY error with message "Integrity check failed". An integrity check such as a check-hash or a cross-correlation failed. The integrity error

Re: svn commit: r343111 - in head: cddl/lib/libdtrace contrib/libc++/include contrib/libxo/tests/gettext contrib/libxo/tests/gettext/po/pig_latin contrib/openbsm/libbsm contrib/openbsm/sys/bsm lib/lib

2019-01-16 Thread Oliver Pinter
On Thursday, January 17, 2019, Kirk McKusick wrote: > Author: mckusick > Date: Thu Jan 17 06:35:45 2019 > New Revision: 343111 > URL: https://svnweb.freebsd.org/changeset/base/343111 > > Log: > Create new EINTEGRITY error with message "Integrity check failed". > > An integrity check such as

svn commit: r343107 - head/sys/kern

2019-01-16 Thread Konstantin Belousov
Author: kib Date: Thu Jan 17 04:51:05 2019 New Revision: 343107 URL: https://svnweb.freebsd.org/changeset/base/343107 Log: Re-wrap long line after r341827. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/kern/kern_fork.c Modified:

svn commit: r343108 - head/sys/amd64/vmm/intel

2019-01-16 Thread Konstantin Belousov
Author: kib Date: Thu Jan 17 05:15:25 2019 New Revision: 343108 URL: https://svnweb.freebsd.org/changeset/base/343108 Log: Trim whitespace at EoL, use tabs instead of spaces for indent. PR: 235004 Submitted by: Jose Luis Duran MFC after:3 days Modified:

svn commit: r343110 - head/tools/build/mk

2019-01-16 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Jan 17 06:34:39 2019 New Revision: 343110 URL: https://svnweb.freebsd.org/changeset/base/343110 Log: Fix conditional obsolete files entry for WITHOUT_EXAMPLES Add all the files under /usr/share/examples to the MK_EXAMPLES section. OLD_DIRS entries are not removed

Re: svn commit: r343058 - in head/sys: compat/linuxkpi/common/src vm

2019-01-16 Thread Bruce Evans
On Tue, 15 Jan 2019, Gleb Smirnoff wrote: On Tue, Jan 15, 2019 at 01:46:23PM -0600, Justin Hibbits wrote: J> Why not #include counter.h in the relevant vm_machdep.c files instead? This also is ugly :( Not sure more or less. Probably less, but I urged to plug all possible compilation failures

svn commit: r343088 - in head/sys/dev: rtwn/usb usb

2019-01-16 Thread Andriy Voskoboinyk
Author: avos Date: Wed Jan 16 10:33:51 2019 New Revision: 343088 URL: https://svnweb.freebsd.org/changeset/base/343088 Log: rtwn_usb(4): add new USB id for RTL8821AU Reported by: Mike Tancsa Tested by:Mike Tancsa MFC after:3 days Modified: