svn commit: r349638 - head/sys/arm64/rockchip

2019-07-02 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Wed Jul 3 03:42:51 2019 New Revision: 349638 URL: https://svnweb.freebsd.org/changeset/base/349638 Log: Subclass Rockchip's General Register Files driver from Simple MFD driver. Modified: head/sys/arm64/rockchip/rk_grf.c Modified: head/sys/arm64/rockchip/rk_grf.c

svn commit: r349634 - releng/11.3/release/doc/en_US.ISO8859-1/relnotes

2019-07-02 Thread Glen Barber
Author: gjb Date: Wed Jul 3 00:58:10 2019 New Revision: 349634 URL: https://svnweb.freebsd.org/changeset/base/349634 Log: Document r349620, tzdata 2019b. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r349637 - head/sys/conf

2019-07-02 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Wed Jul 3 01:40:29 2019 New Revision: 349637 URL: https://svnweb.freebsd.org/changeset/base/349637 Log: Fix build error introduced by r349596. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r349636 - releng/11.3/release/doc/share/xml

2019-07-02 Thread Glen Barber
Author: gjb Date: Wed Jul 3 01:04:11 2019 New Revision: 349636 URL: https://svnweb.freebsd.org/changeset/base/349636 Log: Document SA-19:09, SA-19:11. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (Netgate) Modified:

svn commit: r349635 - stable/11/release/doc/share/xml

2019-07-02 Thread Glen Barber
Author: gjb Date: Wed Jul 3 01:00:48 2019 New Revision: 349635 URL: https://svnweb.freebsd.org/changeset/base/349635 Log: Document EN-19:12, SA-19:09-11. Sponsored by: Rubicon Communications, LLC (Netgate) Modified: stable/11/release/doc/share/xml/errata.xml

svn commit: r349633 - stable/11/sbin/dhclient

2019-07-02 Thread Mark Johnston
Author: markj Date: Wed Jul 3 00:36:34 2019 New Revision: 349633 URL: https://svnweb.freebsd.org/changeset/base/349633 Log: MFC r349439: Free DHCP options with length zero. Modified: stable/11/sbin/dhclient/options.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r349632 - stable/12/sbin/dhclient

2019-07-02 Thread Mark Johnston
Author: markj Date: Wed Jul 3 00:36:00 2019 New Revision: 349632 URL: https://svnweb.freebsd.org/changeset/base/349632 Log: MFC r349439: Free DHCP options with length zero. Modified: stable/12/sbin/dhclient/options.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r349631 - stable/11/sbin/dhclient

2019-07-02 Thread Mark Johnston
Author: markj Date: Wed Jul 3 00:35:14 2019 New Revision: 349631 URL: https://svnweb.freebsd.org/changeset/base/349631 Log: MFC r349438: Avoid a divide-by-zero when bad checksum counters overflow. Modified: stable/11/sbin/dhclient/packet.c Directory Properties: stable/11/ (props

svn commit: r349630 - stable/12/sbin/dhclient

2019-07-02 Thread Mark Johnston
Author: markj Date: Wed Jul 3 00:32:42 2019 New Revision: 349630 URL: https://svnweb.freebsd.org/changeset/base/349630 Log: MFC r349438: Avoid a divide-by-zero when bad checksum counters overflow. Modified: stable/12/sbin/dhclient/packet.c Directory Properties: stable/12/ (props

svn commit: r349629 - in stable/11/sys: cam/scsi compat/linux dev/mcd dev/scd sys

2019-07-02 Thread Mark Johnston
Author: markj Date: Wed Jul 3 00:12:50 2019 New Revision: 349629 URL: https://svnweb.freebsd.org/changeset/base/349629 Log: MFC r349627: Remove the CDIOCREADSUBCHANNEL_SYSSPACE ioctl. admbugs: 768 Reported by: Alex Fortune Approved by: so Security: CVE-2019-5602

svn commit: r349628 - in stable/12/sys: cam/scsi compat/linux sys

2019-07-02 Thread Mark Johnston
Author: markj Date: Wed Jul 3 00:11:31 2019 New Revision: 349628 URL: https://svnweb.freebsd.org/changeset/base/349628 Log: MFC r349627: Remove the CDIOCREADSUBCHANNEL_SYSSPACE ioctl. admbugs: 768 Reported by: Alex Fortune Approved by: so Security: CVE-2019-5602

svn commit: r349627 - in head/sys: cam/scsi compat/linux sys

2019-07-02 Thread Mark Johnston
Author: markj Date: Wed Jul 3 00:10:01 2019 New Revision: 349627 URL: https://svnweb.freebsd.org/changeset/base/349627 Log: Remove the CDIOCREADSUBCHANNEL_SYSSPACE ioctl. This was added for emulation of Linux's CDROMSUBCHNL, but allows users with read access to a cd(4) device to

svn commit: r349624 - stable/11/lib/libc/iconv

2019-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 3 00:03:14 2019 New Revision: 349624 URL: https://svnweb.freebsd.org/changeset/base/349624 Log: MFC r349619: libc: correct iconv buffer overflow admbugs: 920 Submitted by: Andrea Venturoli, gabor Reported by: Andrea Venturoli , NetFence Approved

svn commit: r349626 - in releng: 11.2 11.2/sys/conf 11.3 11.3/sys/conf 12.0 12.0/sys/conf

2019-07-02 Thread Gordon Tetlow
. +20190702 p11 FreeBSD-EN-19:12.tzdata + FreeBSD-SA-19:09.iconv + FreeBSD-SA-19:10.ufs + FreeBSD-SA-19:11.cd_ioctl + + Import tzdata 2019b. [EN-19:12.tzdata] + + Fix iconv buffer overflow. [SA-19:09.iconv] + + Fix

svn commit: r349625 - in releng: 11.2/sys/cam/scsi 11.2/sys/compat/linux 11.2/sys/dev/mcd 11.2/sys/dev/scd 11.2/sys/sys 11.3/sys/cam/scsi 11.3/sys/compat/linux 11.3/sys/dev/mcd 11.3/sys/dev/scd 11....

2019-07-02 Thread Gordon Tetlow
Author: gordon Date: Wed Jul 3 00:03:55 2019 New Revision: 349625 URL: https://svnweb.freebsd.org/changeset/base/349625 Log: Fix privilege escalation in cd(4) driver. Approved by: so Approved by: re (implicit) Security: FreeBSD-SA-19:11.cd_ioctl Security: CVE-2019-5602

svn commit: r349623 - in releng: 11.2/sbin/fsck_ffs 11.2/sys/ufs/ufs 12.0/sbin/fsck_ffs 12.0/sys/ufs/ufs

2019-07-02 Thread Gordon Tetlow
Author: gordon Date: Wed Jul 3 00:02:16 2019 New Revision: 349623 URL: https://svnweb.freebsd.org/changeset/base/349623 Log: Fix kernel stack disclosure in UFS/FFS. Approved by: so Security: FreeBSD-SA-19:10.ufs Security: CVE-2019-5601 Modified:

svn commit: r349622 - stable/12/lib/libc/iconv

2019-07-02 Thread Ed Maste
Author: emaste Date: Wed Jul 3 00:01:38 2019 New Revision: 349622 URL: https://svnweb.freebsd.org/changeset/base/349622 Log: MFC r349619: libc: correct iconv buffer overflow admbugs: 920 Submitted by: Andrea Venturoli, gabor Reported by: Andrea Venturoli , NetFence Approved

svn commit: r349621 - in releng: 11.2/lib/libc/iconv 11.3/lib/libc/iconv 12.0/lib/libc/iconv

2019-07-02 Thread Gordon Tetlow
Author: gordon Date: Wed Jul 3 00:00:39 2019 New Revision: 349621 URL: https://svnweb.freebsd.org/changeset/base/349621 Log: Fix iconv buffer overflow. Approved by: so Approved by: re (implicit) Security: FreeBSD-SA-19:09.iconv Modified:

svn commit: r349620 - in releng: 11.2/contrib/tzdata 11.3/contrib/tzdata 12.0/contrib/tzdata

2019-07-02 Thread Gordon Tetlow
Author: gordon Date: Tue Jul 2 23:59:45 2019 New Revision: 349620 URL: https://svnweb.freebsd.org/changeset/base/349620 Log: Import tzdata 2019b. Approved by: so Approved by: re (implicit) Security: FreeBSD-EN-19:12.tzdata Modified: releng/11.2/contrib/tzdata/Makefile

svn commit: r349619 - head/lib/libc/iconv

2019-07-02 Thread Ed Maste
Author: emaste Date: Tue Jul 2 23:56:37 2019 New Revision: 349619 URL: https://svnweb.freebsd.org/changeset/base/349619 Log: libc: correct iconv buffer overflow admbugs: 920 Submitted by: Andrea Venturoli, gabor Reported by: Andrea Venturoli , NetFence Security:

svn commit: r349618 - head/sys/arm64/arm64

2019-07-02 Thread Alan Cox
Author: alc Date: Tue Jul 2 23:02:52 2019 New Revision: 349618 URL: https://svnweb.freebsd.org/changeset/base/349618 Log: Implement pmap_copy(). (This includes the changes applied to the amd64 pmap_copy() in r349585.) Reviewed by: kib, markj Differential Revision:

svn commit: r349617 - head/sys/kern

2019-07-02 Thread John Baldwin
Author: jhb Date: Tue Jul 2 22:58:21 2019 New Revision: 349617 URL: https://svnweb.freebsd.org/changeset/base/349617 Log: Invoke ext_free function when freeing an unmapped mbuf. Fix a mis-merge when extracting the unmapped mbuf changes from Netflix's in-kernel TLS changes where the call

svn commit: r349616 - head/sys/kern

2019-07-02 Thread John Baldwin
Author: jhb Date: Tue Jul 2 22:57:24 2019 New Revision: 349616 URL: https://svnweb.freebsd.org/changeset/base/349616 Log: Fix description of debug.obsolete_panic. MFC after:1 week Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c

svn commit: r349615 - head/libexec/rtld-elf/rtld-libc

2019-07-02 Thread Alex Richardson
Author: arichardson Date: Tue Jul 2 22:11:07 2019 New Revision: 349615 URL: https://svnweb.freebsd.org/changeset/base/349615 Log: Fix build race when building rtld I found this on one of the CheriBSD Jenkins builders. Using beforelinking instead of ${PROG} should fix the dependency for

svn commit: r349614 - head/sys/kern

2019-07-02 Thread Konstantin Belousov
Author: kib Date: Tue Jul 2 21:03:06 2019 New Revision: 349614 URL: https://svnweb.freebsd.org/changeset/base/349614 Log: More style. Re-wrap long lines, reformat comments, remove excessive blank line. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified:

svn commit: r349613 - head/stand/efi/libefi

2019-07-02 Thread Toomas Soome
Author: tsoome Date: Tue Jul 2 20:32:35 2019 New Revision: 349613 URL: https://svnweb.freebsd.org/changeset/base/349613 Log: efihttp: mac and err can be used uninitialized While there, also check if mac != NULL, and use pointer compare for ipv4 and dns. Modified:

svn commit: r349612 - head/sys/vm

2019-07-02 Thread Mark Johnston
Author: markj Date: Tue Jul 2 19:51:40 2019 New Revision: 349612 URL: https://svnweb.freebsd.org/changeset/base/349612 Log: Mark pages allocated from the per-CPU cache. Only free pages to the cache when they were allocated from that cache. This mitigates rapid fragmentation of physical

svn commit: r349611 - head/sys/kern

2019-07-02 Thread Konstantin Belousov
Author: kib Date: Tue Jul 2 19:32:48 2019 New Revision: 349611 URL: https://svnweb.freebsd.org/changeset/base/349611 Log: Style. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/kern/kern_umtx.c Modified: head/sys/kern/kern_umtx.c

svn commit: r349610 - head/usr.bin/proccontrol

2019-07-02 Thread Konstantin Belousov
Author: kib Date: Tue Jul 2 19:12:02 2019 New Revision: 349610 URL: https://svnweb.freebsd.org/changeset/base/349610 Log: Add implicit PROT_MAX() knob to proccontrol(1). Reviewed by: emaste, markj (previous version) Discussed with: brooks Sponsored by: The FreeBSD Foundation

svn commit: r349609 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys sys/vm

2019-07-02 Thread Konstantin Belousov
Author: kib Date: Tue Jul 2 19:07:17 2019 New Revision: 349609 URL: https://svnweb.freebsd.org/changeset/base/349609 Log: Control implicit PROT_MAX() using procctl(2) and the FreeBSD note feature bit. In particular, allocate the bit to opt-out the image from implicit PROTMAX

svn commit: r349608 - head/sys/vm

2019-07-02 Thread Konstantin Belousov
Author: kib Date: Tue Jul 2 19:01:14 2019 New Revision: 349608 URL: https://svnweb.freebsd.org/changeset/base/349608 Log: Use traditional 'p' local to designate td->td_proc in kern_mmap. Reviewed by: emaste, markj Sponsored by: The FreeBSD Foundation MFC after:3 days

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

2019-07-02 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Tue Jul 2 17:48:27 2019 New Revision: 349607 URL: https://svnweb.freebsd.org/changeset/base/349607 Log: pci(4): Use plural configuration registers Change to use registers instead of register, as it is customary to use plural when talking about

svn commit: r349606 - stable/11/share/man/man4

2019-07-02 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Tue Jul 2 17:24:25 2019 New Revision: 349606 URL: https://svnweb.freebsd.org/changeset/base/349606 Log: MFC 349133 349146 349150: document PCIOCATTACHED r349133: pci(4): Document PCIOCATTACHED Document the PCIOCATTACHED ioctl(2) in the

svn commit: r349605 - stable/12/share/man/man4

2019-07-02 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Tue Jul 2 17:23:37 2019 New Revision: 349605 URL: https://svnweb.freebsd.org/changeset/base/349605 Log: MFC 349133 349146 349150: document PCIOCATTACHED r349133: pci(4): Document PCIOCATTACHED Document the PCIOCATTACHED ioctl(2) in the

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

2019-07-02 Thread Warren Block
Author: wblock (doc committer) Date: Tue Jul 2 16:56:27 2019 New Revision: 349604 URL: https://svnweb.freebsd.org/changeset/base/349604 Log: MFC r349600. Correct name of vmm(4) pptdevs variable. Modified: stable/11/usr.sbin/bhyve/bhyve.8 Directory Properties: stable/11/ (props

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

2019-07-02 Thread Warren Block
Author: wblock (doc committer) Date: Tue Jul 2 16:54:46 2019 New Revision: 349603 URL: https://svnweb.freebsd.org/changeset/base/349603 Log: MFC r349600. Correct name of vmm(4) pptdevs variable. Modified: stable/12/usr.sbin/bhyve/bhyve.8 Directory Properties: stable/12/ (props

svn commit: r349602 - head/sys/dev/usb/net

2019-07-02 Thread Ed Maste
Author: emaste Date: Tue Jul 2 16:44:04 2019 New Revision: 349602 URL: https://svnweb.freebsd.org/changeset/base/349602 Log: if_muge: set IFCAP_VLAN_MTU to maintain 1500 MTU with vlan use PR: 238665 Submitted by: Ralf MFC after:1 week Modified:

svn commit: r349601 - head/sys/dev/ntb/ntb_hw

2019-07-02 Thread Alexander Motin
Author: mav Date: Tue Jul 2 15:01:54 2019 New Revision: 349601 URL: https://svnweb.freebsd.org/changeset/base/349601 Log: Include sys/lock.h, as told by man page. MFC after:1 week Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c

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

2019-07-02 Thread Warren Block
Author: wblock (doc committer) Date: Tue Jul 2 14:53:51 2019 New Revision: 349600 URL: https://svnweb.freebsd.org/changeset/base/349600 Log: Correct name of vmm(4) pptdevs variable. Reported by: nwo...@ixsystems.com Modified: head/usr.sbin/bhyve/bhyve.8 Modified:

svn commit: r349599 - head/sys/kern

2019-07-02 Thread Mark Johnston
Author: markj Date: Tue Jul 2 14:24:42 2019 New Revision: 349599 URL: https://svnweb.freebsd.org/changeset/base/349599 Log: Fix handling of errors from sblock() in soreceive_stream(). Previously we would attempt to unlock the socket buffer despite having failed to lock it. Simply

svn commit: r349598 - stable/11/contrib/tzdata

2019-07-02 Thread Philip Paeps
Author: philip Date: Tue Jul 2 12:22:54 2019 New Revision: 349598 URL: https://svnweb.freebsd.org/changeset/base/349598 Log: MFC r349592: Import tzdata 2019b Modified: stable/11/contrib/tzdata/Makefile stable/11/contrib/tzdata/NEWS stable/11/contrib/tzdata/africa

svn commit: r349597 - stable/12/contrib/tzdata

2019-07-02 Thread Philip Paeps
Author: philip Date: Tue Jul 2 12:22:27 2019 New Revision: 349597 URL: https://svnweb.freebsd.org/changeset/base/349597 Log: MFC r349592: Import tzdata 2019b Modified: stable/12/contrib/tzdata/Makefile stable/12/contrib/tzdata/NEWS stable/12/contrib/tzdata/africa

Re: svn commit: r349596 - head/sys/dev/fdt

2019-07-02 Thread Hans Petter Selasky
On 2019-07-02 10:48, Ganbold Tsagaankhuu wrote: On Tue, Jul 2, 2019 at 4:47 PM Ganbold Tsagaankhuu wrote: Author: ganbold Date: Tue Jul 2 08:47:18 2019 New Revision: 349596 URL: https://svnweb.freebsd.org/changeset/base/349596 Log: Extend simple_mfd driver to expose a syscon interface if

Re: svn commit: r349596 - head/sys/dev/fdt

2019-07-02 Thread Ganbold Tsagaankhuu
On Tue, Jul 2, 2019 at 4:47 PM Ganbold Tsagaankhuu wrote: > Author: ganbold > Date: Tue Jul 2 08:47:18 2019 > New Revision: 349596 > URL: https://svnweb.freebsd.org/changeset/base/349596 > > Log: > Extend simple_mfd driver to expose a syscon interface if > that node is also compatible with

svn commit: r349596 - head/sys/dev/fdt

2019-07-02 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Tue Jul 2 08:47:18 2019 New Revision: 349596 URL: https://svnweb.freebsd.org/changeset/base/349596 Log: Extend simple_mfd driver to expose a syscon interface if that node is also compatible with syscon. For instance, Rockchip RK3399's GRF (General Register Files) is

svn commit: r349595 - head/sys/dev/ntb/ntb_hw

2019-07-02 Thread Alexander Motin
Author: mav Date: Tue Jul 2 07:47:11 2019 New Revision: 349595 URL: https://svnweb.freebsd.org/changeset/base/349595 Log: Fix i386 LINT after r349594. MFC after:1 month Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_amd.c

Re: svn commit: r349589 - in head: sbin/mount sys/sys sys/ufs/ffs

2019-07-02 Thread Benjamin Kaduk
On Mon, Jul 1, 2019 at 8:33 PM Kirk McKusick via svn-src-all < svn-src-all@freebsd.org> wrote: > Author: mckusick > Date: Mon Jul 1 23:22:26 2019 > New Revision: 349589 > URL: https://svnweb.freebsd.org/changeset/base/349589 > > Log: > Add a new "untrusted" option to the mount command. Its

Re: svn commit: r349589 - in head: sbin/mount sys/sys sys/ufs/ffs

2019-07-02 Thread Conrad Meyer
Hi, Maybe the sense of the flag should be reversed? Ie, add a “trusted” flag and default to untrusted. I have two reasons in mind. The first is that a new default-off option is easy to forget, and a missed security feature may be worse than a missed mount-time performance enhancement. The