svn commit: r350273 - stable/11/lib/libc/stdlib

2019-07-23 Thread Konstantin Belousov
Author: kib Date: Wed Jul 24 06:32:21 2019 New Revision: 350273 URL: https://svnweb.freebsd.org/changeset/base/350273 Log: MFC r347617 (by bcr), r350091: Add an example to bsearch.3. Modified: stable/11/lib/libc/stdlib/bsearch.3 Directory Properties: stable/11/ (props changed) Modified

svn commit: r350272 - stable/12/lib/libc/stdlib

2019-07-23 Thread Konstantin Belousov
Author: kib Date: Wed Jul 24 06:29:19 2019 New Revision: 350272 URL: https://svnweb.freebsd.org/changeset/base/350272 Log: MFC r350091: bsearch.3: Improve the example Modified: stable/12/lib/libc/stdlib/bsearch.3 Directory Properties: stable/12/ (props changed) Modified: stable/12/lib/

svn commit: r350271 - svnadmin/conf

2019-07-23 Thread Glen Barber
Author: gjb Date: Wed Jul 24 04:48:04 2019 New Revision: 350271 URL: https://svnweb.freebsd.org/changeset/base/350271 Log: Belatedly turn over releng/11.3 to so@. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (Netgate) Modified: svnadmin/conf/approvers Modified

svn commit: r350270 - stable/12/sys/powerpc/powerpc

2019-07-23 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 24 02:48:29 2019 New Revision: 350270 URL: https://svnweb.freebsd.org/changeset/base/350270 Log: MFC r349874 powerpc: Clamp 32-bit binaries to 32-bit MAXUSER sv_maxuser specifies the maximum addressable space for user space. Presently this is all 64-bi

svn commit: r350269 - stable/12/sys/powerpc/powerpc

2019-07-23 Thread Justin Hibbits
Author: jhibbits Date: Wed Jul 24 02:37:39 2019 New Revision: 350269 URL: https://svnweb.freebsd.org/changeset/base/350269 Log: MFC r346771 powerpc: micro-optimize cpu_switch() Since the non-volatile registers are restored at the end of cpu_switchin (of the new thread) they're free f

svn commit: r350268 - head/share/man/man9

2019-07-23 Thread Alan Somers
Author: asomers Date: Tue Jul 23 23:14:57 2019 New Revision: 350268 URL: https://svnweb.freebsd.org/changeset/base/350268 Log: VOP_FSYNC.9: update copyright after r345677 MFC after:2 weeks MFC-With: r345677 Sponsored by: The FreeBSD Foundation Modified: head/share/man/man9/VO

svn commit: r350267 - stable/12/sys/dev/cxgbe

2019-07-23 Thread Navdeep Parhar
Author: np Date: Tue Jul 23 22:18:09 2019 New Revision: 350267 URL: https://svnweb.freebsd.org/changeset/base/350267 Log: MFC r340173 (by jhb@): Add a facility for transmitting "raw" work requests on regular NIC queues. - Use PH_loc.eight[1] as a general 'cflags' (Chelsio flags) field

svn commit: r350266 - stable/12/sys/dev/cxgbe

2019-07-23 Thread Navdeep Parhar
Author: np Date: Tue Jul 23 22:00:19 2019 New Revision: 350266 URL: https://svnweb.freebsd.org/changeset/base/350266 Log: MFC r349870: cxgbe(4): Clear the freelist statistics in the clearstats ioctl. Move all clearstats code into its own function while here. Sponsored by: Chelsio

svn commit: r350265 - in head: share/man/man4 sys/netinet

2019-07-23 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 23 21:28:20 2019 New Revision: 350265 URL: https://svnweb.freebsd.org/changeset/base/350265 Log: Add a sysctl variable ts_offset_per_conn to change the computation of the TCP TS offset from taking the IP addresses and the TCP port numbers into account to a versio

svn commit: r350264 - stable/12/sys/dev/cxgbe/common

2019-07-23 Thread Navdeep Parhar
Author: np Date: Tue Jul 23 21:26:03 2019 New Revision: 350264 URL: https://svnweb.freebsd.org/changeset/base/350264 Log: MFC r349956: cxgbe(4): Completely ignore all top level interrupts that are not enabled. The driver used to log any non-zero cause and when running with a single l

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

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 21:15:28 2019 New Revision: 350263 URL: https://svnweb.freebsd.org/changeset/base/350263 Log: MFC r350260: mqueuefs: fix struct file leak In some error cases we previously leaked a stuct file. Submitted by: mjg, markj Approved by: so (insta-MFC) Modi

svn commit: r350262 - stable/12/sys/dev/cxgbe

2019-07-23 Thread Navdeep Parhar
Author: np Date: Tue Jul 23 21:14:24 2019 New Revision: 350262 URL: https://svnweb.freebsd.org/changeset/base/350262 Log: MFC r349865: cxgbe(4): Use the simplest configuration possible when falling back from the default configuration. Sponsored by: Chelsio Communications Modified:

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

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 21:12:32 2019 New Revision: 350261 URL: https://svnweb.freebsd.org/changeset/base/350261 Log: MFC r350260: mqueuefs: fix struct file leak In some error cases we previously leaked a stuct file. Submitted by: mjg, markj Approved by: so (insta-MFC) Modi

svn commit: r350260 - head/sys/kern

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 20:59:36 2019 New Revision: 350260 URL: https://svnweb.freebsd.org/changeset/base/350260 Log: mqueuefs: fix struct file leak In some error cases we previously leaked a stuct file. Submitted by: mjg, markj Modified: head/sys/kern/uipc_mqueue.c Modifie

svn commit: r350259 - in stable/11: . contrib/compiler-rt/lib/sanitizer_common contrib/libunwind/src contrib/llvm/lib/DebugInfo/DWARF contrib/llvm/lib/MC contrib/llvm/lib/Object contrib/llvm/lib/Ta...

2019-07-23 Thread Dimitry Andric
== --- stable/11/ObsoleteFiles.inc Tue Jul 23 20:28:29 2019(r350258) +++ stable/11/ObsoleteFiles.inc Tue Jul 23 20:31:54 2019(r350259) @@ -38,6 +38,156 @@ # xargs -n1 | sort | uniq -d; # done +# 20190723: new clang import which bumps version

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

2019-07-23 Thread Dimitry Andric
Author: dim Date: Tue Jul 23 20:28:29 2019 New Revision: 350258 URL: https://svnweb.freebsd.org/changeset/base/350258 Log: MFC r348689 (by emaste): Use CLANG knob to remove llvm-symbolizer man page r348504 moved llvm-symbolizer from the CLANG_EXTRAS knob to CLANG, but the man page wa

svn commit: r350257 - head/sbin/camcontrol

2019-07-23 Thread Alexander Motin
Author: mav Date: Tue Jul 23 19:42:03 2019 New Revision: 350257 URL: https://svnweb.freebsd.org/changeset/base/350257 Log: Make `camcontrol hpa` and `camcontrol ama` trigger reprobe. This makes OS automatically see the disk's new disk size. MFC after:2 weeks Sponsored by: iXsyste

Re: svn commit: r350256 - in stable/12: . contrib/compiler-rt/lib/sanitizer_common contrib/libunwind/src contrib/llvm/lib/DebugInfo/DWARF contrib/llvm/lib/MC contrib/llvm/lib/Object contrib/llvm/lib/T

2019-07-23 Thread Kyle Evans
On Tue, Jul 23, 2019 at 1:41 PM Dimitry Andric wrote: > > Author: dim > Date: Tue Jul 23 18:40:32 2019 > New Revision: 350256 > URL: https://svnweb.freebsd.org/changeset/base/350256 > > Log: > MFC r348504 (by kevans): > > llvm-symbolizer: Move out of CLANG_EXTRAS, into CLANG > > ASAN reports

svn commit: r350256 - in stable/12: . contrib/compiler-rt/lib/sanitizer_common contrib/libunwind/src contrib/llvm/lib/DebugInfo/DWARF contrib/llvm/lib/MC contrib/llvm/lib/Object contrib/llvm/lib/Ta...

2019-07-23 Thread Dimitry Andric
== --- stable/12/ObsoleteFiles.inc Tue Jul 23 18:40:07 2019(r350255) +++ stable/12/ObsoleteFiles.inc Tue Jul 23 18:40:32 2019(r350256) @@ -38,6 +38,156 @@ # xargs -n1 | sort | uniq -d; # done +# 20190723: new clang

svn commit: r350255 - head/usr.sbin/bhyve

2019-07-23 Thread Scott Long
Author: scottl Date: Tue Jul 23 18:40:07 2019 New Revision: 350255 URL: https://svnweb.freebsd.org/changeset/base/350255 Log: Fix the register layout for the Buffer Descript List Entry. It got jumbled around during some other cleanups and was causing audio failures on some guests. PR:

svn commit: r350254 - head/sys/netinet

2019-07-23 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 23 18:31:07 2019 New Revision: 350254 URL: https://svnweb.freebsd.org/changeset/base/350254 Log: Don't hold a mutex while calling sbwait. This was found by syzkaller. Submitted by: rrs@ Reported by: markj@ MFC after:1 week Modif

svn commit: r350253 - head/sys/dev/ixgbe

2019-07-23 Thread Eric Joyner
Author: erj Date: Tue Jul 23 18:14:32 2019 New Revision: 350253 URL: https://svnweb.freebsd.org/changeset/base/350253 Log: ixgbe(4): Fix enabling/disabling and reconfiguration of queues - Wrong order of casting and bit shift caused that enabling and disabling queues didn't work properly

svn commit: r350252 - stable/11/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:12:44 2019 New Revision: 350252 URL: https://svnweb.freebsd.org/changeset/base/350252 Log: bhyve: Fix resource leak when using strdup MFC r340044 (araujo): Fix resource leak when using strdup(3). MFC r344160 (rgrimes): In r340044 an attempt

svn commit: r350251 - stable/12/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:11:42 2019 New Revision: 350251 URL: https://svnweb.freebsd.org/changeset/base/350251 Log: bhyve: Fix resource leak when using strdup MFC r340044 (araujo): Fix resource leak when using strdup(3). MFC r344160 (rgrimes): In r340044 an attempt

svn commit: r350249 - stable/12/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:07:44 2019 New Revision: 350249 URL: https://svnweb.freebsd.org/changeset/base/350249 Log: MFC r349915 (seanc): usr.sbin/bhyve: initialize return value ... ... in xhci device interrupt handler Coverity CID: 1357340 Modified: stable/12/usr.sbin/bhyv

svn commit: r350250 - stable/11/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 18:08:22 2019 New Revision: 350250 URL: https://svnweb.freebsd.org/changeset/base/350250 Log: MFC r349915 (seanc): usr.sbin/bhyve: initialize return value ... ... in xhci device interrupt handler Coverity CID: 1357340 Modified: stable/11/usr.sbin/bhyv

svn commit: r350248 - head/sys/netinet

2019-07-23 Thread Michael Tuexen
Author: tuexen Date: Tue Jul 23 18:07:36 2019 New Revision: 350248 URL: https://svnweb.freebsd.org/changeset/base/350248 Log: Fix a LOR in SCTP which was found by running syzkaller. Submitted by: rrs@ Reported by: markj@ MFC after:1 week Modified: head/sy

svn commit: r350247 - stable/11/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 17:48:37 2019 New Revision: 350247 URL: https://svnweb.freebsd.org/changeset/base/350247 Log: MFC r350244: bhyve: correct out-of-bounds read in XHCI device emulation Add appropriate bounds checks on the epid and streamid fields in the device doorbell regist

svn commit: r350246 - stable/12/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 17:48:37 2019 New Revision: 350246 URL: https://svnweb.freebsd.org/changeset/base/350246 Log: MFC r350244: bhyve: correct out-of-bounds read in XHCI device emulation Add appropriate bounds checks on the epid and streamid fields in the device doorbell regist

svn commit: r350245 - head/usr.sbin/pciconf

2019-07-23 Thread Andrew Gallatin
Author: gallatin Date: Tue Jul 23 16:28:17 2019 New Revision: 350245 URL: https://svnweb.freebsd.org/changeset/base/350245 Log: pciconf: report PCI Gen4 speeds PCIe gen4 runs at 16GT/s. Report this as the speed of Gen4 links. Reviewed by: imp MFC after:7 days Sponsored by:

svn commit: r350244 - head/usr.sbin/bhyve

2019-07-23 Thread Ed Maste
Author: emaste Date: Tue Jul 23 16:27:36 2019 New Revision: 350244 URL: https://svnweb.freebsd.org/changeset/base/350244 Log: bhyve: correct out-of-bounds read in XHCI device emulation Add appropriate bounds checks on the epid and streamid fields in the device doorbell registers. adm

svn commit: r350243 - head/share/man/man9

2019-07-23 Thread Konstantin Belousov
Author: kib Date: Tue Jul 23 16:11:38 2019 New Revision: 350243 URL: https://svnweb.freebsd.org/changeset/base/350243 Log: Update refcount(9). Describe missed functions. Give some hint about refcount_release(9) memory ordering guarantees. Reviewed by: markj Sponsored by: The FreeB

svn commit: r350242 - head/sys/arm64/include

2019-07-23 Thread Andrew Turner
Author: andrew Date: Tue Jul 23 14:52:46 2019 New Revision: 350242 URL: https://svnweb.freebsd.org/changeset/base/350242 Log: As with r350241 use the new UL macro on the main register mask. MFC after:1 week Sponsored by: DARPA, AFRL Modified: head/sys/arm64/include/armreg.h Modifi

svn commit: r350241 - head/sys/arm64/include

2019-07-23 Thread Andrew Turner
Author: andrew Date: Tue Jul 23 14:40:37 2019 New Revision: 350241 URL: https://svnweb.freebsd.org/changeset/base/350241 Log: Ensure the arm64 ID register fields are 64 bit types. Previously only some of the ID register fields were 64 bit. To allow for a script to generate these mark them

svn commit: r350240 - head/sys/netpfil/ipfw

2019-07-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 23 12:52:36 2019 New Revision: 350240 URL: https://svnweb.freebsd.org/changeset/base/350240 Log: Eliminate rmlock from ipfw's BPF code. After r343631 pfil hooks are invoked in net_epoch_preempt section, this allows to avoid extra locking. Add NET_EPOCH_ASSER() ass

svn commit: r350239 - head/tests/sys/kern

2019-07-23 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Jul 23 09:39:27 2019 New Revision: 350239 URL: https://svnweb.freebsd.org/changeset/base/350239 Log: Temporarily skip flakey test case sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger PR: 239399 Sponsored by: The FreeBSD Foundation Mo

svn commit: r350238 - head/tests/sys/kern

2019-07-23 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Jul 23 09:19:58 2019 New Revision: 350238 URL: https://svnweb.freebsd.org/changeset/base/350238 Log: Temporarily skip flakey test case sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger PR: 239397 Sponsored by: The FreeBSD Foundat

svn commit: r350237 - stable/12/tests/sys/netpfil/pf

2019-07-23 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Jul 23 08:20:52 2019 New Revision: 350237 URL: https://svnweb.freebsd.org/changeset/base/350237 Log: MFC r350221 Temporarily skip sys.netpfil.pf.forward.{v4,v6} and sys.netpfil.pf.set_tos.v4 on i386 as they are flakey on it PR: 239380 Sponsored by:

svn commit: r350236 - stable/12/contrib/netbsd-tests/lib/libc/regex

2019-07-23 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Jul 23 08:18:08 2019 New Revision: 350236 URL: https://svnweb.freebsd.org/changeset/base/350236 Log: MFC r350219 Temporarily skip lib.libc.regex.exhaust_test.regcomp_too_big and lib.libregex.exhaust_test.regcomp_too_big on i386 as they are flakey on it PR:

svn commit: r350235 - head/tests/sys/kern

2019-07-23 Thread Li-Wen Hsu
Author: lwhsu Date: Tue Jul 23 07:56:42 2019 New Revision: 350235 URL: https://svnweb.freebsd.org/changeset/base/350235 Log: Temporarily skip flakey test case sys.kern.ptrace_test.ptrace__PT_KILL_competing_stop PR: 220841 Sponsored by: The FreeBSD Foundation Modified: head/