svn commit: r349760 - head/sys/riscv/riscv

2019-07-04 Thread Alan Cox
Author: alc Date: Fri Jul 5 05:23:23 2019 New Revision: 349760 URL: https://svnweb.freebsd.org/changeset/base/349760 Log: Merge r349526 from amd64. When we protect an L3 entry, we only call vm_page_dirty() when, in fact, we are write protecting the page and the L3 entry has PTE_D set. How

svn commit: r349759 - in stable: 10/contrib/ipfilter/man 11/contrib/ipfilter/man 12/contrib/ipfilter/man

2019-07-04 Thread Cy Schubert
Author: cy Date: Fri Jul 5 04:24:09 2019 New Revision: 349759 URL: https://svnweb.freebsd.org/changeset/base/349759 Log: MFC r349503-349504: Document the -B, binary logfile, and the -C config file options. Reference the ipmon.5 man page and ipmon.conf. PR: 238816 Modified

svn commit: r349759 - in stable: 10/contrib/ipfilter/man 11/contrib/ipfilter/man 12/contrib/ipfilter/man

2019-07-04 Thread Cy Schubert
Author: cy Date: Fri Jul 5 04:24:09 2019 New Revision: 349759 URL: https://svnweb.freebsd.org/changeset/base/349759 Log: MFC r349503-349504: Document the -B, binary logfile, and the -C config file options. Reference the ipmon.5 man page and ipmon.conf. PR: 238816 Modified

svn commit: r349759 - in stable: 10/contrib/ipfilter/man 11/contrib/ipfilter/man 12/contrib/ipfilter/man

2019-07-04 Thread Cy Schubert
Author: cy Date: Fri Jul 5 04:24:09 2019 New Revision: 349759 URL: https://svnweb.freebsd.org/changeset/base/349759 Log: MFC r349503-349504: Document the -B, binary logfile, and the -C config file options. Reference the ipmon.5 man page and ipmon.conf. PR: 238816 Modified

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

2019-07-04 Thread Konstantin Belousov
Author: kib Date: Fri Jul 5 01:22:16 2019 New Revision: 349758 URL: https://svnweb.freebsd.org/changeset/base/349758 Log: MFC r349611, r349614: Style. Modified: stable/11/sys/kern/kern_umtx.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/kern/kern_umtx.c ===

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

2019-07-04 Thread Konstantin Belousov
Author: kib Date: Fri Jul 5 01:19:28 2019 New Revision: 349757 URL: https://svnweb.freebsd.org/changeset/base/349757 Log: MFC r349611, r349614: Style. Modified: stable/12/sys/kern/kern_umtx.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/kern/kern_umtx.c ===

svn commit: r349756 - stable/11/usr.sbin/mountd

2019-07-04 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 5 01:04:58 2019 New Revision: 349756 URL: https://svnweb.freebsd.org/changeset/base/349756 Log: MFC: r348452 Replace a single linked list with a hash table of lists. mountd.c uses a single linked list of "struct exportlist" structures, where there is one

svn commit: r349755 - stable/12/usr.sbin/mountd

2019-07-04 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 5 00:55:46 2019 New Revision: 349755 URL: https://svnweb.freebsd.org/changeset/base/349755 Log: MFC: r348452 Replace a single linked list with a hash table of lists. mountd.c uses a single linked list of "struct exportlist" structures, where there is one

svn commit: r349754 - in releng/11.3: . lib/csu/common sys/conf

2019-07-04 Thread Glen Barber
Author: gjb Date: Thu Jul 4 23:58:11 2019 New Revision: 349754 URL: https://svnweb.freebsd.org/changeset/base/349754 Log: - Switch releng/11.3 to -RELEASE. - Add the anticipated 11.3-RELEASE date to UPDATING. - Set a static __FreeBSD_version. Approved by: re (implicit) Sponsored by:

svn commit: r349753 - head/sys/dev/netmap

2019-07-04 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Jul 4 21:31:49 2019 New Revision: 349753 URL: https://svnweb.freebsd.org/changeset/base/349753 Log: netmap: Remove pointer leakage in netmap_mem2.c PR: 238641 Submitted by: Fuqian Huang Reviewed by: vmaffione MFC after:1 week Modified: h

svn commit: r349752 - head/sys/dev/netmap

2019-07-04 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Jul 4 21:11:45 2019 New Revision: 349752 URL: https://svnweb.freebsd.org/changeset/base/349752 Log: netmap: fix kernel pointer printing in netmap_generic.c Print the adapter name rather than the address of the adapter to avoid kernel address leakage. PR:

svn commit: r349751 - head/sys/compat/linux

2019-07-04 Thread Ed Maste
Author: emaste Date: Thu Jul 4 20:42:08 2019 New Revision: 349751 URL: https://svnweb.freebsd.org/changeset/base/349751 Log: Update Linux compat version to 2.6.36 New system calls between 2.6.32 and 2.6.26 are already implemented. This should be mostly NFC as far as contemporary Linux

svn commit: r349750 - head/sys/compat/linux

2019-07-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 4 20:16:04 2019 New Revision: 349750 URL: https://svnweb.freebsd.org/changeset/base/349750 Log: Return ENOTSUP for Linux FS_IOC_FIEMAP ioctl. Linux man(1) calls it for no good reason; this avoids the console spam (eg '(man): ioctl fd=4, cmd=0x660b ('f',11) is

svn commit: r349749 - stable/12/share/man/man9

2019-07-04 Thread Ed Maste
Author: emaste Date: Thu Jul 4 19:52:50 2019 New Revision: 349749 URL: https://svnweb.freebsd.org/changeset/base/349749 Log: MFC r349239, r349241: update vm_map_protect.9 Clarify that vm_map_protect cannot upgrade max_protection It's implied by the man page's RETURN VALUES section, bu

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

2019-07-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 4 19:46:58 2019 New Revision: 349748 URL: https://svnweb.freebsd.org/changeset/base/349748 Log: Add support for PTRACE_O_TRACEEXIT to linuxulator ptrace(2). This fixes strace 4.25 from Ubuntu 19.04. Reviewed by: emaste MFC after:2 weeks Sponsored by:

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

2019-07-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 4 19:44:13 2019 New Revision: 349747 URL: https://svnweb.freebsd.org/changeset/base/349747 Log: Implement PTRACE_GETSIGINFO. This makes Linux strace(1) quieter in some cases (strace -f man id > /dev/null). Reviewed by: dchagin MFC after:2 weeks Spons

svn commit: r349746 - head/sys/compat/linux

2019-07-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 4 19:40:01 2019 New Revision: 349746 URL: https://svnweb.freebsd.org/changeset/base/349746 Log: Fix linuxulator prlimit64(2) with pid == 0. This makes 'ulimit -a' return something reasonable, and helps linux binaries which attempt to close all the files, eg apt(

svn commit: r349745 - head/sys/vm

2019-07-04 Thread Doug Moore
Author: dougm Date: Thu Jul 4 19:25:30 2019 New Revision: 349745 URL: https://svnweb.freebsd.org/changeset/base/349745 Log: Move an assignment, drop a label, and change gotos to break statements in vm_map_unwire. The code generated on amd86 is unchanged. Approved by: markj (mentor) Dif

svn commit: r349744 - head/sys/vm

2019-07-04 Thread Doug Moore
Author: dougm Date: Thu Jul 4 19:17:55 2019 New Revision: 349744 URL: https://svnweb.freebsd.org/changeset/base/349744 Log: Replace a 'goto' with an 'else' in vm_map_wire_locked. Reviewed by: alc Approved by: markj (mentor) Differential Revision:https://reviews.freebsd.org/D208

svn commit: r349743 - head/sys/vm

2019-07-04 Thread Doug Moore
Author: dougm Date: Thu Jul 4 19:12:13 2019 New Revision: 349743 URL: https://svnweb.freebsd.org/changeset/base/349743 Log: Change boolean_t variables in vm_map_unwire and vm_map_wire_locked to bool. Drop result variable. Add holes_ok bool to replace repeated masking of flags parameter.

svn commit: r349742 - stable/12/release/powerpc

2019-07-04 Thread Justin Hibbits
Author: jhibbits Date: Thu Jul 4 19:02:03 2019 New Revision: 349742 URL: https://svnweb.freebsd.org/changeset/base/349742 Log: MFC r347986: Update loader size on powerpc isos loader has grown to the point it's overflowing the existing 307200 bytes allocated to it in the HFS boot par

svn commit: r349741 - head/sys/vm

2019-07-04 Thread Doug Moore
Author: dougm Date: Thu Jul 4 18:28:49 2019 New Revision: 349741 URL: https://svnweb.freebsd.org/changeset/base/349741 Log: Drop a temp variable from vm_map_insert, with no effect on the resulting amd64 machine code. Reviewed by: alc Approved by: kib, markj (mentors, implicit) Differ

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

2019-07-04 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Jul 4 18:21:01 2019 New Revision: 349740 URL: https://svnweb.freebsd.org/changeset/base/349740 Log: bhyve: vtnet: fix locking on receive The vsc_rx_ready and the RX virtqueue is protected by the rx_mtx lock. However, pci_vtnet_ping_rxq() (currently called only

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

2019-07-04 Thread Vincenzo Maffione
Author: vmaffione Date: Thu Jul 4 18:20:02 2019 New Revision: 349739 URL: https://svnweb.freebsd.org/changeset/base/349739 Log: MFC r349019 bhyve: move common code to net_utils.c Both virtio_net and e82545 network frontends have code to validate and generate MAC addresses. These fun

svn commit: r349738 - stable/12/contrib/elftoolchain/readelf

2019-07-04 Thread Mitchell Horne
Author: mhorne Date: Thu Jul 4 17:24:48 2019 New Revision: 349738 URL: https://svnweb.freebsd.org/changeset/base/349738 Log: MFC r349563: readelf: Add RISC-V DWARF register aliases Approved by: markj (mentor, implicit) Modified: stable/12/contrib/elftoolchain/readelf/readelf.c Direct

Re: svn commit: r349736 - in stable/12/contrib/elftoolchain: common readelf

2019-07-04 Thread Mitchell Horne
On Thu, Jul 4, 2019 at 1:17 PM Mitchell Horne wrote: > > Author: mhorne > Date: Thu Jul 4 17:17:00 2019 > New Revision: 349736 > URL: https://svnweb.freebsd.org/changeset/base/349736 > > Log: > MFC r349482,r349563: Apologies, this should read r349482,r349562. The svn mergeinfo is correct howev

svn commit: r349737 - stable/12/contrib/elftoolchain/libelftc

2019-07-04 Thread Mitchell Horne
Author: mhorne Date: Thu Jul 4 17:19:08 2019 New Revision: 349737 URL: https://svnweb.freebsd.org/changeset/base/349737 Log: MFC r349483: libelftc: add RISC-V bfd targets Approved by: markj (mentor, implicit) Modified: stable/12/contrib/elftoolchain/libelftc/elftc_bfd_find_target.3

svn commit: r349736 - in stable/12/contrib/elftoolchain: common readelf

2019-07-04 Thread Mitchell Horne
Author: mhorne Date: Thu Jul 4 17:17:00 2019 New Revision: 349736 URL: https://svnweb.freebsd.org/changeset/base/349736 Log: MFC r349482,r349563: readelf: Add support for RISC-V specific e_flags Approved by: markj (mentor, implicit) Modified: stable/12/contrib/elftoolchain/common/elf

svn commit: r349735 - releng/11.3/release/doc/en_US.ISO8859-1/errata

2019-07-04 Thread Glen Barber
Author: gjb Date: Thu Jul 4 17:15:36 2019 New Revision: 349735 URL: https://svnweb.freebsd.org/changeset/base/349735 Log: Document three open issues affecting 11.3-RELEASE. Approved by: re (implicit) Sponsored by: Rubicon Communications, LLC (Netgate) Modified: releng/11.3/release/do

svn commit: r349734 - stable/12/sys/sys

2019-07-04 Thread Mitchell Horne
Author: mhorne Date: Thu Jul 4 17:13:41 2019 New Revision: 349734 URL: https://svnweb.freebsd.org/changeset/base/349734 Log: MFC r349481: Add some missing RISC-V ELF defines Approved by: markj (implicit) Modified: stable/12/sys/sys/elf_common.h Directory Properties: stable/12/ (p

svn commit: r349733 - head/sys/kern

2019-07-04 Thread Mark Johnston
Author: markj Date: Thu Jul 4 15:42:02 2019 New Revision: 349733 URL: https://svnweb.freebsd.org/changeset/base/349733 Log: Defer funsetown() calls for a TTY to tty_rel_free(). We were otherwise failing to call funsetown() for some descriptors associated with a tty, such as pts descripto

svn commit: r349732 - head/sys/dev/xdma

2019-07-04 Thread Ruslan Bukin
Author: br Date: Thu Jul 4 15:26:02 2019 New Revision: 349732 URL: https://svnweb.freebsd.org/changeset/base/349732 Log: Fix transfers that don't use busdma or bounce buffer (e.g. software dmas). Busdma data loaded by different function (the bug introduced in r349727). Sponsored by: DARP

svn commit: r349731 - head/sys/dev/mmc/host

2019-07-04 Thread Warner Losh
Author: imp Date: Thu Jul 4 15:09:58 2019 New Revision: 349731 URL: https://svnweb.freebsd.org/changeset/base/349731 Log: Fix cut-and-pasto that slipped through my testing. Modified: head/sys/dev/mmc/host/dwmmc.c Modified: head/sys/dev/mmc/host/dwmmc.c ==

svn commit: r349730 - head/contrib/elftoolchain/elfcopy

2019-07-04 Thread Mark Johnston
Author: markj Date: Thu Jul 4 15:07:19 2019 New Revision: 349730 URL: https://svnweb.freebsd.org/changeset/base/349730 Log: elfcopy: Clear errors after fetching the shstrtab index. Otherwise a future call to elf_errno() will return a non-zero value. update_shdr(), for example, treats any

Re: svn commit: r349423 - head/contrib/elftoolchain/elfcopy

2019-07-04 Thread Mark Johnston
On Thu, Jul 04, 2019 at 03:56:49PM +0200, Roger Pau Monné wrote: > On Wed, Jun 26, 2019 at 04:35:37PM +, Mark Johnston wrote: > > Author: markj > > Date: Wed Jun 26 16:35:37 2019 > > New Revision: 349423 > > URL: https://svnweb.freebsd.org/changeset/base/349423 > > > > Log: > > elfcopy: Prov

svn commit: r349729 - head/share/mk

2019-07-04 Thread Bryan Drewery
Author: bdrewery Date: Thu Jul 4 14:51:44 2019 New Revision: 349729 URL: https://svnweb.freebsd.org/changeset/base/349729 Log: Consider *clean targets as non-build targets as well. MFC after:2 weeks Sponsored by: DellEMC Modified: head/share/mk/bsd.init.mk head/share/mk/bsd.sys.

svn commit: r349728 - in head/sys: arm/amlogic/aml8726 dev/mmc/host mips/ingenic

2019-07-04 Thread Warner Losh
Author: imp Date: Thu Jul 4 14:15:04 2019 New Revision: 349728 URL: https://svnweb.freebsd.org/changeset/base/349728 Log: Implement missing MMCBR ivars All MMCBR bridges have to implement all the MMCBR variables. This implements them for everybody that currently doesn't. A common ro

svn commit: r349727 - in head/sys/dev: altera/softdma xdma xilinx

2019-07-04 Thread Ruslan Bukin
Author: br Date: Thu Jul 4 14:04:08 2019 New Revision: 349727 URL: https://svnweb.freebsd.org/changeset/base/349727 Log: Negate the logic of XCHAN_CAP_NOBUFS macro and rename it to XCHAN_CAP_BOUNCE. The only application that uses bounce buffering for now is the Government Furnished Equ

Re: svn commit: r349423 - head/contrib/elftoolchain/elfcopy

2019-07-04 Thread Roger Pau Monné
On Wed, Jun 26, 2019 at 04:35:37PM +, Mark Johnston wrote: > Author: markj > Date: Wed Jun 26 16:35:37 2019 > New Revision: 349423 > URL: https://svnweb.freebsd.org/changeset/base/349423 > > Log: > elfcopy: Provide a size hint when creating the section string table. > > Use the input fi

svn commit: r349726 - stable/11/etc

2019-07-04 Thread Eugene Grosbein
Author: eugen Date: Thu Jul 4 13:23:18 2019 New Revision: 349726 URL: https://svnweb.freebsd.org/changeset/base/349726 Log: MFC r345970: network.subr: improve configuration of cloned gif(4) interfaces ifconfig(8) syntax allows to specify only single address_family, so we need additional

svn commit: r349725 - stable/12/libexec/rc

2019-07-04 Thread Eugene Grosbein
Author: eugen Date: Thu Jul 4 13:20:32 2019 New Revision: 349725 URL: https://svnweb.freebsd.org/changeset/base/349725 Log: MFC r345970: network.subr: improve configuration of cloned gif(4) interfaces ifconfig(8) syntax allows to specify only single address_family, so we need additional

svn commit: r349724 - stable/12/stand/ofw/libofw

2019-07-04 Thread Leandro Lupori
Author: luporl Date: Thu Jul 4 12:40:38 2019 New Revision: 349724 URL: https://svnweb.freebsd.org/changeset/base/349724 Log: MFC r349188 [PPC] Fix loader input with newer QEMU versions At least since version 4.0.0, QEMU became bug-compatible with PowerVM's vty, by inserting a \0 aft

svn commit: r349723 - head/sys/powerpc/pseries

2019-07-04 Thread Leandro Lupori
Author: luporl Date: Thu Jul 4 12:31:24 2019 New Revision: 349723 URL: https://svnweb.freebsd.org/changeset/base/349723 Log: [PPC64] pseries llan: fix MAC address There was an issue in pseries llan driver, that resulted in the first 2 bytes of the MAC address getting stripped, and the la

svn commit: r349722 - stable/11

2019-07-04 Thread Tijl Coosemans
Author: tijl Date: Thu Jul 4 10:41:09 2019 New Revision: 349722 URL: https://svnweb.freebsd.org/changeset/base/349722 Log: MFC r349548: Build lib32 libl. The library is built from usr.bin/lex/lib. It would be better to move this directory to lib/libl, but this requires more extensive

svn commit: r349721 - stable/12

2019-07-04 Thread Tijl Coosemans
Author: tijl Date: Thu Jul 4 10:16:44 2019 New Revision: 349721 URL: https://svnweb.freebsd.org/changeset/base/349721 Log: MFC r349548: Build lib32 libl. The library is built from usr.bin/lex/lib. It would be better to move this directory to lib/libl, but this requires more extensive

svn commit: r349720 - in head/contrib/unbound: . cachedb compat contrib daemon dns64 dnscrypt dnstap doc edns-subnet iterator libunbound respip services services/cache sldns smallapp util util/data...

2019-07-04 Thread Dag-Erling Smørgrav
Author: des Date: Thu Jul 4 08:40:10 2019 New Revision: 349720 URL: https://svnweb.freebsd.org/changeset/base/349720 Log: Upgrade Unbound to 1.9.2. Added: head/contrib/unbound/.travis.yml - copied unchanged from r349559, vendor/unbound/dist/.travis.yml head/contrib/unbound/README.md

svn commit: r349719 - stable/10/contrib/bzip2

2019-07-04 Thread Xin LI
Author: delphij Date: Thu Jul 4 07:36:09 2019 New Revision: 349719 URL: https://svnweb.freebsd.org/changeset/base/349719 Log: MFC r349505: Upgrade to Bzip2 version 1.0.7. Modified: stable/10/contrib/bzip2/CHANGES stable/10/contrib/bzip2/LICENSE stable/10/contrib/bzip2/README stable/10/

svn commit: r349718 - stable/11/contrib/bzip2

2019-07-04 Thread Xin LI
Author: delphij Date: Thu Jul 4 07:32:25 2019 New Revision: 349718 URL: https://svnweb.freebsd.org/changeset/base/349718 Log: MFC r349505: Upgrade to Bzip2 version 1.0.7. Modified: stable/11/contrib/bzip2/CHANGES stable/11/contrib/bzip2/LICENSE stable/11/contrib/bzip2/README stable/11/

svn commit: r349717 - stable/12/contrib/bzip2

2019-07-04 Thread Xin LI
Author: delphij Date: Thu Jul 4 07:29:18 2019 New Revision: 349717 URL: https://svnweb.freebsd.org/changeset/base/349717 Log: MFC r349505: Upgrade to Bzip2 version 1.0.7. Modified: stable/12/contrib/bzip2/CHANGES stable/12/contrib/bzip2/LICENSE stable/12/contrib/bzip2/README stable/12/