svn commit: r343935 - in stable: 11/contrib/llvm/lib/CodeGen/SelectionDAG 12/contrib/llvm/lib/CodeGen/SelectionDAG

2019-02-09 Thread Dimitry Andric
Author: dim Date: Sat Feb 9 12:01:10 2019 New Revision: 343935 URL: https://svnweb.freebsd.org/changeset/base/343935 Log: MFC r342592: Pull in r342397 from upstream llvm trunk (by Amara Emerson): Revert "Revert r342183 "[DAGCombine] Fix crash when store merging created an

svn commit: r343936 - stable/12/usr.sbin/kbdmap

2019-02-09 Thread Stefan Esser
Author: se Date: Sat Feb 9 14:07:04 2019 New Revision: 343936 URL: https://svnweb.freebsd.org/changeset/base/343936 Log: MFC r343303: Silence a CI warning regarding the use of strcpy(). While this is a false positive (a sufficiently large buffer has been allocated in the line above),

svn commit: r343940 - in stable/12/usr.sbin/timed: timed timedc

2019-02-09 Thread Stefan Esser
Author: se Date: Sat Feb 9 14:33:43 2019 New Revision: 343940 URL: https://svnweb.freebsd.org/changeset/base/343940 Log: Add notes regarding the deprecation and removal of timed and timedc in -CURRENT to binaries and man-pages. This is a direct commit to -STABLE, since the removal from

svn commit: r343935 - in stable: 11/contrib/llvm/lib/CodeGen/SelectionDAG 12/contrib/llvm/lib/CodeGen/SelectionDAG

2019-02-09 Thread Dimitry Andric
Author: dim Date: Sat Feb 9 12:01:10 2019 New Revision: 343935 URL: https://svnweb.freebsd.org/changeset/base/343935 Log: MFC r342592: Pull in r342397 from upstream llvm trunk (by Amara Emerson): Revert "Revert r342183 "[DAGCombine] Fix crash when store merging created an

svn commit: r343938 - stable/12/usr.bin/whereis

2019-02-09 Thread Stefan Esser
Author: se Date: Sat Feb 9 14:19:09 2019 New Revision: 343938 URL: https://svnweb.freebsd.org/changeset/base/343938 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: r343941 - stable/12/lib/libfigpar

2019-02-09 Thread Stefan Esser
Author: se Date: Sat Feb 9 14:44:17 2019 New Revision: 343941 URL: https://svnweb.freebsd.org/changeset/base/343941 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:

Re: svn commit: r343940 - in stable/12/usr.sbin/timed: timed timedc

2019-02-09 Thread Rodney W. Grimes
> Author: se > Date: Sat Feb 9 14:33:43 2019 > New Revision: 343940 > URL: https://svnweb.freebsd.org/changeset/base/343940 > > Log: > Add notes regarding the deprecation and removal of timed and timedc in > -CURRENT to binaries and man-pages. > > This is a direct commit to -STABLE,

svn commit: r343939 - stable/12/libexec/getty

2019-02-09 Thread Stefan Esser
Author: se Date: Sat Feb 9 14:21:29 2019 New Revision: 343939 URL: https://svnweb.freebsd.org/changeset/base/343939 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: r343942 - in head: share/misc usr.bin/calendar/calendars

2019-02-09 Thread Johannes Lundberg
Author: johalun Date: Sat Feb 9 16:53:39 2019 New Revision: 343942 URL: https://svnweb.freebsd.org/changeset/base/343942 Log: Add myself to committers-src.dot and calendar.freebsd Reviewed by: imp (mentor) Approved by: imp (mentor) Differential Revision:

svn commit: r343937 - stable/12/usr.sbin/kbdcontrol

2019-02-09 Thread Stefan Esser
Author: se Date: Sat Feb 9 14:13:49 2019 New Revision: 343937 URL: https://svnweb.freebsd.org/changeset/base/343937 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

svn commit: r343945 - head/lib/libc/sys

2019-02-09 Thread Sergey Kandaurov
Author: pluknet Date: Sat Feb 9 21:33:32 2019 New Revision: 343945 URL: https://svnweb.freebsd.org/changeset/base/343945 Log: Document the ENOBUFS errno in setsockopt(2). In particular, it is the case if SO_SNDBUF/SO_RCVBUF would exceed sb_max_adj. PR: 200649 MFC after:

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

2019-02-09 Thread Konstantin Belousov
Author: kib Date: Sun Feb 10 05:42:01 2019 New Revision: 343948 URL: https://svnweb.freebsd.org/changeset/base/343948 Log: MFC r343724: Do not call PHOLD() while owning the allproc_lock sx. Modified: stable/11/sys/kern/kern_proc.c Directory Properties: stable/11/ (props changed)

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

2019-02-09 Thread Konstantin Belousov
Author: kib Date: Sun Feb 10 05:40:28 2019 New Revision: 343947 URL: https://svnweb.freebsd.org/changeset/base/343947 Log: MFC r343724: Do not call PHOLD() while owning the allproc_lock sx. Modified: stable/12/sys/kern/kern_proc.c Directory Properties: stable/12/ (props changed)

svn commit: r343943 - head/sys/ddb

2019-02-09 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 9 21:08:19 2019 New Revision: 343943 URL: https://svnweb.freebsd.org/changeset/base/343943 Log: ddb: Print the thread's pcb in 'show thread' This can aid with debugging when a thread is running and has no backtrace. State can be estimated based on the pcb,

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

2019-02-09 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 9 23:19:33 2019 New Revision: 343946 URL: https://svnweb.freebsd.org/changeset/base/343946 Log: powerpc: Fix AIM build cpu_idle_e500mc is only used in booke, so ignore it completely in AIM. MFC after:2 weeks MFC with: r343944 Modified:

Re: svn commit: r343746 - head/sys/conf

2019-02-09 Thread Conrad Meyer
Hi Andrew, This makes it compile, but instead of a build failure the kernel is broken hard at runtime in early boot with GCC < 8.1. E.g., amd64-xtoolchain-gcc standard cross-toolchain is still on GCC 6.4.0. HEAD GENERIC has been broken in one form or another for xtoolchain GCC since r343713

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

2019-02-09 Thread Justin Hibbits
Author: jhibbits Date: Sat Feb 9 21:19:53 2019 New Revision: 343944 URL: https://svnweb.freebsd.org/changeset/base/343944 Log: powerpc: Split out the e500mc idling from rest of Book-E The e500v2 and e500mc (and derivatives) have different idling procedures, so make them different

svn commit: r343931 - stable/12/sys/netpfil/ipfw

2019-02-09 Thread Andrey V. Elsukov
Author: ae Date: Sat Feb 9 11:05:03 2019 New Revision: 343931 URL: https://svnweb.freebsd.org/changeset/base/343931 Log: MFC r342908: Reduce the size of struct ip_fw_args from 240 to 128 bytes on amd64. And refactor the code to avoid unneeded initialization to reduce overhead of

svn commit: r343932 - stable/12/sys/net

2019-02-09 Thread Marius Strobl
Author: marius Date: Sat Feb 9 11:49:07 2019 New Revision: 343932 URL: https://svnweb.freebsd.org/changeset/base/343932 Log: MFC: r343288 Fix various resource leaks that can occur in the error paths of iflib_device_register() and iflib_pseudo_register(). Reviewed by: shurd

svn commit: r343933 - stable/12/sys/net

2019-02-09 Thread Marius Strobl
Author: marius Date: Sat Feb 9 11:51:59 2019 New Revision: 343933 URL: https://svnweb.freebsd.org/changeset/base/343933 Log: MFC: r343753 o As illustrated by e. g. figure 7-14 of the Intel 82599 10 GbE controller datasheet revision 3.3, in the context of Ethernet MACs the control

svn commit: r343934 - head/sys/dev/e1000

2019-02-09 Thread Marius Strobl
Author: marius Date: Sat Feb 9 11:58:40 2019 New Revision: 343934 URL: https://svnweb.freebsd.org/changeset/base/343934 Log: - Remove the redundant device disabled hint handling; ever since r241119 that's performed globally by device_attach(9). - As for the EM-class of devices, em(4)