svn commit: r339830 - head/usr.sbin/bsdinstall/scripts

2018-10-27 Thread Devin Teske
Author: dteske Date: Sun Oct 28 00:58:39 2018 New Revision: 339830 URL: https://svnweb.freebsd.org/changeset/base/339830 Log: Adjust for 80-columns. No functional change. Sponsored by: Smule, Inc. Modified: head/usr.sbin/bsdinstall/scripts/zfsboot Modified: head/usr.sbin/bsdinstall

svn commit: r339829 - stable/11/lib/libc/stdio

2018-10-27 Thread Cy Schubert
Author: cy Date: Sun Oct 28 00:57:44 2018 New Revision: 339829 URL: https://svnweb.freebsd.org/changeset/base/339829 Log: Follow up on r331936. gets_s(3) will also fail in the same way that gets(3) does. This was missed in r331936. Reported by: emaste@ Modified: stable/11/lib/libc/std

svn commit: r339828 - stable/12/lib/libc/stdio

2018-10-27 Thread Cy Schubert
Author: cy Date: Sun Oct 28 00:57:39 2018 New Revision: 339828 URL: https://svnweb.freebsd.org/changeset/base/339828 Log: Follow up on r331936. gets_s(3) will also fail in the same way that gets(3) does. This was missed in r331936. Reported by: emaste@ Approved by: re (kib@) Modified

svn commit: r339827 - head/usr.bin/localedef

2018-10-27 Thread Yuri Pankov
Author: yuripv Date: Sat Oct 27 23:31:42 2018 New Revision: 339827 URL: https://svnweb.freebsd.org/changeset/base/339827 Log: localedef: define characters in "space" class also as "print", except for the known conflicts ("control" characters can't be "print"able). POSIX doesn't explicitly fo

Re: svn commit: r339823 - in head/sys/dev: atkbdc evdev kbdmux usb/input

2018-10-27 Thread Niclas Zeising
On 10/27/18 11:26 PM, Vladimir Kondratyev wrote: On 27.10.2018 23:32, Niclas Zeising wrote: On 10/27/18 10:22 PM, Vladimir Kondratyev wrote: Author: wulf Date: Sat Oct 27 20:22:41 2018 New Revision: 339823 URL: https://svnweb.freebsd.org/changeset/base/339823 Log:    evdev: Use console lock a

Re: svn commit: r339823 - in head/sys/dev: atkbdc evdev kbdmux usb/input

2018-10-27 Thread Vladimir Kondratyev
On 27.10.2018 23:32, Niclas Zeising wrote: > On 10/27/18 10:22 PM, Vladimir Kondratyev wrote: >> Author: wulf >> Date: Sat Oct 27 20:22:41 2018 >> New Revision: 339823 >> URL: https://svnweb.freebsd.org/changeset/base/339823 >> >> Log: >>    evdev: Use console lock as evdev lock for all supported k

svn commit: r339826 - in head: sys/amd64/vmm/intel usr.sbin/bhyve

2018-10-27 Thread Yuri Pankov
Author: yuripv Date: Sat Oct 27 21:24:28 2018 New Revision: 339826 URL: https://svnweb.freebsd.org/changeset/base/339826 Log: Provide basic descriptions for VMX exit reason (from "Intel 64 and IA-32 Architectures Software Developer’s Manual Volume 3"). Add the document to SEE ALSO in bhyve.

svn commit: r339825 - in stable/12: lib/libc/locale share/colldef share/ctypedef share/mk targets/pseudo/userland tools/tools/locale/tools usr.bin/localedef

2018-10-27 Thread Yuri Pankov
Author: yuripv Date: Sat Oct 27 21:17:01 2018 New Revision: 339825 URL: https://svnweb.freebsd.org/changeset/base/339825 Log: MFC r339489: Add -b/-l options to localedef(1) to specify output endianness and use it appropriately when building share/ctypedef and share/colldef. This make

svn commit: r339824 - head/sys/dev/evdev

2018-10-27 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 27 21:04:34 2018 New Revision: 339824 URL: https://svnweb.freebsd.org/changeset/base/339824 Log: evdev: disable evdev if it is invoked from KDB or panic context This allow to prevent deadlock on entering KDB if one of evdev locks is already taken by userspace pr

Re: svn commit: r339823 - in head/sys/dev: atkbdc evdev kbdmux usb/input

2018-10-27 Thread Niclas Zeising
On 10/27/18 10:22 PM, Vladimir Kondratyev wrote: Author: wulf Date: Sat Oct 27 20:22:41 2018 New Revision: 339823 URL: https://svnweb.freebsd.org/changeset/base/339823 Log: evdev: Use console lock as evdev lock for all supported keyboard drivers. Now evdev part of keyboard drivers does

svn commit: r339823 - in head/sys/dev: atkbdc evdev kbdmux usb/input

2018-10-27 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 27 20:22:41 2018 New Revision: 339823 URL: https://svnweb.freebsd.org/changeset/base/339823 Log: evdev: Use console lock as evdev lock for all supported keyboard drivers. Now evdev part of keyboard drivers does not take any locks if corresponding input/eventN de

svn commit: r339822 - head/bin/sh

2018-10-27 Thread Jilles Tjoelker
Author: jilles Date: Sat Oct 27 20:17:57 2018 New Revision: 339822 URL: https://svnweb.freebsd.org/changeset/base/339822 Log: sh: Use exitstatus instead of exerrno to pass EXEXEC status No functional change is intended. Modified: head/bin/sh/eval.c head/bin/sh/exec.c head/bin/sh/exec

svn commit: r339821 - stable/11/sys/sys

2018-10-27 Thread Dag-Erling Smørgrav
Author: des Date: Sat Oct 27 19:08:06 2018 New Revision: 339821 URL: https://svnweb.freebsd.org/changeset/base/339821 Log: MFH (r305124): fix case where fd_lastfile is -1. Modified: stable/11/sys/sys/filedesc.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/sys/

svn commit: r339820 - head/sys/kern

2018-10-27 Thread Mark Johnston
Author: markj Date: Sat Oct 27 18:48:49 2018 New Revision: 339820 URL: https://svnweb.freebsd.org/changeset/base/339820 Log: Use M_WAITOK in init_hwpmc(). No functional change intended. MFC after:2 weeks Modified: head/sys/kern/kern_pmc.c Modified: head/sys/kern/kern_pmc.c

svn commit: r339819 - head/sys/vm

2018-10-27 Thread Alan Cox
Author: alc Date: Sat Oct 27 17:49:46 2018 New Revision: 339819 URL: https://svnweb.freebsd.org/changeset/base/339819 Log: Eliminate typically pointless calls to vm_fault_prefault() on soft, copy- on-write faults. On a page fault, when we call vm_fault_prefault(), it probes the pmap and the

svn commit: r339818 - in head: libexec/rc sbin/rcorder share/man/man8 usr.sbin/acpi/acpiconf

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 17:21:13 2018 New Revision: 339818 URL: https://svnweb.freebsd.org/changeset/base/339818 Log: rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" and runs scripts containing "KEYWORD: resume" with single "resume" argument. Working exa

svn commit: r339817 - head/libexec/makewhatis.local

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 17:15:58 2018 New Revision: 339817 URL: https://svnweb.freebsd.org/changeset/base/339817 Log: makewhatis: do not try to operate on read-only mounted directories just to fail later. MFC after:1 month Modified: head/libexec/makewhatis.local/makewhatis.l

svn commit: r339816 - head/sbin/mount_msdosfs

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 16:41:34 2018 New Revision: 339816 URL: https://svnweb.freebsd.org/changeset/base/339816 Log: mount_msdosfs: do not fail mounts requiring locale name conversion table that is already present in a kernel statically. For example, the command "mount_msdosfs -L

svn commit: r339815 - in head/sys/geom: . nop part raid stripe uzip

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 16:14:42 2018 New Revision: 339815 URL: https://svnweb.freebsd.org/changeset/base/339815 Log: Extend stripeoffset and stripesize of GEOMs from u_int to off_t GEOM's stripeoffset overflows at 4 gigabyte margin (2^32) because of its u_int type. This leads to i

svn commit: r339814 - in head/sys: dev/random sys

2018-10-27 Thread Conrad Meyer
Author: cem Date: Sat Oct 27 15:09:35 2018 New Revision: 339814 URL: https://svnweb.freebsd.org/changeset/base/339814 Log: random(4): Match enabled sources mask to build options r287023 and r334450 added build option mechanisms to permanently disable spammy and/or low quality entropy sour

Re: svn commit: r339784 - head/sbin/dumpon

2018-10-27 Thread Alexey Dokuchaev
On Fri, Oct 26, 2018 at 07:54:00PM +, Conrad Meyer wrote: > New Revision: 339784 > URL: https://svnweb.freebsd.org/changeset/base/339784 > > Log: > dumpon(8): Provide seatbelt against weak RSA keys > > ... > +#if OPENSSL_VERSION_NUMBER >= 0x1010L > + if (RSA_security_bits(pubkey)

svn commit: r339812 - head/libexec/rc

2018-10-27 Thread Dag-Erling Smørgrav
Author: des Date: Sat Oct 27 09:34:33 2018 New Revision: 339812 URL: https://svnweb.freebsd.org/changeset/base/339812 Log: Add default value for local_unbound_tls + fix nearby style bugs. Reported by: bcran@ MFC after:3 days Modified: head/libexec/rc/rc.conf Modified: head/libexe

svn commit: r339811 - head/sbin/route

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 07:59:19 2018 New Revision: 339811 URL: https://svnweb.freebsd.org/changeset/base/339811 Log: route(8): correctly return exit status when "-q" flag is used. Previously, route returned 1 in case of error properly signalling failure but "route -q" it returned

svn commit: r339808 - head/sys/netinet

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 04:59:35 2018 New Revision: 339808 URL: https://svnweb.freebsd.org/changeset/base/339808 Log: Prevent ip_input() from panicing due to unprotected access to INADDR_HASH. PR: 220078 MFC after:1 month Differential Revision:

svn commit: r339809 - head/usr.sbin/cxgbetool

2018-10-27 Thread Navdeep Parhar
Author: np Date: Sat Oct 27 05:26:09 2018 New Revision: 339809 URL: https://svnweb.freebsd.org/changeset/base/339809 Log: cxgbetool(8): Add a subaction (tcbrss ) that can be used with "pass" action to distribute traffic using the half of the VI's RSS indirection table. The value specifi

svn commit: r339806 - head/sys/net

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 04:45:28 2018 New Revision: 339806 URL: https://svnweb.freebsd.org/changeset/base/339806 Log: Prevent stf(4) from panicing due to unprotected access to INADDR_HASH. PR: 220078 MFC after:1 month Differential Revision:ht

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

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 07:32:26 2018 New Revision: 339810 URL: https://svnweb.freebsd.org/changeset/base/339810 Log: ipfw: implement ngtee/netgraph actions for layer-2 frames. Kernel part of ipfw does not support and ignores rules other than "pass", "deny" and dummynet-related for

Re: svn commit: r339655 - head/contrib/jemalloc/src

2018-10-27 Thread Antoine Brodin
On Tue, Oct 23, 2018 at 4:11 PM Edward Tomasz Napierala wrote: > Author: trasz > Date: Tue Oct 23 14:11:35 2018 > New Revision: 339655 > URL: https://svnweb.freebsd.org/changeset/base/339655 > > Log: > Pick f80c97e477d1b3fe7778c65d9439d673738b4131 from upstream: > > Rework the way jemalloc

svn commit: r339807 - head/sys/netinet

2018-10-27 Thread Eugene Grosbein
Author: eugen Date: Sat Oct 27 04:53:25 2018 New Revision: 339807 URL: https://svnweb.freebsd.org/changeset/base/339807 Log: Prevent multicast code from panicing due to unprotected access to INADDR_HASH. PR: 220078 MFC after:1 month Differential Revision:

svn commit: r339805 - head/stand/lua

2018-10-27 Thread Kyle Evans
Author: kevans Date: Sat Oct 27 04:10:42 2018 New Revision: 339805 URL: https://svnweb.freebsd.org/changeset/base/339805 Log: lualoader: Always return a proper dictionary for blacklist If module_blacklist isn't specified, we have an empty blacklist; effectively the same as if module_black

svn commit: r339804 - head/sys/geom/eli

2018-10-27 Thread Xin LI
Author: delphij Date: Sat Oct 27 03:37:14 2018 New Revision: 339804 URL: https://svnweb.freebsd.org/changeset/base/339804 Log: Restore backward compatibility for "attach" verb. In r332361 and r333439, two new parameters were added to geli attach verb using gctl_get_paraml, which requires

svn commit: r339803 - in stable/12/sys/powerpc: booke include powerpc

2018-10-27 Thread Justin Hibbits
Author: jhibbits Date: Sat Oct 27 03:16:32 2018 New Revision: 339803 URL: https://svnweb.freebsd.org/changeset/base/339803 Log: MFC r339514: powerpcspe: Implement SPE exception handling The Signal Processing Engine (SPE) found in Freescale e500 cores (and others) offloads IEEE-754 co