FreeBSD/src 344356stable 12, stable/12/sys/netinet in_pcb.c

MFC r344103:
  In r335015 PCB destroing was made deferred using epoch_call().

  But ipsec_delete_pcbpolicy() uses some VNET-virtualized variables,
  and thus it needs VNET context, that is missing during gtaskqueue
  executing. Use inp_vnet context to set curvnet in in_pcbfree_deferred().

  PR:          235684

FreeBSD/ports 493418head/security/vuxml vuln.xml

security/vuxml: Document announced OpenSSL vulnerability

 - To be updated with more specifics on 2019-02-26

FreeBSD/src 344355head/lib/libc/x86/sys pkru.3 Makefile.inc

pkru(3) man page.

Reviewed by:    alc, markj, jilles
With more input from:   pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D19211

FreeBSD/src 344354head/lib/libc/amd64 Symbol.map, head/lib/libc/i386 Symbol.map

Add usermode helpers for for Intel userspace protection keys feature.

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D18893

FreeBSD/src 344353head/sys/amd64/amd64 pmap.c sys_machdep.c, head/sys/amd64/include pmap.h

Add kernel support for Intel userspace protection keys feature on
Skylake Xeons.

See SDM rev. 68 Vol 3 4.6.2 Protection Keys and the description of the
RDPKRU and WRPKRU instructions.

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D18893

FreeNAS/freenas 8906f6dgui/system/migrations 0038_delete_vm_kmem_size_tunable.py

[migrations] Fix migration location/dependency

This migration applies to a system model, not services.  It depends only
on the initial schema.  Unfortunately we can't easily remove the other
migration, but at least it is harmless to leave there.

Ticket: #73917

FreeBSD/src 344352head/sys/amd64/amd64 trap.c, head/sys/amd64/include pmap.h

amd64: add defines and decode protection keys and SGX page faults reasons.

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D18893

LLVM/llvm 354442clang-tools-extra/trunk/unittests/clangd XRefsTests.cpp

[clangd] Testcase for bug 39811

Subscribers: ilya-biryukov, ioeric, MaskRay, jkorous, arphaman, jdoerfert, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58133

FreeNAS/freenas e3e2481src/freenas/etc rc.conf sysctl.conf

Increase timeout for rc.shutdown

This commit increases timeout for rc.shutdown to 300 seconds.

FreeNAS/freenas b19a303src/freenas/etc/ix.rc.d ix-preinit ix-shutdown, src/freenas/etc/rc.d ix-postinit

Increase timeout for inittasks

This commit introducse the following changes:
1) Turns execute_init_tasks into a job in middlewared. Motivation for this is that we 
would like to make sure that tasks which take longer then midclt timeout still get 
executed.
2) Introduce a common function for init tasks in ix* scripts where we can specify the 
timeout we intend for each type of task.

FreeBSD/src 344351head/sys/conf files, head/sys/kern subr_rangeset.c

Implement rangesets.

The data structure implements non-intersecting intervals over the [0,
UINT64_MAX] range, and supports fast insert, predicated clearing of
subrange, and lookup of an interval containing the specified address.
Internally it is a pctrie over the interval start addresses.

Implementation provides additional guarantees over the structure state
in case of memory allocation failures.

Reviewed by:    markj
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks
Differential revision:  https://reviews.freebsd.org/D18893

FreeBSD/src 344350projects/import-googletest-1.8.1/lib/googletest/gmock_main/tests Makefile

Fix test compilation for gmock_main tests, similar to r344345

NetBSD/src Gctp2Oetests/lib/libc/sys t_ptrace_wait.c

   Replace signal4 (PT_STEP) test with refactored ones with extra asserts

   New tests: step_signalmasked and step_signalignored.

   Assert that signal context is not reset upon PT_STEP trap.

   Mark new tests as expecting to fail.
VersionDeltaFile
1.95+108-81tests/lib/libc/sys/t_ptrace_wait.c
+108-811 files

LLVM/llvm 354441llvm/trunk/docs/CommandGuide llvm-exegesis.rst, llvm/trunk/test/tools/llvm-exegesis/X86 analysis-cluster-stabilization.test

[llvm-exegesis] Opcode stabilization / reclusterization (PR40715)

Summary:
Given an instruction `Opcode`, we can make benchmarks (measurements) of the
instruction characteristics/performance. Then, to facilitate further analysis
we group the benchmarks with *similar* characteristics into clusters.
Now, this is all not entirely deterministic. Some instructions have variable
characteristics, depending on their arguments. And thus, if we do several
benchmarks of the same instruction `Opcode`, we may end up with *different*
performance characteristics measurements. And when we then do clustering,
these several benchmarks of the same instruction `Opcode` may end up being
clustered into *different* clusters. This is not great for further analysis.

We shall find every `Opcode` with benchmarks not in just one cluster, and move
*all* the benchmarks of said `Opcode` into one new unstable cluster per `Opcode`.

I have solved this by making `ClusterId` a bit field, adding a `IsUnstable` bit,
and introducing `-analysis-display-unstable-clusters` switch to toggle between
displaying stable-only clusters and unstable-only clusters.

The reclusterization is deterministically stable, produces identical reports
between runs. (Or at least that is what i'm seeing, maybe it isn't)

Timings/comparisons:
old (current trunk/head) {F8303582}

    [188 lines not shown]

OpenBSD/ports KjrrDgpmisc/osinfo/osinfo-db distinfo Makefile, misc/osinfo/osinfo-db/pkg PLIST

   Update to osinfo-db-20190218.

OpenBSD/ports qWnoXQ5net Makefile

   Add p5-MaxMind-DB-Reader-XS.
VersionDeltaFile
1.1115+2-1net/Makefile
+2-11 files

OpenBSD/ports pLPvgYjnet/p5-MaxMind-DB-Reader-XS Makefile distinfo, net/p5-MaxMind-DB-Reader-XS/patches patch-Build_PL patch-Build_PL

   Initial revision

FreeBSD/ports 493417head/security/p5-Authen-PAM Makefile

- Add LICENSE

Approved by:    portmgr blanket

FreeBSD/ports 493416branches 2019Q1, branches/2019Q1/security/testssl.sh distinfo Makefile

MFH: r493414

security/testssl.sh: Update to 3.0rc4

Changes:        https://github.com/drwetter/testssl.sh/releases/tag/3.0rc4

Approved by:    ports-secteam (joneum)

OpenBSD/src X8S3wPashare/mk bsd.lib.mk

   when building syspatches with lld exclude more non-existent object files

   ok ajacoutot@, tb@
VersionDeltaFile
1.97+9-2share/mk/bsd.lib.mk
+9-21 files

OpenBSD/src 0rdQeyDusr.sbin/syspatch syspatch.sh

   Drop '-S' knob from install(1). It's the default and a no-op nowadays.

   ok deraadt@
VersionDeltaFile
1.143+2-2usr.sbin/syspatch/syspatch.sh
+2-21 files

OpenBSD/ports 6COsl53net Makefile

   Add p5-GeoIP2.
VersionDeltaFile
1.1114+2-1net/Makefile
+2-11 files

OpenBSD/ports wuQmkygnet/p5-GeoIP2 Makefile distinfo, net/p5-GeoIP2/pkg PLIST DESCR

   Import net/p5-GeoIP2.

   This module provides an API for the GeoIP2 web services and databases.
   The API also works with the free GeoLite2 databases.

   See GeoIP2::WebService::Client for details on the web service client API
   and GeoIP2::Database::Reader for the database API.

   OK giovanni@

FreeNAS/freenas 6a96dc0src/freenas/etc netcli

Merge pull request #2593 from freenas/FIX-74785-11.1-75010

tkt-75010: fix(netcli): restore ability to change root password without middlewa… (by 
themylogin)

FreeNAS/freenas b3f8fe1src/freenas/etc netcli

Merge pull request #2594 from freenas/FIX-74785-11.2-75019

tkt-75019: fix(netcli): restore ability to change root password without middlewa… (by 
themylogin)

FreeBSD/ports 493415head/net/asterisk-chan_sccp Makefile distinfo

net/asterisk-chan_sccp: Update to 4.3.2

- Make conference and video support optional (enabled by default)
- Add options to select different Asterisk versions
- Build for net/asterisk16 by default

While here

- Install sccp.conf with @sample
- Run it through portfmt once, fix indentation
- Reorder variables according to chapter 15 of the PHB
- Pet portlint

PR:            223972
Submitted by:   maintainer

LLVM/llvm 354440lld/branches release_80, lld/branches/release_80/ELF Options.td

Merging r354422:
------------------------------------------------------------------------
r354422 | tstellar | 2019-02-20 02:40:35 +0100 (Wed, 20 Feb 2019) | 11 lines

ELF: Fix typo in --build-id option description

Reviewers: ruiu, espindola

Reviewed By: ruiu

Subscribers: emaste, arichardson, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58265
------------------------------------------------------------------------

OPNSense/core 63065a9src/opnsense/www/themes/opnsense/assets/stylesheets main.scss, src/opnsense/www/themes/opnsense/build/css main.css

theme, sharpen our theme a bit

FreeNAS/freenas f28f622src/freenas/etc rc.conf sysctl.conf

Increase timeout for rc.shutdown

This commit increases timeout for rc.shutdown to 300 seconds.

FreeNAS/freenas 946c0fasrc/freenas/etc rc.conf sysctl.conf

Increase timeout for rc.shutdown

This commit increases timeout for rc.shutdown to 300 seconds.

FreeNAS/freenas a241e10src/freenas/etc rc.freenas, src/freenas/etc/ix.rc.d ix-shutdown ix-preinit

Increase timeout for inittasks

This commit introducse the following changes:
1) Turns execute_init_tasks into a job in middlewared. Motivation for this is that we 
would like to make sure that tasks which take longer then midclt timeout still get 
executed.
2) Introduce a common function for init tasks in ix* scripts where we can specify the 
timeout we intend for each type of task.

FreeBSD/src 344349projects/import-googletest-1.8.1/lib/googletest/gmock/tests Makefile

Fix test compilation for gmock tests, similar to r344345

NetBSD/src IhEqMJZsys/dev/pci if_bge.c

Simplify PCI device table. No functional change.
VersionDeltaFile
1.325+99-367sys/dev/pci/if_bge.c
+99-3671 files

FreeBSD/src 344348projects/import-googletest-1.8.1/lib/googletest/gmock Makefile.inc

Add glue Makefile.inc to make the next hop to the googletest/Makefile.inc

NetBSD/pkgsrc 5JRcZJEdoc CHANGES-2019

   Updated devel/py-prompt_toolkit2, devel/py-wheel
VersionDeltaFile
1.822+3-1doc/CHANGES-2019
+3-11 files

NetBSD/pkgsrc Bn1bJXRdevel/py-wheel distinfo Makefile

   py-wheel: updated to 0.33.1

   0.33.1
   Fixed the --build-number option for wheel pack not being applied
VersionDeltaFile
1.11+5-5devel/py-wheel/distinfo
1.14+2-2devel/py-wheel/Makefile
+7-72 files

NetBSD/pkgsrc BHNMTbNdevel/py-prompt_toolkit2 distinfo Makefile

   py-prompt_toolkit2: updated to 2.0.9

   2.0.9:
   Bug fixes:
   - Fixed Application.run_system_command on Windows.
   - Fixed bug in ANSI text formatting: correctly handle 256/true color sequences.
   - Fixed bug in WordCompleter. Provide completions when there's a space before
     the cursor.

FreeNAS/freenas c3566desrc/freenas/etc rc.conf sysctl.conf

Increase timeout for rc.shutdown

This commit increases timeout for rc.shutdown to 300 seconds.

FreeNAS/freenas c931c88src/freenas/etc rc.freenas, src/freenas/etc/ix.rc.d ix-preinit

Increase timeout for inittasks

This commit introducse the following changes:
1) Turns execute_init_tasks into a job in middlewared. Motivation for this is that we 
would like to make sure that tasks which take longer then midclt timeout still get 
executed.
2) Introduce a common function for init tasks in ix* scripts where we can specify the 
timeout we intend for each type of task.

FreeBSD/src 344347projects/import-googletest-1.8.1/lib/googletest/gtest_main/tests Makefile

Oh wait... those helper programs were for the py tests

We don't need to install those. Leave that testing for the package's tests

FreeBSD/src 344346projects/import-googletest-1.8.1/lib/googletest/gtest_main/tests Makefile

Apply lessons learned in r344345 on gtest_main tests

The key difference is that some of the programs were previously being compiled
and installed as tests, which is incorrect. Treat them like helpers instead.

NetBSD/src SFfhiQmsys/dev/pci pcidevs_data.h pcidevs.h

Regen.
VersionDeltaFile
1.1353+850-847sys/dev/pci/pcidevs_data.h
1.1354+2-1sys/dev/pci/pcidevs.h
+852-8482 files

NetBSD/src OIGBRntsys/dev/pci pcidevs

Add SK-NET SK-9Mxx Gigabit Ethernet.
VersionDeltaFile
1.1365+2-1sys/dev/pci/pcidevs
+2-11 files

OPNSense/core f7213e8src/www vpn_ipsec_mobile.php

psec_mobile.php fix minor escaping issue

FreeBSD/ports 493414head/security/testssl.sh distinfo Makefile

security/testssl.sh: Update to 3.0rc4

Changes:        https://github.com/drwetter/testssl.sh/releases/tag/3.0rc4
MFH:           2019Q1 (bug fixes)

OpenBSD/ports RFRaOSadevel/rgbds distinfo

   Upstream rerolled distfile (sigh)
VersionDeltaFile
1.4+2-2devel/rgbds/distinfo
+2-21 files

FreeBSD/ports 493413head/www/py-httplib2 distinfo Makefile

- Update to 0.12.1
- Pet portlint

OpenBSD/src wHXUeydsys/dev/ofw ofw_regulator.c ofw_regulator.h

   Add support for current limit regulators in addition to the voltage
   regulators we already support.  The GPIO-based regulators are rather
   independent of the type, we only need to know the type to check the
   upper and lower limits.

   With feedback from kettenis@
VersionDeltaFile
1.12+136-25sys/dev/ofw/ofw_regulator.c
1.7+7-2sys/dev/ofw/ofw_regulator.h
+143-272 files

FreeBSD/ports 493412head/graphics/xpdf4 Makefile

Add a missing gsfonts dependency.

Reported by:    local poudriere build

FreeBSD/src 344345projects/import-googletest-1.8.1/lib/googletest/gtest/tests Makefile

Fix gtest test compilation and build more tests

My previous work to integrate these tests was incomplete/incorrect, because I
misunderstood how the cmake macros worked.

This addresses items with the gtest tests, which in turn fixes test compilation
and adds more tests which I had previously missed.

Due to an unknown issue with gtest_stress_test, I had to add pthread to LIBADD,
even though I shouldn't have added it to that (it was failing to link -lpthread
to libprivategtest.a). Add a XXX comment to note that something's awry there
and deserves additional investigation.