PC-BSD/trueos 13beb1b. Makefile.inc1

Disable bootstrapping elf2aout which is needed for sparc64
DeltaFile
+1-1Makefile.inc1
+1-11 files

PC-BSD/trueos ff76b57. Makefile.inc1

Disable bootstrap of elf2aout, does not compile on newer HEAD for TC
DeltaFile
+1-1Makefile.inc1
+1-11 files

PC-BSD/trueos da4b711contrib/libpcap configure gencode.c, contrib/libpcap/rpcapd daemon.c rpcapd.c

Merge pull request #446 from trueos/fbsd12-update-20200106

Fbsd12 update 20200106
DeltaFile
+2,747-0contrib/libpcap/rpcapd/daemon.c
+1,510-430contrib/libpcap/configure
+1,324-568contrib/libpcap/gencode.c
+848-847contrib/libpcap/config.sub
+848-847contrib/tcpdump/config.sub
+1,359-0contrib/libpcap/rpcapd/rpcapd.c
+8,636-2,692456 files not shown
+31,730-11,564462 files

PC-BSD/trueos 912ca12contrib/libpcap configure gencode.c, contrib/libpcap/rpcapd daemon.c rpcapd.c

Merge pull request #447 from trueos/trueos12-update-20200106

Trueos12 update 20200106
DeltaFile
+2,747-0contrib/libpcap/rpcapd/daemon.c
+1,510-430contrib/libpcap/configure
+1,324-568contrib/libpcap/gencode.c
+848-847contrib/tcpdump/config.sub
+848-847contrib/libpcap/config.sub
+1,359-0contrib/libpcap/rpcapd/rpcapd.c
+8,636-2,692456 files not shown
+31,730-11,564462 files

PC-BSD/trueos f066427sbin/fsck_msdosfs fat.c, sys/geom/sched g_sched.c

Merge pull request #445 from trueos/fbsdm-update-20200106

Fbsdm update 20200106
DeltaFile
+0-1,729sys/geom/sched/g_sched.c
+910-583sys/vm/uma_core.c
+977-432sbin/fsck_msdosfs/fat.c
+1,390-0usr.sbin/fstyp/hammer2_disk.h
+1,091-0usr.sbin/fstyp/hammer_disk.h
+418-443sys/vm/vm_page.c
+4,786-3,187720 files not shown
+25,049-13,836726 files

PC-BSD/trueos df9895dsbin/fsck_msdosfs fat.c, sys/geom/sched g_sched.c

Merge pull request #444 from trueos/fbsd-head-20200106

Fbsd head 20200106
DeltaFile
+0-1,729sys/geom/sched/g_sched.c
+910-583sys/vm/uma_core.c
+977-432sbin/fsck_msdosfs/fat.c
+1,390-0usr.sbin/fstyp/hammer2_disk.h
+1,091-0usr.sbin/fstyp/hammer_disk.h
+418-443sys/vm/vm_page.c
+4,786-3,187720 files not shown
+25,049-13,836726 files

PC-BSD/trueos ba3b68econtrib/libpcap configure gencode.c, contrib/libpcap/rpcapd daemon.c rpcapd.c

Merge branch 'stable/12' of https://github.com/freebsd/freebsd into trueos12-update-20200106

Signed-off-by: Martin Wilke <miwi at ixsystems.com>
DeltaFile
+2,747-0contrib/libpcap/rpcapd/daemon.c
+1,510-430contrib/libpcap/configure
+1,324-568contrib/libpcap/gencode.c
+848-847contrib/tcpdump/config.sub
+848-847contrib/libpcap/config.sub
+1,359-0contrib/libpcap/rpcapd/rpcapd.c
+8,636-2,692456 files not shown
+31,730-11,564462 files

PC-BSD/trueos bbc6360contrib/libpcap configure gencode.c, contrib/libpcap/rpcapd daemon.c rpcapd.c

Merge branch 'stable/12' of https://github.com/freebsd/freebsd into fbsd12-update-20200106

Signed-off-by: Martin Wilke <miwi at ixsystems.com>
DeltaFile
+2,747-0contrib/libpcap/rpcapd/daemon.c
+1,510-430contrib/libpcap/configure
+1,324-568contrib/libpcap/gencode.c
+848-847contrib/tcpdump/config.sub
+848-847contrib/libpcap/config.sub
+1,359-0contrib/libpcap/rpcapd/rpcapd.c
+8,636-2,692456 files not shown
+31,730-11,564462 files

PC-BSD/trueos 9d3c555sbin/fsck_msdosfs fat.c, sys/geom/sched g_sched.c

Merge branch 'master' of https://github.com/freebsd/freebsd into fbsdm-update-20200106

Signed-off-by: Martin Wilke <miwi at ixsystems.com>
DeltaFile
+0-1,729sys/geom/sched/g_sched.c
+910-583sys/vm/uma_core.c
+977-432sbin/fsck_msdosfs/fat.c
+1,390-0usr.sbin/fstyp/hammer2_disk.h
+1,091-0usr.sbin/fstyp/hammer_disk.h
+418-443sys/vm/vm_page.c
+4,786-3,187720 files not shown
+25,049-13,836726 files

PC-BSD/trueos bf48faesbin/fsck_msdosfs fat.c, sys/geom/sched g_sched.c

Merge branch 'master' of https://github.com/freebsd/freebsd into fbsd-head-20200106

Signed-off-by: Martin Wilke <miwi at ixsystems.com>
DeltaFile
+0-1,729sys/geom/sched/g_sched.c
+910-583sys/vm/uma_core.c
+977-432sbin/fsck_msdosfs/fat.c
+1,390-0usr.sbin/fstyp/hammer2_disk.h
+1,091-0usr.sbin/fstyp/hammer_disk.h
+418-443sys/vm/vm_page.c
+4,786-3,187720 files not shown
+25,049-13,836726 files

PC-BSD/trueos 94205e0contrib/libarchive/libarchive archive_write.c archive_cryptor.c

MFV r356415
Sync libarchive with vendor

Relevant vendor changes:
  Issue #1302: Re-do fix for archive_write_client_open()

X-MFC-With:     r356212,r356365
MFC after:      1 week
DeltaFile
+17-27contrib/libarchive/libarchive/archive_write.c
+1-0contrib/libarchive/libarchive/archive_cryptor.c
+1-0contrib/libarchive/libarchive/archive_hmac.c
+19-273 files

PC-BSD/trueos 5834310sys/netinet tcp_log_buf.c tcp_log_buf.h

This change adds a small feature to the tcp logging code. Basically
a connection can now have a separate tag added to the id.

Obtained from:  Lawrence Stewart
Sponsored by:   Netflix Inc
Differential Revision:  https://reviews.freebsd.org/D22866
DeltaFile
+208-7sys/netinet/tcp_log_buf.c
+6-1sys/netinet/tcp_log_buf.h
+3-1sys/netinet/tcp_var.h
+217-93 files

PC-BSD/trueos b05c0a5sys/amd64/amd64 pmap.c, sys/arm64/arm64 pmap.c

sysctl: mark more nodes as MPSAFE

vm.kvm_size and vm.kvm_free are read only and marked as MPSAFE on i386
already. Mark them as that on amd64 and arm64 too to avoid locking Giant.

Reviewed by:    kib (mentor)
Approved by:    kib (mentor)
Differential Revision:  https://reviews.freebsd.org/D23039
DeltaFile
+6-4sys/amd64/amd64/pmap.c
+6-4sys/arm64/arm64/pmap.c
+12-82 files

PC-BSD/trueos 813f820sys/dev/hyperv/netvsc if_hn.c

MFC r356201:
Fix spelling.

PR:             242891
Sponsored by:   Mellanox Technologies
DeltaFile
+1-1sys/dev/hyperv/netvsc/if_hn.c
+1-11 files

PC-BSD/trueos 6a61e40sys/dev/usb usb_transfer.c usb_device.h, sys/sys param.h

Add own counter for cancelled USB transfers.
Do not count these as errors.

MFC after:      1 week
Sponsored by:   Mellanox Technologies
DeltaFile
+4-1sys/dev/usb/usb_transfer.c
+1-1sys/sys/param.h
+1-0sys/dev/usb/usb_device.h
+6-23 files

PC-BSD/trueos b944e66usr.sbin/usbconfig dump.c usbconfig.c

MFC r356137:
Implement dump_stats command for usbconfig(8).

This command is useful when debugging USB device issues.

Sponsored by:   Mellanox Technologies
DeltaFile
+29-0usr.sbin/usbconfig/dump.c
+16-1usr.sbin/usbconfig/usbconfig.c
+4-2usr.sbin/usbconfig/usbconfig.8
+1-0usr.sbin/usbconfig/dump.h
+50-34 files

PC-BSD/trueos 74212d6lib/libusb libusb20.c libusb20_ugen20.c

MFC r356136:
Implement new libusb v2.0 API function, libusb20_dev_get_stats().

This function is useful when debugging USB device issues.

Sponsored by:   Mellanox Technologies
DeltaFile
+26-0lib/libusb/libusb20.c
+24-0lib/libusb/libusb20_ugen20.c
+12-2lib/libusb/libusb20.3
+7-0lib/libusb/libusb20.h
+3-0lib/libusb/libusb20_int.h
+1-0lib/libusb/Makefile
+73-26 files

PC-BSD/trueos 7fefdebsys/dev/usb usb_device.h usb_bus.h, sys/sys param.h

MFC r356135:
Make USB statistics per device instead of per bus.

Bump the FreeBSD version due to structure change to
force recompilation of external USB modules.

Sponsored by:   Mellanox Technologies
DeltaFile
+12-1sys/dev/usb/usb_device.h
+1-10sys/dev/usb/usb_bus.h
+2-3sys/dev/usb/usb_generic.c
+2-2sys/dev/usb/usb_transfer.c
+1-1sys/sys/param.h
+18-175 files

PC-BSD/trueos 2d206basys/vm uma_core.c vm_page.c

Fix uma boot pages calculations on NUMA machines that also don't have
MD_UMA_SMALL_ALLOC.  This is unusual but not impossible.  Fix the alignemnt
of zones while here.  This was already correct because uz_cpu strongly
aligned the zone structure but the specified alignment did not match
reality and involved redundant defines.

Reviewed by:    markj, rlibby
Differential Revision:  https://reviews.freebsd.org/D23046
DeltaFile
+38-32sys/vm/uma_core.c
+10-3sys/vm/vm_page.c
+7-4sys/vm/uma_int.h
+55-393 files

PC-BSD/trueos 9785232sbin/nvmecontrol identify_ext.c

Fix host memory buffer sizes reporting.

Hardware reports values in 4KB units, not in bytes.

MFC after:      3 days
DeltaFile
+4-2sbin/nvmecontrol/identify_ext.c
+4-21 files

PC-BSD/trueos 9ad30f4sys/cam cam_periph.c

MFC r356042: Make pass(4) handle misaligned buffers of MAXPHYS size.

Since we are already using malloc()+copyin()/copyout() for smaller data
blocks, and since new asynchronous API does it always, I see no reason
to keep this ugly artificial size/alignment limitation in old API.

Tape applications suffer enough from the MAXPHYS limitations by itself,
and additional alignment requirement, often halving effectively usable
block size, does not help.

It would be good to use unmapped I/O here instead, but it require some
HBA drivers polishing first to support non-BIO unmapped buffers.
DeltaFile
+10-10sys/cam/cam_periph.c
+10-101 files

PC-BSD/trueos 4281552sys/vm uma_core.c

The fix in r356353 was insufficient.  Not every architecture returns 0 for
EARLY_COUNTER.  Only amd64 seems to.

Suggested by:   markj
Reported by:    lwhsu
Reviewed by:    markj
PR:             243117
DeltaFile
+10-4sys/vm/uma_core.c
+10-41 files

PC-BSD/trueos c52c8f7usr.sbin/inetd inetd.c builtins.c

MFC further inetd(8) cleanup: r356204, r356215, r356217-r356218,
r356246-r356248, r356254, r356318

r356204:
inetd: don't leak `policy` on return

sep->se_policy gets a strdup'd version of policy, so we don't need it to
stick around afterwards.

While here, remove a couple of NULL checks prior to free(policy).

r356215:
inetd: knock out some clang analyze warnings

chargen_dg: clang-analyze is convinced that endring could be non-NULL at
entry, and thus wants to assume that rs == NULL. Just independently
initialize rs if it's NULL to appease the analyzer.

getconfigent: policy leaks on return

    [64 lines not shown]
DeltaFile
+87-83usr.sbin/inetd/inetd.c
+10-4usr.sbin/inetd/builtins.c
+11-1usr.sbin/inetd/inetd.h
+0-1usr.sbin/inetd/Makefile
+108-894 files

PC-BSD/trueos 1106115sys/netgraph ng_bridge.c ng_bridge.h

netgraph/ng_bridge: Reestablish old ABI

In order to be able to merge r353026 bring back support for the old
cookie API for a transition period in 12.x releases (and possibly 13)
before the old API can be removed again entirely.

Suggested by:   julian
Submitted by:   Lutz Donnerhacke (lutz donnerhacke.de)
PR:             240787
Reviewed by:    julian
MFC after:      2 weeks
X-MFC with:     r353026
Differential Revision:  https://reviews.freebsd.org/D21961
DeltaFile
+66-0sys/netgraph/ng_bridge.c
+43-0sys/netgraph/ng_bridge.h
+109-02 files

PC-BSD/trueos 5fdb1c4sys/sys elf_common.h

MFC r356186:
Add ARMv8 static relocation types used for control flow instructions.
DeltaFile
+4-0sys/sys/elf_common.h
+4-01 files

PC-BSD/trueos 41f1094share/man/man7 arch.7

arch.7: correct overzealous claims of external binutils use

powerpc and powerpcspe still use in-tree ld 2.17.50
DeltaFile
+2-2share/man/man7/arch.7
+2-21 files

PC-BSD/trueos 7def567share/man/man7 arch.7

arch.7: update toolchain table for external ld use

As of r356379 and r356381 mips* and sparc64 now use external Binutils
ld as their linker.
DeltaFile
+13-13share/man/man7/arch.7
+13-131 files

PC-BSD/trueos 129e7fbshare/man/man5 src.conf.5

src.conf.5: regen after r356381, disable BINUTILS_BOOTSTRAP more widely
DeltaFile
+2-2share/man/man5/src.conf.5
+2-21 files

PC-BSD/trueos 15501dcshare/mk src.opts.mk

src.opts.mk: disable BINUTILS_BOOTSTRAP on all mips* and sparc64

Extend r356379 to include 32-bit mips and sparc64.  Using a decade-old
binutils linker with a contemporary compiler (either Clang or GCC) is
a combination unlikely to be used by anyone else, and it's not going
to be a good use of our time investigating and addressing any issues
that arise.  Expect that all architectures newly migrated to external
GCC will also use external binutils.
DeltaFile
+1-1share/mk/src.opts.mk
+1-11 files

PC-BSD/trueos 6f1b6d7share/man/man5 src.conf.5

src.conf.5: regen after r356379, disable BINUTILS_BOOTSTRAP on mips64*
DeltaFile
+3-3share/man/man5/src.conf.5
+3-31 files