LLVM/llvm 359239llvm/trunk/lib/Target/AMDGPU VOP1Instructions.td

[AMDGPU] gfx1010 - fix ubsan failure

Revert DecoderNamespace in one place for now. It will need more
changes to properly work.

LLVM/llvm 359238llvm/trunk/test/CodeGen/X86 fdiv-combine-vec.ll

[x86] add tests for vector fdiv reciprocal estimate; NFC

FreeNAS/freenas 9dd439egui/system models.py, gui/system/migrations 0042_2fa_authentication.py

Merge pull request #2865 from freenas/NAS-100123

Two-Factor Authentication

LLVM/llvm 359237cfe/trunk/lib/StaticAnalyzer/Checkers CStringChecker.cpp, cfe/trunk/test/Analysis bsd-string.c

[analyzer] Add FIXMEs for alpha.unix.cstring.OutOfBounds false positives.

Caused by incorrect strlcat() modeling in r332303,
cf. https://bugs.llvm.org/show_bug.cgi?id=37687#c8

FreeNAS/freenas bdbe23bsrc/middlewared/middlewared/plugins etc.py, src/middlewared/middlewared/utils exceptions.py

Skip Mako Rendering

This commit introduces a feature where we can skip mako rendering.
Ticket: NAS-100123.

FreeNAS/freenas 09b2ed2src/middlewared/middlewared/plugins auth.py

Check 2FA is enabled

This commit exposes a method which doesn't require authorization to check if 2FA is 
enabled or not.
Ticket: NAS-100123

FreeNAS/freenas 895266bsrc/middlewared/middlewared/plugins auth.py

Add docs to 2FA Service

This commit adds docs to 2FA service.
Ticket: NAS-100123

FreeNAS/freenas c39fd43src/middlewared/middlewared/plugins auth.py

Generate base32 secret for 2FA

This commit introduces generation of base32 secrets for OTP with pyotp module.
Ticket: NAS-100123

FreeNAS/freenas d2114c2src/middlewared/middlewared/plugins auth.py

Expose SSH support for 2FA

This commit exposes 2FA support in two factor auth service making sure users are able to 
configure 2fa separately for ssh.
Ticket: NAS-100123

FreeNAS/freenas 7e0f85csrc/middlewared/middlewared/plugins auth.py

Expose provisioning_uri for 2FA

This commit exposes provisioning_uri for 2FA which can be used to generate QR codes and 
easily configure authenticator apps with the QR code.
Ticket: NAS-100123

FreeNAS/freenas 988745asrc/middlewared/middlewared/plugins auth.py

Verify OTP for 2FA

This commit introduces a method in two factor auth service to verify otp's provided by 
user based on algorithm and the base32 password.
Ticekt: NAS-100123

FreeNAS/freenas c11c1a1src/middlewared/middlewared/plugins auth.py

Add TwoFactorAuthService

This commit adds service for 2FA allowing basic updates to the 2FA model.
Ticket: NAS-100123

FreeNAS/freenas b4925f0src/middlewared/middlewared/plugins auth.py

Reload ssh on renewal of 2FA secret

This commit makes sure we reload SSH if 2FA is enabled for SSH on renewal of 2FA secret.
Ticket: NAS-100123

FreeNAS/freenas a680343src/middlewared/middlewared/etc_files/local users.oath, src/middlewared/middlewared/etc_files/local/ssh sshd_config

Reflect 2FA settings in SSH

This commit introduces changes to ensure that settings set for 2FA with SSH are respected 
by SSH configuration.
Ticket: NAS-100123

FreeNAS/freenas e06283dgui/system models.py, gui/system/migrations 0042_2fa_authentication.py

Add Two Factor Authentication Model

This commit adds two factor authentication model and the migration file for it as well.
NAS-100123

FreeBSD/src 346704head/stand/efi/loader main.c

Add the proper range of years for Netflix's copyright on this
file. Note that I wrote it.

FreeBSD/src 346703head/stand/efi/loader main.c

Move initialization of the block device handles earlier (we're just
snagging them from UEFI BIOS). Call the device type init routines
earlier as well, as they don't depend on how the console is
setup. This will allow us to read files earlier in boot, so any rare
error messages that this might move only to the EFI console will be an
acceptable price to pay. Also tweak the order of has_kbd so it resides
next to the rest of the console code. It needs to be after we initialize
the buffer cache.

FreeBSD/src 346702head/stand/efi/include efilib.h, head/stand/efi/libefi efienv.c

Add efi_freebsd_delenv

Add a wrapper around efi_delenv akin to efi_freebsd_getenv and
efi_getenv.

NetBSD/pkgsrc 2dZVfGtgames/wesnoth PLIST distinfo

   wesnoth: updated to 1.14.7

   Version 1.14.7
   Campaigns
    * A Tale of Two Brothers:
      * S3: Changed castle to permanent chaotic ToD and rebalanced scenario accordingly
      * S4: Added dialogue between Baran and Tairach when they engage in combat
    * Dead Water:
      * S3: Added event to make Storm Trident more obvious
    * Descent into Darkness:
      * Complete revision of all dialogue and story text
      * Revised and rebalanced gameplay in all scenarios
      * S3 and S11: New scenarios completely rewritten from scratch
    * Eastern Invasion:
      * S1: Removed early finish bonus for fleeing
      * S2: Modified Dacyn's dialogue upon undead arrival
      * S7a: Require Dacyn to cross the river
      * S9: add snow to map
      * S10: show objectives after defeating enemy leaders
      * S11: show objectives after finding gold and releasing prisoners
    * Legend of Wesmere:
      * Disabled side shuffling in MP (checking the box does nothing)
      * Fixed missing persistent data at the end of chapter 3
      * Rebalanced gold values in all scenarios
      * S3: remove shroud from enemy sides upon Kalenz's arrival

    [51 lines not shown]
VersionDeltaFile
1.49+59-1games/wesnoth/PLIST
1.63+5-5games/wesnoth/distinfo
1.144+2-3games/wesnoth/Makefile
+66-93 files

LLVM/llvm 359236llvm/trunk/include/llvm/CodeGen MachineInstrBundle.h, llvm/trunk/include/llvm/Support BranchProbability.h

Assigning to a local object in a return statement prevents copy elision. NFC.

I added a diagnostic along the lines of `-Wpessimizing-move` to detect `return x = y` 
suppressing copy elision, but I don't know if the diagnostic is really worth it. Anyway, 
here are the places where my diagnostic reported that copy elision would have been 
possible if not for the assignment.

P1155R1 in the post-San-Diego WG21 (C++ committee) mailing discusses whether WG21 should 
fix this pitfall by just changing the core language to permit copy elision in cases like 
these.

(Kona update: The bulk of P1155 is proceeding to CWG review, but specifically *not* the 
parts that explored the notion of permitting copy-elision in these specific cases.)

Reviewed By: dblaikie

Author: Arthur O'Dwyer

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

FreeBSD/src 346701head/stand/efi/loader autoload.c, head/stand/fdt fdt_loader_cmd.c fdt_platform.h

loader: fdt: Add fdt_is_setup function

When efi_autoload is called it will call fdt_setup_fdtp which setup the
dtb and overlays. If a user already loaded at dtb or overlays or just
printed the efi provided dtb, this will re-setup everything and also
re-applying the overlays.
Test that everything is setup before doing it again.

Reviewed by:    kevans
Differential Revision:  https://reviews.freebsd.org/D20059

LLVM/llvm 359235cfe/trunk/lib/CodeGen CGDebugInfo.cpp, cfe/trunk/test/CodeGenCXX debug-info-class.cpp

Skip type units/type uniquing when we know we're only emitting the type once (vtable-based 
emission when triggered by a strong vtable, with -fno-standalone-debug)

(this would regress size without a corresponding LLVM change that avoids
putting other user defined types inside type units when they aren't in
their own type units - instead emitting declarations inside the type
unit and a definition in the primary CU)

Reviewers: aprantl

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

LLVM/llvm 359234lldb/trunk/packages/Python/lldbsuite/test/expression_command/issue_11588 Test11588.py, lldb/trunk/packages/Python/lldbsuite/test/macosx/thread-names TestInterruptThreadNames.py

Two tests were using the interactive convenience variable
lldb.debugger.  They should not be.
<rdar://problem/50210340> 

LLVM/llvm 359233cfe/trunk/lib/Driver Driver.cpp

[Windows] Separate elements in -print-search-dirs with semicolons

Path lists on windows should always be separated by semicolons, not
colons. Reuse llvm::sys::EnvPathSeparator for this purpose (as that's
also a path list that is separated in the same way).

Alternatively, this could just be a local ifdef _WIN32 in this function,
or generalizing the existing EnvPathSeparator to e.g. a
llvm::sys::path::PathListSeparator?

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

FreeBSD/src 346700head/lib/libbe Makefile

libbe(3): Fix mis-application of patch (SHLIBDIR)

Rob's patch in D18564 cemented the SHLIBDIR because bsd.own.mk (included by
src.opts.mk) sets it to /usr/lib. r346546 did somehow not apply this part of
the patch, leaving it to get installed to the wrong place and subsequently
removed via ObsoleteFiles.

Reported by:    jkim
MFC after:      3 days
X-MFC-With:     r346546

LLVM/llvm 359232libcxx/trunk/include type_traits __config

Remove libc++ checks and workarounds for unsupported old versions of GCC (<4.9).

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

LLVM/llvm 359231llvm/trunk/lib/Target/AArch64 AArch64LegalizerInfo.cpp, llvm/trunk/test/CodeGen/AArch64/GlobalISel select-extract-vector-elt.mir

[GlobalISel][AArch64] Make G_EXTRACT_VECTOR_ELT legal for v8s16s

This case was missing before, so we couldn't legalize it.

Add it to AArch64LegalizerInfo.cpp and update select-extract-vector-elt.mir.

LLVM/llvm 359230cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject UninitializedObject.h, cfe/trunk/test/Analysis cxx-uninitialized-object.cpp

[analyzer][UninitializedObjectChecker] PR41590: Regard _Atomic types as primitive

https://bugs.llvm.org/show_bug.cgi?id=41590

For the following code snippet, UninitializedObjectChecker crashed:

struct MyAtomicInt {
  _Atomic(int) x;
  MyAtomicInt() {}
};

void entry() {
  MyAtomicInt b;
}

The problem was that _Atomic types were not regular records, unions,
dereferencable or primitive, making the checker hit the llvm_unreachable at
lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp:347.
The solution is to regard these types as primitive as well. The test case shows
that with this addition, not only are we able to get rid of the crash, but we
can identify x as uninitialized.

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

LLVM/llvm 359229libcxx/trunk/include __mutex_base

Fix buildbot failures after r359159.

std::mutex was not actually is_nothrow_default_constructible in C++98/C++03,
because the variable declaration

  std::mutex M;

... could throw an exception from the mutex destructor. Fix it by marking the
destructor as non-throwing. This has no effect in C++11 onwards, because
destructors are non-throwing by default in those language modes.

LLVM/llvm 359228lldb/trunk/lit/Register/Inputs x86-mm-xmm-read.cpp x86-64-read.cpp

[lldb] [lit] Use constexpr and better constraints in Register tests

Use constexpr to explicitly indicate that we're dealing with integer
constants, and provoke clang to assign them straight to registers
whenever possible.  Adjust input constraints in %mmN tests to "rm"
as using integer constants is apparently disallowed there.  Also
use "i" for %rN tests, as we don't want clang to accidentally clobber
those general purpose registers while assigning to them (however
unlikely that is).

SmartOS/live e552ee5man/src vminfo.1m.md, src/vm/node_modules/vminfod client.js

OS-7765 clarify that vminfod/client.js is not a public promised interface
Reviewed by: Dave Eddy <dave.eddy at joyent.com>
Approved by: Dave Eddy <dave.eddy at joyent.com>

LLVM/llvm 359227libcxx/trunk/include __config

Set _LIBCPP_DLL_VIS on _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS in MinGW mode

Contrary to MSVC, MinGW compilers wants the dllexport attribute on
the declaration of an explicit template instantiation, not on the
definition.

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

ELF Tool Chain/elftoolchain 3735

Recognize the PPC64 architecture.

Submitted by: Dr N.W. Filardo on -developers
DeltaFile
+0-00 files

NetBSD/pkgsrc afZxjw9doc CHANGES-2019

   Updated x11/qt5
VersionDeltaFile
1.1826+2-1doc/CHANGES-2019
+2-11 files

NetBSD/pkgsrc aW7mgp9x11/qt5-mysql distinfo, x11/qt5-odbc distinfo

   qt5: updated to 5.12.3

   Qt 5.12.3, the third patch release of Qt 5.12 LTS, is released today. While not adding 
new features, the Qt 5.12.3 release provides a number of bug fixes, as well as performance 
and other improvements.

   Compared to Qt 5.12.2, the new Qt 5.12.3 provides almost 200 bug fixes. For details of 
the most important changes, please check the Change files of Qt 5.12.3.

   Qt 5.12 LTS will receive many more patch releases throughout the coming years and we 
recommend all active developed projects to migrate to Qt 5.12 LTS. Qt 5.9 LTS is currently 
in ‘Strict’ phase and receives only the selected important bug and security fixes, while 
Qt 5.12 LTS is currently receiving all the bug fixes. Qt 5.6 Support has ended in March 
2019, so all active projects still using Qt 5.6 LTS should migrate to a later version of 
Qt.

LLVM/llvm 359226llvm/trunk/lib/Transforms/ObjCARC ObjCARCOpts.cpp, llvm/trunk/test/Transforms/ObjCARC opt-max-ptr-states.ll

[ObjC][ARC] Let ARC optimizer bail out if the number of pointer states
it keeps track of becomes too large

ARC optimizer does a top-down and a bottom-up traversal of the whole
function to pair up retain and release instructions and remove them.
This can be expensive if the number of instructions in the function and
pointer states it tracks are large since it has to look at each pointer
state and determine whether the instruction being visited can
potentially use the pointer.

This patch adds a command line option that sets a limit to the number of
pointers it tracks.

rdar://problem/49477063

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

FreeBSD/ports 500069head/graphics/oyranos/files patch-src_tools_oyranos__convert.c

graphics/oyranos: Fix build at HEAD.

PR:            237476
Submitted by:   Rainer Hurling <rhurlin at gwdg.de>

FreeNAS/freenas 9217d65src/middlewared/middlewared/plugins jail.py

Merge pull request #2957 from freenas/jail_image

NAS-101556 / 11.3 / Correctly start/stop jails on export

NetBSD/src KxELrKMtests/kernel h_segv.c

   Fix typo
VersionDeltaFile
1.14+3-3tests/kernel/h_segv.c
+3-31 files

FreeNAS/freenas 2bea530src/middlewared/middlewared/plugins ups.py

fix(middlewared/ups): `ups.driver_choices` on 12.x

FreeBSD/ports 500068head/www/py-dj21-django-filter distinfo Makefile

www/py-dj21-django-filter: Update to 2.1.0

Changelog:

* Fixed a regression in FilterView introduced in 2.0. An empty QuerySet was
  incorrectly used whenever the FilterSet was unbound (i.e. when there were
  no GET parameters). The correct, pre-2.0 behaviour is now restored.

* A workaround was to set strict=False on the FilterSet. This is no longer
  necessary, so one may restore strict behaviour as desired.

* Added IsoDateTimeFromToRangeFilter. Allows From-To filtering using
  ISO-8601 formatted dates.

https://github.com/carltongibson/django-filter/releases/tag/2.1.0

Approved by:    mentors (implicit)

FreeBSD/ports 500067head/www/gitlab-ce Makefile distinfo, head/www/gitlab-ce/files patch-Gemfile

Bugfix upgrade to 11.10.1.
For more details please see here:
https://about.gitlab.com/2019/04/24/gitlab-11-10-1-released/

NetBSD/src OvzvQCetests/lib/libc/sys t_ptrace_wait.c Makefile

   Introduce check for the support of FPU exceptions

   If FPU exceptions are unsupported, skip the SIGFPE crash tests.

   Reuse code from tests/kernel/h_segv.c

FreeBSD/ports 500066head/devel/gitaly pkg-plist Makefile

Upgrade to 1.34.0 which is required for Gitlab 11.10.1 upgrade.

FreeBSD/ports 500065head/net/rubygem-gitaly-proto distinfo Makefile

Upgrade to 1.22.0 which is required for Gitlab 11.10.1 upgrade.

FreeBSD/ports 500064head/www/py-django-filter Makefile distinfo

www/py-django-filter: Update to 2.1.0

* Remove optional dependencies that are not required for runtime.
* Limit the port to Python 3.4 or later because the support for Python 2 was
  dropped with the 2.0.0 release.

Notable changes since 1.1.0:

* Fixed a regression in FilterView introduced in 2.0. An empty QuerySet was
  incorrectly used whenever the FilterSet was unbound (i.e. when there were
  no GET parameters). The correct, pre-2.0 behaviour is now restored.
* Drop Python 2, Django < 1.11 support
* Added Django 2.0 support
* Many other bugfixes, for a full changelog see:

https://github.com/carltongibson/django-filter/blob/2.1.0/CHANGES.rst

Approved by:    mentors (implicit)

OpenBSD/src cdw9ZE5usr.bin/tmux tty.c

   Need a fallback for -2 for aixterm colours.
VersionDeltaFile
1.323+11-3usr.bin/tmux/tty.c
+11-31 files

LLVM/llvm 359225llvm/trunk/lib/Target/AMDGPU VOP1Instructions.td VOPInstructions.td

[AMDGPU] gfx1010 VOP1 instructions

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

FreeBSD/ports 500063head/www/py-dj21-django-tables2 distinfo Makefile

www/py-dj21-django-tables2: Update to 2.0.6

Changes since 2.0.3:

* Add optional 'table' kwarg to row_attrs callables.
* Fixed issue with wrong time format for TimeColumn.
* The "ValueError" raised if the QuerySet passed to a table instance did not
  match the value declared in Meta.model is now turned into a warning.
* Make sure the templates do not raise errors when thead/tfoot attributes
  are not defined.

https://github.com/jieter/django-tables2/blob/v2.0.6/CHANGELOG.md

Approved by:    mentors (implicit)

LLVM/llvm 359224llvm/trunk/lib/Target/AMDGPU SIInsertWaitcnts.cpp SIDefines.h, llvm/trunk/lib/Target/AMDGPU/Utils AMDGPUBaseInfo.cpp AMDGPUBaseInfo.h

[AMDGPU] gfx1010 utility functions

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