FreeBSD/src 353916head/sys/vm vm_fault.c

Assert that vm_fault_lock_vnode() returns locked saved vnode.

Reviewed by:    alc, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:

FreeBSD/ports 515237head/cad/ghdl pkg-plist llvm-plist, head/cad/ghdl/files patch-configure patch-src_ghdldrv_ghdldrv.adb

Re-add cad/ghdl: GNU VHDL simulator

FreeBSD/ports 515236head/x11/xfindproxy Makefile, head/x11/xfwp Makefile

x11/xfindproxy, x11/xfwp: Deprecate

Deprecate x11/xfindproxy and x11/xfwp, they are deprecated upstream.
Make the deprecation timer extra short, since these ports are in the way of
other updates on x11 land.

PR:            241314 (related)
MFH:           2019Q4 (do we MFH deprecation notices?)

FreeBSD/doc 53502head/share/security/advisories FreeBSD-EN-19:18.tzdata.asc, head/share/security/patches EN-19:18

Add FreeBSD-EN-19:18.tzdata.

Approved by:    so

FreeBSD/src 353915releng/11.2/contrib/tzdata leapseconds.awk europe, releng/11.3/contrib/tzdata leapseconds.awk europe

Import tzdata 2019c.

Approved by:    so
Security:       FreeBSD-EN-19:18.tzdata

FreeBSD/src 353914head/lib/libcasper/services/cap_sysctl cap_sysctl.c

cap_sysctl: correct typo from r347534-ish

operation & ~limit where limit is a bool is clearly not what was intended,
given the line prior. Correct it to use the calculated mask for validation.

The cap_sysctl tests should now be functional again.

FreeBSD/src 353913projects/nfsv42/sys/fs/nfsclient nfs_clvnops.c

Fix typo in comment.

FreeBSD/ports 515235head/sysutils/xjobs distinfo Makefile

- update to 20191016

FreeBSD/src 353912head/sys/net if_tuntap.c

tuntap(4): Fix NOINET build after r353741

Shuffle headers around to more appropriate #ifdef OPTION blocks (INET vs.
INET6) -- double checked LINT-{NOINET,NOINET6,NOIP}, all seem good.

Reported by:    cem

FreeBSD/src 353911head/lib/libcasper Makefile

libcasper/services: include <> to hook tests to build

Note that the cap_sysctl tests are currently failing and need some

FreeBSD/src 353910projects/nfsv42/sys/fs/nfsclient nfs_clvnops.c nfsmount.h

Add a flag for Advise not supported and fix Copy for length == 0.

When an NFSv4.2 reports that the Advise operation is not supported,
note that so that no more Advise operations will be attempted for the mount.
For Copy where the NFSv4.2 server replies a copied length == 0, fix the
client so that it recognizes this as "at EOF".
This will not normally happen, since the client clips the requested
copy length at EOF, however if another client truncates the file, this
could happen for a Linux style NFSv4.2 server.

FreeBSD/src 353909head/usr.bin/calendar/calendars

Correct spelling, apply appropriate respect.

FreeBSD/src 353908head/sys/powerpc/booke pmap.c

powerpc/booke: Fix Book-E boot post-minidump

r353489 added minidump support for powerpc64, but it added a dependency on
the dump_avail array.  Leaving it uninitialized caused breakage in late
boot.  Initialize dump_avail, even though the 64-bit booke pmap doesn't yet
support minidumps, but will in the future.

FreeBSD/ports 515234head/audio/streamripper Makefile files

audio/streamripper: Unbreak, use devel/cdk instead of its own

PR:            240975
Submitted by:   Bryan Erickson <freebsdports at>

FreeBSD/src 353907head

Belatedly remove stale debug symbols after r339270.

Reported by:    danfe
MFC after:      3 days

FreeBSD/ports 515233head/devel/py-wlc Makefile

devel/py-wlc: Add missing dependency

It was reported upstream.

Reported by:    pkg-fallout

FreeBSD/ports 515232head/devel/rubygem-rails-i18n-rails52 Makefile

Update version requirement of RUN_DEPENDS

FreeBSD/ports 515231head/devel/rubygem-rails-i18n-rails50 Makefile

Update version requirement of RUN_DEPENDS

FreeBSD/ports 515230head/devel/rubygem-rails-i18n-rails5 Makefile

Update version requirement of RUN_DEPENDS

FreeBSD/ports 515229head/devel/rubygem-i18n distinfo Makefile

FreeBSD/ports 515228head/devel/rubygem-aws-sdk2 distinfo Makefile

FreeBSD/ports 515227head/devel/rubygem-aws-sdk-resources2 distinfo Makefile

FreeBSD/ports 515226head/devel/rubygem-aws-sdk-core2 distinfo Makefile

FreeBSD/ports 515225head/math/py-rpy2 Makefile distinfo

FreeBSD/ports 515224head/devel/py-ddtrace distinfo Makefile

FreeBSD/ports 515223head/devel/py-cffi distinfo Makefile

FreeBSD/ports 515222head/devel/p5-CPAN-Perl-Releases distinfo Makefile

FreeBSD/ports 515221head/security/keybase distinfo Makefile

FreeBSD/ports 515220head/devel/protobuf Makefile

Update regex

FreeBSD/ports 515219head/devel/check Makefile distinfo

FreeBSD/ports 515218head/benchmarks/sysbench distinfo Makefile

FreeBSD/src 353906head/sys/amd64/amd64 pmap.c

amd64 pmap: conditionalize per-superpage locks on NUMA

Instead of superpages use. The current code employs superpage-wide locking
regardless and the better locking granularity is welcome with NUMA enabled
even when superpage support is not used.

Requested by:   alc
Sponsored by:   The FreeBSD Foundation
Differential Revision:

FreeBSD/src 353905head/sys/amd64/amd64 pmap.c

amd64 pmap: fixup invlgen lookup for fictitious mappings

Similarly to r353438, use dummy entry.

Reported and tested by: Neel Chauhan
Sponsored by:   The FreeBSD Foundation

FreeBSD/src 353904head/sys/fs/pseudofs pseudofs_vncache.c pseudofs_internal.h

pseudofs: hashed vncache

Vast majority of uses the cache are just checking if there is an entry
present on process exit (and evicting it if so). Both checking and
eviction process are very expensive and put the lock protecting it high
up on the profile during poudriere -j 104.

Convert the linked list into a hash. This allows to almost always avoid
taking the lock in the first place (and consequently almost removes it
from the profile). Note only one lock is preserved as a split did not
meaningfully impact contention.

Should the cache be used for something it will still run into contention
issues. The code needs a rewrite, but should someone want to tidy it up
further the following can be done:

1) per-chain locks (or at least an array)
2) hashing by something else than just pid

Sponsored by:   The FreeBSD Foundation

FreeBSD/src 353903head/sbin/fsck_ffs suj.c

Replace an uninitialized variable with the correct element from the
superblock when doing recovery with journalled soft updates.

Reported by:  Chuck Silvers
MFC after:    3 days
Sponsored by: Netflix

FreeBSD/src 353902head/sys/arm/arm machdep.c

arm: correct kernelstack allocation size

This appears to be a copy-pasto from previous lines that propagated to v6
over the years. Indeed, nothing references kernelstack beyond
USPACE_SVC_STACK_TOP and it would be odd if anything did.

Noticed by:     markj

FreeBSD/ports 515217head/emulators/virtualbox-ose/files patch-src_VBox_Devices_PC_vbox-cpuhotplug.dsl

Fix build with the recent iasl(8) on head after r353764.

Note this error was added in ACPICA 20190816.

FreeBSD/ports 515216head/x11/xlockmore Makefile

- fix compilation for MESAGL option

PR:            241220 (based on)
Submitted by:   russo at

FreeBSD/src 353901stable 12, stable/12/usr.bin/rpcgen rpc_main.c

MFC r353569:

rpcgen: make compiler arglist allocation dynamic

Limit argmax to an absurdly large value prevent overflow (no overflow
possible on FreeBSD due to ARG_MAX).

In CheriBSD we exceed the 19 non-NULL arguments in the static array.  Add
a simple size doubling allocator and increase the default to 32.

GC remnants of support for fixed arguments.

Reviewed by:    archardson (prior version), James Clarke (prior version)
Sponsored by:   DARPA, AFRL
Differential Revision:

FreeBSD/ports 515215head/www/node distinfo pkg-plist

www/node: Update 12.11.1 -> 12.12.0

Sponsored by:   Miles AS

FreeBSD/ports 515214head/www/node8 distinfo Makefile

www/node8: Update 8.16.1_1 -> 8.16.2

Sponsored by:   Miles AS

FreeBSD/src 353900head/sys/dev/cxgbe t4_main.c t4_sge.c

Split Chelsio send tags into a generic base tag and a ratelimit tag.

NIC KTLS will add a new TLS send tag type in cxgbe(4) that is a
distinct tag from a ratelimit tag.  To support this, refactor
cxgbe_snd_tag to be a simple send tag with a type and convert the
existing ratelimit tag to a new cxgbe_rate_tag structure.

Reviewed by:    np
Sponsored by:   Chelsio Communications
Differential Revision:

FreeBSD/src 353899head/sys/dev/cxgbe t4_main.c t4_filter.c, head/sys/dev/cxgbe/tom t4_tom.c

Always allocate the atid table during attach.

Previously the table was allocated on first use by TOE and the
ratelimit code.  The forthcoming NIC KTLS code also uses this table.
Allocate it unconditionally during attach to simplify consumers.

Reviewed by:    np
Differential Revision:

FreeBSD/ports 515213head/devel/llvm90 Makefile pkg-plist, head/devel/llvm90/files ppc64-elfv2

Fix build without CLANG enabled. [0]

Fix LLD build where PREFIX != LOCALBASE. [1]

powerpc64: add configure option to select ELFv2 ABI [2]

In preparation for compiler+ABI change in PowerPC64, this change adds a
configure option to select ELFv2 as default powerpc64 ABI when compiling

The new option automatically set when ELFv2 environment is detected
(when PPC_ABI=ELFv2)

PR:            241400 [1], 241410 [0]
Submitted by:   Alfredo Dal'Ava JĂșnior [2]
Differential Revision: [2]

FreeBSD/ports 515212head/sysutils/burp Makefile, head/sysutils/burp-devel distinfo Makefile

- Update sysutils/burp-devel to 2.3.16

PR:            241128
Submitted by:   phascolarctos at (maintainer)

FreeBSD/ports 515211head/graphics/libansilove distinfo Makefile

- Update to 1.1.5

FreeBSD/ports 515210head/textproc/py-python-slugify distinfo Makefile

FreeBSD/ports 515209head/www/luakit pkg-plist Makefile

www/luakit: upgrade 2017.08.10 -> 2.1

- updated WWW
- Set EPOCH (semantic versioning now)

PR:            233711
Submitted by:   sh+freebsd-bugzilla at, yzrh at

FreeBSD/ports 515208head/devel/llvm-devel pkg-plist, head/devel/llvm-devel/files patch-tools_clang_lib_Headers_CMakeLists.txt

Fix typo in patch to fix clang build.

Adjust the set of headers installed with clang to match llvm90.  Also
correct the location of the patch.

Reported by:    yuri (lack on unwind.h)

FreeBSD/ports 515207head/www/nginx-devel distinfo Makefile.extmod, head/www/nginx-devel/files extra-patch-fastdfs-src-mod_fastdfs.conf extra-patch-fastdfs-src-config

Update nginx from 1.17.4 to 1.17.5.
Update njs module from 0.3.5 to 0.3.6.
Sync third-party fastdfs module version with www/nginx.

<ChangeLog for nginx 1.17.5>

*) Feature: now nginx uses ioctl(FIONREAD), if available, to avoid
   reading from a fast connection for a long time.

*) Bugfix: incomplete escaped characters at the end of the request URI
   were ignored.

*) Bugfix: "/." and "/.." at the end of the request URI were not

*) Bugfix: in the "merge_slashes" directive.

*) Bugfix: in the "ignore_invalid_headers" directive.
   Thanks to Alan Kemp.

*) Bugfix: nginx could not be built with MinGW-w64 gcc 8.1 or newer.


<ChangeLog for njs 0.3.6>

    [69 lines not shown]