svn commit: r347606 - head/usr.sbin/ntp/ntpd

2019-05-14 Thread Xin LI
Author: delphij Date: Wed May 15 03:39:27 2019 New Revision: 347606 URL: https://svnweb.freebsd.org/changeset/base/347606 Log: Replace the leap-seconds file in r347488 from USNO with a leap-seconds file from NIST at ftp://ftp.nist.gov/pub/time. Future updates should use the NIST version

svn commit: r347605 - stable/11/cddl/contrib/opensolaris/cmd/zfs

2019-05-14 Thread Alexander Motin
Author: mav Date: Wed May 15 01:40:40 2019 New Revision: 347605 URL: https://svnweb.freebsd.org/changeset/base/347605 Log: MFC r347240: Fix dataset name comparison in zfs_compare(). The code never returned match comparing two datasets (not snapshots). As result, uu_avl_find(), called

svn commit: r347604 - stable/12/cddl/contrib/opensolaris/cmd/zfs

2019-05-14 Thread Alexander Motin
Author: mav Date: Wed May 15 01:38:34 2019 New Revision: 347604 URL: https://svnweb.freebsd.org/changeset/base/347604 Log: MFC r347240: Fix dataset name comparison in zfs_compare(). The code never returned match comparing two datasets (not snapshots). As result, uu_avl_find(), called

svn commit: r347601 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:50:46 2019 New Revision: 347601 URL: https://svnweb.freebsd.org/changeset/base/347601 Log: LinuxKPI: Add prepare to pm_ops and bump FreeBSD version. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1

svn commit: r347600 - head/sys/compat/linuxkpi/common/include/linux

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:32:02 2019 New Revision: 347600 URL: https://svnweb.freebsd.org/changeset/base/347600 Log: LinuxKPI: Add vm_fault_t type. This patch is part of D19565 Reviewed by: hps Approved by: imp (mentor), hps MFC after:1 week Modified:

svn commit: r347597 - in releng: 11.2 11.2/sys/conf 12.0 12.0/sys/conf

2019-05-14 Thread Gordon Tetlow
older versions of FreeBSD, try WITHOUT_CLANG and the tip of head, and then rebuild without this option. The bootstrap process from older version of current across the gcc/clang cutover is a bit fragile. +20190514 p10 FreeBSD-EN-19:08.tzdata + FreeBSD-EN-19:09

svn commit: r347596 - in head/sys: compat/linuxkpi/common/include/linux sys

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:21:20 2019 New Revision: 347596 URL: https://svnweb.freebsd.org/changeset/base/347596 Log: LinuxKPI: Add context member to ww_mutex and bump FreeBSD version. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps Approved by:

svn commit: r347595 - in releng/11.2/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 23:20:16 2019 New Revision: 347595 URL: https://svnweb.freebsd.org/changeset/base/347595 Log: Mitigations for Microarchitectural Data Sampling. Approved by: so Security: FreeBSD-SA-19:07.mds Security: CVE-2018-12126 Security:

svn commit: r347594 - in releng/12.0/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 23:19:08 2019 New Revision: 347594 URL: https://svnweb.freebsd.org/changeset/base/347594 Log: Mitigations for Microarchitectural Data Sampling. Approved by: so Security: FreeBSD-SA-19:07.mds Security: CVE-2018-12126 Security:

svn commit: r347593 - in releng: 11.2/sys/netpfil/pf 12.0/sys/netpfil/pf

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 23:12:22 2019 New Revision: 347593 URL: https://svnweb.freebsd.org/changeset/base/347593 Log: Fix ICMP/ICMP6 packet filter bypass in pf. Approved by: so Security: FreeBSD-SA-19:06.pf Security: CVE-2019-5598 Modified:

svn commit: r347592 - in head/sys/compat/linuxkpi/common: include/linux src

2019-05-14 Thread Johannes Lundberg
Author: johalun Date: Tue May 14 23:12:14 2019 New Revision: 347592 URL: https://svnweb.freebsd.org/changeset/base/347592 Log: LinuxKPI: Let del_timer return a value to match Linux. This patch is part of https://reviews.freebsd.org/D19565. Reviewed by: hps Approved by: imp

svn commit: r347591 - in releng: 11.2/sys/netpfil/pf 12.0/sys/netpfil/pf

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 23:10:21 2019 New Revision: 347591 URL: https://svnweb.freebsd.org/changeset/base/347591 Log: Fix IPv6 fragment reassembly panic in pf Approved by: so Security: FreeBSD-SA-19:05.pf Security: CVE-2019-5597 Modified:

svn commit: r347590 - in releng/11.2: contrib/ntp contrib/ntp/adjtimed contrib/ntp/clockstuff contrib/ntp/html contrib/ntp/include contrib/ntp/include/isc contrib/ntp/kernel contrib/ntp/kernel/sys ...

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 23:06:26 2019 New Revision: 347590 URL: https://svnweb.freebsd.org/changeset/base/347590 Log: Update ntpd to 4.2.8p13 to fix authenticated denial of service. Approved by: so Security: FreeBSD-SA-19:04.ntp Security: CVE-2019-8936 Added:

svn commit: r347589 - in releng/12.0: contrib/ntp contrib/ntp/adjtimed contrib/ntp/clockstuff contrib/ntp/include contrib/ntp/include/isc contrib/ntp/kernel contrib/ntp/kernel/sys contrib/ntp/libnt...

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 23:02:56 2019 New Revision: 347589 URL: https://svnweb.freebsd.org/changeset/base/347589 Log: Update ntpd to 4.2.8p13 to fix authenticated denial of service. Approved by: so Security: FreeBSD-SA-19:04.ntp Security: CVE-2019-8936 Added:

svn commit: r347588 - in releng/11.2: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/patches contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/dr...

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 22:59:32 2019 New Revision: 347588 URL: https://svnweb.freebsd.org/changeset/base/347588 Log: Update hostapd/wpa_supplicant to 2.8 to fix multiple vulnerabilities. Approved by: so Security: FreeBSD-SA-19:03.wpa Security: CVE-2019-9494

svn commit: r347587 - in releng/12.0: . contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers contrib/wpa/...

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 22:57:29 2019 New Revision: 347587 URL: https://svnweb.freebsd.org/changeset/base/347587 Log: Update hostapd/wpa_supplicant to 2.8 to fix multiple vulnerabilities. Approved by: so Security: FreeBSD-SA-19:03.wpa Security: CVE-2019-9494

svn commit: r347586 - releng/12.0/crypto/openssh

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 22:54:17 2019 New Revision: 347586 URL: https://svnweb.freebsd.org/changeset/base/347586 Log: Fix insufficient filename validation in scp client Approved by: so Security: FreeBSD-EN-19:10.scp Modified: releng/12.0/crypto/openssh/scp.1

svn commit: r347585 - in releng: 11.2/usr.bin/xinstall 11.2/usr.bin/xinstall/tests 12.0/usr.bin/xinstall 12.0/usr.bin/xinstall/tests

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 22:51:49 2019 New Revision: 347585 URL: https://svnweb.freebsd.org/changeset/base/347585 Log: Fix partially matching relative paths in xinstall. Approved by: so Security: FreeBSD-EN-19:09.xinstall Modified:

svn commit: r347584 - in releng: 11.2/contrib/tzdata 12.0/contrib/tzdata

2019-05-14 Thread Gordon Tetlow
Author: gordon Date: Tue May 14 22:48:36 2019 New Revision: 347584 URL: https://svnweb.freebsd.org/changeset/base/347584 Log: Import tzdata 2019a. Approved by: so Security: FreeBSD-EN-19:08.tzdata Modified: releng/11.2/contrib/tzdata/Makefile releng/11.2/contrib/tzdata/NEWS

svn commit: r347583 - head/usr.sbin/mountd

2019-05-14 Thread Rick Macklem
Author: rmacklem Date: Tue May 14 22:00:47 2019 New Revision: 347583 URL: https://svnweb.freebsd.org/changeset/base/347583 Log: Replace global list for grouplist with list(s) for each exportlist element. In mountd.c, the grouplist structures are linked into a single global linked list

svn commit: r347582 - in head/sys: netinet netinet6

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 21:30:55 2019 New Revision: 347582 URL: https://svnweb.freebsd.org/changeset/base/347582 Log: Close some races in multicast socket option handling. r333175 converted the global multicast lock to a sleepable sx lock, so the lock order with respect to the

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

2019-05-14 Thread Konstantin Belousov
Author: kib Date: Tue May 14 21:11:15 2019 New Revision: 347581 URL: https://svnweb.freebsd.org/changeset/base/347581 Log: MFC r347148: imgact_elf: do not relock the text vnode if possible. Modified: stable/12/sys/kern/imgact_elf.c Directory Properties: stable/12/ (props changed)

svn commit: r347580 - head/sys/amd64/linux

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:59:44 2019 New Revision: 347580 URL: https://svnweb.freebsd.org/changeset/base/347580 Log: Fix handling of r10 in Linux ptrace(2). This fixes decoding of the 'flags' argument to mmap(2) with Linux strace(1). Reviewed by: dchagin MFC after:2 weeks

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

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:41:24 2019 New Revision: 347579 URL: https://svnweb.freebsd.org/changeset/base/347579 Log: MFC r346120: Use shared vnode locks for the ELF interpreter. Sponsored by: DARPA, AFRL Modified: stable/12/sys/kern/imgact_elf.c Directory Properties:

svn commit: r347578 - head/sys/net

2019-05-14 Thread Kyle Evans
Author: kevans Date: Tue May 14 20:32:29 2019 New Revision: 347578 URL: https://svnweb.freebsd.org/changeset/base/347578 Log: tuntap: Defer clearing if_softc until after if_detach r346670 added an sx to close a race between the ifioctl handler and interface destruction. Unfortunately, it

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

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:29:12 2019 New Revision: 347576 URL: https://svnweb.freebsd.org/changeset/base/347576 Log: MFC r346053: Factor out section loading into a separate function. Sponsored by: DARPA, AFRL Modified: stable/12/sys/kern/imgact_elf.c Directory Properties:

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

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:31:06 2019 New Revision: 347577 URL: https://svnweb.freebsd.org/changeset/base/347577 Log: MFC r346076: Improve vnode lock assertions. Sponsored by: DARPA, AFRL Modified: stable/12/sys/kern/imgact_elf.c Directory Properties: stable/12/ (props

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

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:27:45 2019 New Revision: 347575 URL: https://svnweb.freebsd.org/changeset/base/347575 Log: MFC r346030: Refactor ELF interpreter loading into a separate function. Sponsored by: DARPA, AFRL Modified: stable/12/sys/kern/imgact_elf.c Directory

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

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:26:05 2019 New Revision: 347574 URL: https://svnweb.freebsd.org/changeset/base/347574 Log: MFC r345661: Factor out retrieving the interpreter path from the main ELF loader routine. MFC r345734 by kib: Fix branding after r345661. In

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

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:19:29 2019 New Revision: 347573 URL: https://svnweb.freebsd.org/changeset/base/347573 Log: MFC r345547: Factor out resource limit enforcement code in the ELF loader. It makes the code slightly easier to follow, and might make it easier to fix the

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

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 20:03:19 2019 New Revision: 347572 URL: https://svnweb.freebsd.org/changeset/base/347572 Log: MFC r345448: Remove trunc_page_ps() and round_page_ps() macros. This completes the undoing of r100384. Sponsored by: DARPA, AFRL Modified:

svn commit: r347571 - in stable/12/sys: amd64/amd64 amd64/cloudabi32 amd64/cloudabi64 amd64/linux amd64/linux32 arm/arm arm/cloudabi32 arm64/arm64 arm64/cloudabi32 arm64/cloudabi64 arm64/linux comp...

2019-05-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 14 19:52:18 2019 New Revision: 347571 URL: https://svnweb.freebsd.org/changeset/base/347571 Log: MFC r344705: Remove sv_pagesize, originally introduced with r100384. In all of the architectures we have today, we always use PAGE_SIZE. While in theory one

svn commit: r347570 - head/sys/conf

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 18:26:39 2019 New Revision: 347570 URL: https://svnweb.freebsd.org/changeset/base/347570 Log: Specify -z notext when building with -z ifunc-noplt. The upstream implementation of -z ifunc-noplt disallows its combination with -z text. The option does not

svn commit: r347569 - head/sys/conf

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 18:10:32 2019 New Revision: 347569 URL: https://svnweb.freebsd.org/changeset/base/347569 Log: Remove redundant -Wl uses from the kernel's LDFLAGS. No functional change intended. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified:

svn commit: r347568 - in stable/11/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-14 Thread Konstantin Belousov
Author: kib Date: Tue May 14 17:05:02 2019 New Revision: 347568 URL: https://svnweb.freebsd.org/changeset/base/347568 Log: MFC r347566: Mitigations for Microarchitectural Data Sampling. Reference: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00233.html

svn commit: r347567 - in stable/12/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-14 Thread Konstantin Belousov
Author: kib Date: Tue May 14 17:04:00 2019 New Revision: 347567 URL: https://svnweb.freebsd.org/changeset/base/347567 Log: MFC r347566: Mitigations for Microarchitectural Data Sampling. Reference: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00233.html

svn commit: r347566 - in head/sys: amd64/amd64 amd64/include dev/cpuctl i386/i386 i386/include x86/include x86/x86

2019-05-14 Thread Konstantin Belousov
Author: kib Date: Tue May 14 17:02:20 2019 New Revision: 347566 URL: https://svnweb.freebsd.org/changeset/base/347566 Log: Mitigations for Microarchitectural Data Sampling. Microarchitectural buffers on some Intel processors utilizing speculative execution may allow a local process to

svn commit: r347565 - head/share/man/man4

2019-05-14 Thread Guangyuan Yang
Author: ygy (doc committer) Date: Tue May 14 15:41:34 2019 New Revision: 347565 URL: https://svnweb.freebsd.org/changeset/base/347565 Log: Fix some spelling errors in ng_eiface(4). MFC after:3 days PR: 237764 Submitted by: Tom Marcoen Modified:

svn commit: r347564 - head/sys/amd64/amd64

2019-05-14 Thread Mark Johnston
Author: markj Date: Tue May 14 15:19:48 2019 New Revision: 347564 URL: https://svnweb.freebsd.org/changeset/base/347564 Log: Fix formatting. MFC after:3 days Modified: head/sys/amd64/amd64/trap.c Modified: head/sys/amd64/amd64/trap.c

svn commit: r347563 - head/sys/kern

2019-05-14 Thread Andrey V. Elsukov
Author: ae Date: Tue May 14 10:21:28 2019 New Revision: 347563 URL: https://svnweb.freebsd.org/changeset/base/347563 Log: Remove bpf interface lock, it is no longer exist. Modified: head/sys/kern/subr_witness.c Modified: head/sys/kern/subr_witness.c