svn commit: r326727 - head/usr.sbin/efibootmgr

2017-12-08 Thread Warner Losh
Author: imp Date: Sat Dec 9 07:43:55 2017 New Revision: 326727 URL: https://svnweb.freebsd.org/changeset/base/326727 Log: Remove vestiges of -d and -p commands. Fix two core dumps when optional data isn't specified. Sponsored by: Netflix Modified:

svn commit: r326728 - head/usr.sbin/efibootmgr

2017-12-08 Thread Warner Losh
Author: imp Date: Sat Dec 9 07:44:00 2017 New Revision: 326728 URL: https://svnweb.freebsd.org/changeset/base/326728 Log: Indent multiple device path entries correctly. Sponsored by: Netflix Modified: head/usr.sbin/efibootmgr/efibootmgr.c Modified:

svn commit: r326726 - head/usr.sbin/efibootmgr

2017-12-08 Thread Warner Losh
Author: imp Date: Sat Dec 9 06:57:19 2017 New Revision: 326726 URL: https://svnweb.freebsd.org/changeset/base/326726 Log: Forgotten in 326725 Release Notes: Yes Modified: head/usr.sbin/efibootmgr/efibootmgr.c Modified: head/usr.sbin/efibootmgr/efibootmgr.c

svn commit: r326725 - in head/usr.sbin: . efibootmgr

2017-12-08 Thread Warner Losh
Author: imp Date: Sat Dec 9 06:52:20 2017 New Revision: 326725 URL: https://svnweb.freebsd.org/changeset/base/326725 Log: Import Netflix's efibootmgr to help manage UEFI boot variables efibootmgr manages the UEFI Boot variables that implement the UEFI Boot Manager protocol defined

svn commit: r326724 - head/share/misc

2017-12-08 Thread Warner Losh
Author: imp Date: Sat Dec 9 05:05:25 2017 New Revision: 326724 URL: https://svnweb.freebsd.org/changeset/base/326724 Log: Add two dates derived from looking at archival source tarballs in the TUHS collection for 7th Edition and V32. Modified: head/share/misc/bsd-family-tree Modified:

Re: svn commit: r326614 - in head: etc/mtree usr.bin usr.bin/sponge usr.bin/tee

2017-12-08 Thread Kyle Evans
On Dec 8, 2017 8:07 PM, "Eitan Adler" wrote: On 8 December 2017 at 12:11, Rodney W. Grimes wrote: > Ping, I have not seen this reverted and recommitted with a reasonable > explination as to why this change is actually desired. Sorry, work

Re: svn commit: r326614 - in head: etc/mtree usr.bin usr.bin/sponge usr.bin/tee

2017-12-08 Thread Conrad Meyer
On Fri, Dec 8, 2017 at 6:07 PM, Eitan Adler wrote: > On 8 December 2017 at 12:11, Rodney W. Grimes > wrote: > >> Ping, I have not seen this reverted and recommitted with a reasonable >> explination as to why this change is actually desired. > >

svn commit: r326722 - in releng/11.1: . crypto/openssl/crypto/bn/asm crypto/openssl/ssl secure/lib/libcrypto/amd64 sys/conf

2017-12-08 Thread Gordon Tetlow
Author: gordon Date: Sat Dec 9 03:44:26 2017 New Revision: 326722 URL: https://svnweb.freebsd.org/changeset/base/326722 Log: Fix multiple OpenSSL vulnerabilities. Approved by: so Security: CVE-2017-3737 Security: CVE-2017-3738 Security: FreeBSD-SA-17:12.openssl

svn commit: r326721 - stable/10/crypto/openssl/ssl

2017-12-08 Thread Gordon Tetlow
Author: gordon Date: Sat Dec 9 03:41:31 2017 New Revision: 326721 URL: https://svnweb.freebsd.org/changeset/base/326721 Log: Fix error state handling. Security: CVE-2017-3737 Security: FreeBSD-SA-17:12.openssl Modified: stable/10/crypto/openssl/ssl/ssl.h Modified:

svn commit: r326723 - in releng: 10.3 10.3/crypto/openssl/ssl 10.3/sys/conf 10.4 10.4/crypto/openssl/ssl 10.4/sys/conf

2017-12-08 Thread Gordon Tetlow
Author: gordon Date: Sat Dec 9 03:45:23 2017 New Revision: 326723 URL: https://svnweb.freebsd.org/changeset/base/326723 Log: Fix error state handling Approved by: so Security: CVE-2017-3737 Security: FreeBSD-SA-17:12.openssl Modified: releng/10.3/UPDATING

Re: svn commit: r326614 - in head: etc/mtree usr.bin usr.bin/sponge usr.bin/tee

2017-12-08 Thread Eitan Adler
On 8 December 2017 at 12:11, Rodney W. Grimes wrote: > Ping, I have not seen this reverted and recommitted with a reasonable > explination as to why this change is actually desired. Sorry, work has been busy and as the crux was reverted it didn't feel as

svn commit: r326720 - in head/stand: . ficl

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 22:19:41 2017 New Revision: 326720 URL: https://svnweb.freebsd.org/changeset/base/326720 Log: This path belongs in ficl/Makefile, not the common defines for users of ficl. Sponsored by: Netflix Modified: head/stand/ficl.mk head/stand/ficl/Makefile

svn commit: r326719 - in head: . include lib/libc/gen

2017-12-08 Thread Ed Schouten
(r326719) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20171208: Remove basename_r(3) +OLD_FILES+=usr/share/man/man3/basename_r.3.gz # 20171204: Move fdformat man page from volume 1 to volume 8. OLD_FILES+=usr/share/man/man1/fdformat.1.gz # 20171203: libproc version bump

svn commit: r326718 - head/tools/tools/nanobsd/embedded

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 21:59:50 2017 New Revision: 326718 URL: https://svnweb.freebsd.org/changeset/base/326718 Log: Don't automatically create objdir here. We're just after the TMPPATH. We'll make the paths later. Sponsored by: Netflix Modified:

svn commit: r326717 - head/tools/tools/nanobsd/embedded

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 21:59:42 2017 New Revision: 326717 URL: https://svnweb.freebsd.org/changeset/base/326717 Log: Remove local here. It was a cut and paste error. Sponsored by: Netflix Modified: head/tools/tools/nanobsd/embedded/common Modified:

svn commit: r326716 - head/contrib/ofed/libibnetdisc

2017-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 8 21:01:09 2017 New Revision: 326716 URL: https://svnweb.freebsd.org/changeset/base/326716 Log: Correctly define the unordered_map namespace in ofed/libibnetdisc . This should fix ofed/libibnetdisc compilation with C-compilers different from clang and GCC

Re: svn commit: r326614 - in head: etc/mtree usr.bin usr.bin/sponge usr.bin/tee

2017-12-08 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Tue, Dec 5, 2017 at 7:10 PM, Rodney W. Grimes > wrote: > > [ Charset UTF-8 unsupported, converting... ] > >> Author: eadler > >> Date: Wed Dec 6 02:47:46 2017 > >> New Revision: 326614 > >> URL:

Re: svn commit: r326702 - head/sys/net

2017-12-08 Thread shurd
On Fri, 8 Dec 2017 13:57:13 -0500, Ryan Stone wrote: On Fri, Dec 8, 2017 at 1:43 PM, Stephen Hurd wrote: Author: shurd Date: Fri Dec 8 18:43:31 2017 New Revision: 326702 URL: https://svnweb.freebsd.org/changeset/base/326702 + if (!M_WRITABLE(*m_head)) { + new_head = m_dup(*m_head,

svn commit: r326715 - stable/11/sys/geom/mirror

2017-12-08 Thread Mark Johnston
Author: markj Date: Fri Dec 8 20:04:10 2017 New Revision: 326715 URL: https://svnweb.freebsd.org/changeset/base/326715 Log: MFC r325044: Fix a lock leak in g_mirror_destroy(). Modified: stable/11/sys/geom/mirror/g_mirror.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r326714 - head/stand/efi/boot1

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:57:26 2017 New Revision: 326714 URL: https://svnweb.freebsd.org/changeset/base/326714 Log: boot1.c needs EFI_ZFS_BOOT too, so add it globally. Otherwise we'll not be able to actually read ZFS partitions. Submitted by: kevans@ Modified:

svn commit: r326711 - head/stand/common

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:57:11 2017 New Revision: 326711 URL: https://svnweb.freebsd.org/changeset/base/326711 Log: Const poison a couple of interfaces. Obtained from: lua boot project Sponsored by: Netflix Modified: head/stand/common/bootstrap.h

svn commit: r326712 - in head/stand: . common

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:57:16 2017 New Revision: 326712 URL: https://svnweb.freebsd.org/changeset/base/326712 Log: Create interp class. Create an interp class. Use it to separate out the different types of interpreters: forth and simple with function pointers rather than via

svn commit: r326709 - head/stand/libsa

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:57:02 2017 New Revision: 326709 URL: https://svnweb.freebsd.org/changeset/base/326709 Log: Provide implementations for iscntrl, ispunct and isgraph. Sponsored by: Netflix Modified: head/stand/libsa/stand.h Modified: head/stand/libsa/stand.h

svn commit: r326713 - head/tools/boot

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:57:21 2017 New Revision: 326713 URL: https://svnweb.freebsd.org/changeset/base/326713 Log: Build WITHOUT_FORTH too, at least for amd64 and i386 Sponsored by: Netflix Modified: head/tools/boot/universe.sh Modified: head/tools/boot/universe.sh

svn commit: r326710 - head/stand/libsa

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:57:06 2017 New Revision: 326710 URL: https://svnweb.freebsd.org/changeset/base/326710 Log: Put the files we're copying over into a few variables and add them to CLEANDIRS and CLEANFILES so make clean removes any divots. Sponsored by: Netflix Modified:

svn commit: r326707 - head/stand/libsa

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:56:35 2017 New Revision: 326707 URL: https://svnweb.freebsd.org/changeset/base/326707 Log: Add partial support signal.h functioanlity. Pull in machine/signal.h to define sig_atomic_t. Sponsored by: Netflix Modified: head/stand/libsa/Makefile

svn commit: r326708 - head/stand/libsa

2017-12-08 Thread Warner Losh
Author: imp Date: Fri Dec 8 19:56:57 2017 New Revision: 326708 URL: https://svnweb.freebsd.org/changeset/base/326708 Log: Remove _KERNEL hack now that errno.h does the right thing when _STANDALONE is defined. Sponsored By: Netflix Modified: head/stand/libsa/stand.h Modified:

svn commit: r326706 - head/sys/net

2017-12-08 Thread Stephen Hurd
Author: shurd Date: Fri Dec 8 19:50:06 2017 New Revision: 326706 URL: https://svnweb.freebsd.org/changeset/base/326706 Log: Free mbuf chain when m_dup fails Fix memory leak where mbuf chain wasn't free()d if iflib_ether_pad() has a failure in m_dup(). Reported by: "Ryan Stone"

svn commit: r326705 - head/cddl/usr.sbin/dtrace/tests/common/env

2017-12-08 Thread Mark Johnston
Author: markj Date: Fri Dec 8 19:26:25 2017 New Revision: 326705 URL: https://svnweb.freebsd.org/changeset/base/326705 Log: Actually add the -x setenv test Makefile, missed in r326499. X-MFC with: r326499 Added: head/cddl/usr.sbin/dtrace/tests/common/env/

svn commit: r326704 - stable/10/sys/ofed/drivers/infiniband/core

2017-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 8 19:21:46 2017 New Revision: 326704 URL: https://svnweb.freebsd.org/changeset/base/326704 Log: Add support for IPv6 based addresses as part of the TCP unify portspace feature in ibcore. This resolves an interopability issue when using both iWarp(T6) and

svn commit: r326703 - stable/11/sys/ofed/drivers/infiniband/core

2017-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 8 19:19:47 2017 New Revision: 326703 URL: https://svnweb.freebsd.org/changeset/base/326703 Log: Add support for IPv6 based addresses as part of the TCP unify portspace feature in ibcore. This resolves an interopability issue when using both iWarp(T6) and

Re: svn commit: r326702 - head/sys/net

2017-12-08 Thread Ryan Stone
On Fri, Dec 8, 2017 at 1:43 PM, Stephen Hurd wrote: > Author: shurd > Date: Fri Dec 8 18:43:31 2017 > New Revision: 326702 > URL: https://svnweb.freebsd.org/changeset/base/326702 > + if (!M_WRITABLE(*m_head)) { > + new_head = m_dup(*m_head, M_NOWAIT); > +

svn commit: r326702 - head/sys/net

2017-12-08 Thread Stephen Hurd
Author: shurd Date: Fri Dec 8 18:43:31 2017 New Revision: 326702 URL: https://svnweb.freebsd.org/changeset/base/326702 Log: Handle read-only mbufs in iflib ether pad function If ethernet padding is enabled, and a read-only mbuf is passed, it would modify the mbuf using m_append().

svn commit: r326701 - stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace

2017-12-08 Thread Mark Johnston
Author: markj Date: Fri Dec 8 18:04:43 2017 New Revision: 326701 URL: https://svnweb.freebsd.org/changeset/base/326701 Log: MFC r326134: Duplicate helpers after disabling inherited tracepoints during a fork. Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c

svn commit: r326700 - head/lib/libc/isc

2017-12-08 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 8 17:52:53 2017 New Revision: 326700 URL: https://svnweb.freebsd.org/changeset/base/326700 Log: SPDX: more ISC-related files. Modified: head/lib/libc/isc/ev_streams.c head/lib/libc/isc/ev_timers.c head/lib/libc/isc/eventlib_p.h Modified:

svn commit: r326699 - stable/11/sys/vm

2017-12-08 Thread Mark Johnston
Author: markj Date: Fri Dec 8 17:16:35 2017 New Revision: 326699 URL: https://svnweb.freebsd.org/changeset/base/326699 Log: MFC r326371: Verify the object/vnode association after vget() in vm_pageout_clean(). Modified: stable/11/sys/vm/vm_pageout.c Directory Properties: stable/11/

svn commit: r326698 - head/usr.bin/at

2017-12-08 Thread Alan Somers
Author: asomers Date: Fri Dec 8 17:15:20 2017 New Revision: 326698 URL: https://svnweb.freebsd.org/changeset/base/326698 Log: at(1): annotate some intended switch-case fallthroughs Reported by: Coverity CID: 1008191 MFC after:3 weeks Sponsored by: Spectra Logic Corp

svn commit: r326697 - stable/11/sys/cddl/dev/dtrace

2017-12-08 Thread Mark Johnston
Author: markj Date: Fri Dec 8 16:25:05 2017 New Revision: 326697 URL: https://svnweb.freebsd.org/changeset/base/326697 Log: MFC r326286: Don't use pcpu_find() to determine if a CPU ID is valid. Modified: stable/11/sys/cddl/dev/dtrace/dtrace_ioctl.c Directory Properties: stable/11/

svn commit: r326696 - stable/11/sys/geom/mirror

2017-12-08 Thread Mark Johnston
Author: markj Date: Fri Dec 8 16:12:45 2017 New Revision: 326696 URL: https://svnweb.freebsd.org/changeset/base/326696 Log: MFC r302794, r306744, r307691, r307692, r316174, r316681, r316859, r316866, r316867, r316869: Various gmirror fixes and cleanups. Modified:

svn commit: r326695 - in head: include include/arpa lib/libc/include/isc lib/libc/inet lib/libc/nameser lib/libc/resolv sys/dev/ath/ath_hal sys/dev/ath/ath_hal/ah_regdomain sys/dev/ath/ath_hal/ar52...

2017-12-08 Thread Pedro F. Giffuni
Author: pfg Date: Fri Dec 8 15:57:29 2017 New Revision: 326695 URL: https://svnweb.freebsd.org/changeset/base/326695 Log: SPDX: license IDs for some ISC-related files. Modified: head/include/arpa/inet.h head/include/arpa/nameser.h head/include/ftw.h head/include/hesiod.h

Re: svn commit: r326383 - head/sys/x86/cpufreq

2017-12-08 Thread Alexey Dokuchaev
On Thu, Dec 07, 2017 at 01:26:48PM -0500, Jung-uk Kim wrote: > On 12/07/2017 05:03, Alexey Dokuchaev wrote: > > On Thu, Nov 30, 2017 at 03:08:49PM -0500, Jung-uk Kim wrote: > >> ... > >> Probably. However, I am just trying to fix my FX-8350 and A10-6800 and > >> I don't have Zen processors to

svn commit: r326694 - in stable/8: share/man/man4 sys/net

2017-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 8 15:37:36 2017 New Revision: 326694 URL: https://svnweb.freebsd.org/changeset/base/326694 Log: MFC r326362: Disallow TUN and TAP character device IOCTLs to modify the network device type to any value. This can cause page faults and panics due to accessing

svn commit: r326693 - in stable/9: share/man/man4 sys/net

2017-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 8 15:30:59 2017 New Revision: 326693 URL: https://svnweb.freebsd.org/changeset/base/326693 Log: MFC r326362: Disallow TUN and TAP character device IOCTLs to modify the network device type to any value. This can cause page faults and panics due to accessing

svn commit: r326692 - in stable/10: share/man/man4 sys/net

2017-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 8 15:26:57 2017 New Revision: 326692 URL: https://svnweb.freebsd.org/changeset/base/326692 Log: MFC r326362: Disallow TUN and TAP character device IOCTLs to modify the network device type to any value. This can cause page faults and panics due to accessing

svn commit: r326691 - in stable/11: share/man/man4 sys/net

2017-12-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Dec 8 15:23:17 2017 New Revision: 326691 URL: https://svnweb.freebsd.org/changeset/base/326691 Log: MFC r326362: Disallow TUN and TAP character device IOCTLs to modify the network device type to any value. This can cause page faults and panics due to accessing

svn commit: r326690 - stable/10/share/misc

2017-12-08 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 8 10:50:13 2017 New Revision: 326690 URL: https://svnweb.freebsd.org/changeset/base/326690 Log: MFC r326633: Update to 2017-12-06 Modified: stable/10/share/misc/pci_vendors Directory Properties: stable/10/ (props changed) Modified:

svn commit: r326689 - stable/11/share/misc

2017-12-08 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 8 10:49:53 2017 New Revision: 326689 URL: https://svnweb.freebsd.org/changeset/base/326689 Log: MFC r326633: Update to 2017-12-06 Modified: stable/11/share/misc/pci_vendors Directory Properties: stable/11/ (props changed) Modified:

svn commit: r326688 - stable/10/usr.bin/man

2017-12-08 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 8 10:47:29 2017 New Revision: 326688 URL: https://svnweb.freebsd.org/changeset/base/326688 Log: MFC r326527: Only skip looking for manpages if both man directory and cat directory are not existing. This allows man(1) to read catpages when no man

svn commit: r326687 - stable/11/usr.bin/man

2017-12-08 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 8 10:47:24 2017 New Revision: 326687 URL: https://svnweb.freebsd.org/changeset/base/326687 Log: MFC r326527: Only skip looking for manpages if both man directory and cat directory are not existing. This allows man(1) to read catpages when no man

svn commit: r326686 - stable/10/usr.bin/man

2017-12-08 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 8 10:44:44 2017 New Revision: 326686 URL: https://svnweb.freebsd.org/changeset/base/326686 Log: MFC r326526: In case man(1) found a catpage to display skip looking ".so" which is manpage only. In case we are trying to read a catpage, the manpage variable

svn commit: r326685 - stable/11/usr.bin/man

2017-12-08 Thread Baptiste Daroussin
Author: bapt Date: Fri Dec 8 10:42:05 2017 New Revision: 326685 URL: https://svnweb.freebsd.org/changeset/base/326685 Log: MFC r326526: In case man(1) found a catpage to display skip looking ".so" which is manpage only. In case we are trying to read a catpage, the manpage variable

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

2017-12-08 Thread Konstantin Belousov
Author: kib Date: Fri Dec 8 10:31:02 2017 New Revision: 326684 URL: https://svnweb.freebsd.org/changeset/base/326684 Log: MFC r326429: Destroy seltd st_mtx and st_wait in seltdfini(). Modified: stable/11/sys/kern/sys_generic.c Directory Properties: stable/11/ (props changed)

svn commit: r326683 - head/sys/dev/uart

2017-12-08 Thread Andrew Turner
Author: andrew Date: Fri Dec 8 10:05:23 2017 New Revision: 326683 URL: https://svnweb.freebsd.org/changeset/base/326683 Log: Set the io width when using an ACPI uart. Previously it would only ever be set when finding the uart from the device tree. Sponsored by: DARPA, AFRL Modified:

svn commit: r326682 - stable/11/sys/netipsec

2017-12-08 Thread Andrey V. Elsukov
Author: ae Date: Fri Dec 8 08:16:36 2017 New Revision: 326682 URL: https://svnweb.freebsd.org/changeset/base/326682 Log: MFC r326422: Do better cleaning in key_destroy() for VIMAGE case. SPDB was cleaned using TAILQ_CONCAT() instead of calling key_unlink() for each SP, thus we