HardenedBSD/hardenedbsd a906febsys/vm vm_unix.c

HBSD: Resolve merge conflict

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+0-5sys/vm/vm_unix.c
+0-51 files

HardenedBSD/hardenedbsd 887d9e4lib/libcasper/services/cap_sysctl cap_sysctl.c cap_sysctl.3, lib/libcasper/services/cap_sysctl/tests sysctl_test.c

Merge remote-tracking branch 'origin/freebsd/current/master' into hardened/current/master

Conflicts:
        sys/vm/vm_unix.c (unresolved)

FreeNAS/freenas 7ff960csrc/freenas/etc/ix.rc.d ix-pre-samba, src/middlewared/middlewared/plugins etc.py sysdataset.py

Ensure that smb_configure only runs after system dataset setup (#3335)

If samba's private dir does not exist, then smb-related commands will fail
with 'invalid messaging context'. This situation can occur if smb_configure
runs before the system dataset is set up.

FreeNAS/freenas 5de4971src/middlewared/middlewared/plugins jail.py

Update official repositories choices for plugins

This commit updates the api we expose for retrieving officially supported plugin repos 
including a user friendly name for the official repo.

FreeBSD/ports 506804head/graphics/jogl Makefile

Adjust to proposed changes in Java versioning

* Bug #238758 proposes to change the Java versioning from versions such
  as "1.6.0" to versions such as "6" (for example).  Modify the Makefile
  checks on JAVA_PORT_VERSION to cope with either format.

PR:            238981
Approved by:    peterj (maintainer)

FreeBSD/ports 506803head/devel/jenkins-lts distinfo Makefile

- Update to 2.176.2

Approved by:    swils (maintainer, implicitly)
MFH:           2019Q3
Security:       df3db21d-1a4d-4c78-acf7-4639e5a795e0
Sponsored by:   The FreeBSD Foundation

FreeBSD/ports 506802head/devel/jenkins distinfo Makefile

- Update to 2.186

MFH:           2019Q3
Security:       df3db21d-1a4d-4c78-acf7-4639e5a795e0
Sponsored by:   The FreeBSD Foundation

FreeBSD/ports 506801head/misc/pastebinit Makefile

- Fix typo in COMMENT

PR:            239204
Submitted by:   rff1917 at yahoo.com

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

Document Jenkins Security Advisory 2019-07-17

Sponsored by:   The FreeBSD Foundation

LLVM/llvm 366333lld/trunk/Common ErrorHandler.cpp, lld/trunk/test/ELF vs-diagnostics-duplicate.s vs-diagnostics-undefined-symbol-3.s

[lld] Add Visual Studio compatible diagnostics

Summary:
Add a --vs-diagnostics flag that alters the format of diagnostic output
to enable source hyperlinks in Visual Studio.

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

Reviewed by: ruiu

LLVM/llvm 366332cfe/trunk/lib/AST ASTStructuralEquivalence.cpp, cfe/trunk/unittests/AST StructuralEquivalenceTest.cpp ASTImporterTest.cpp

[ASTImporter] Fix structural eq of lambdas

Summary:
The structural equivalence check reported false eq between lambda classes
with different parameters in their call signature.
The solution is to check the methods for equality too in case of lambda
classes.

Reviewers: a_sidorin, a.sidorin

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

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

FreeNAS/freenas a3f6715gui/tasks/migrations 0015_increace_ini_type_field_max_length.py

NAS-100230 add django migration to increase 'ini_type' field's max_length
'ini_type' should be able to store value 'multiline_command' which is 17 chars long

NetBSD/pkgsrc KKahwggdevel/git DESCR Makefile

   devel/git: Drop git-gitk from git metapakage

   As discussed at length on pkgsrc-users: A number of people believe
   that the git metapackage should contain all of what is in git's
   release tarball, and that people should read DESCR.  A number of
   people believe that the package named git should contain less (not
   gitk), and sometimes even less than that.  As a compromise where each
   group is merely grumbling a little, drop gitk from the metapackage,
   because it is a component that some are bothered by (because it
   depends on tk, tcl and X, mostly), and because it is easy for those
   that want it to install it separately.
VersionDeltaFile
1.3+7-5devel/git/DESCR
1.5+2-2devel/git/Makefile
+9-72 files

FreeNAS/freenas ae8e0e3gui/tasks/migrations 0014_add_ini_multiline_command.py

NAS-100230 add django migration which adds 'ini_multiline_command' field
to  InitShutdown model

FreeNAS/freenas 78d6defgui/tasks models.py

NAS-100230 add 'ini_multiline_command' field and increase 'ini_type' field's max length

LLVM/llvm 366331llvm/trunk CMakeLists.txt

[RISCV] Add RISCV to LLVM_ALL_TARGETS so it s built by default

This follows the RFC <http://lists.llvm.org/pipermail/llvm-dev/2019-July/133724.html>.

Follow-on commits will add appropriate release notes changes etc.

Pushing this now and in a minimal form so there is reasonable time before 9.0
branches to resolve any issues arising from e.g. the backend being exposed on
different sanitizer setups.

The current builder for RISC-V is on the staging build-bot
<http://lab.llvm.org:8014/builders/llvm-riscv-linux>, however with the RISCV
backend being built by default it won't provide any real additional coverage.
We will shortly set up a builder that runs the test-suite in qemu-user.

FreeNAS/freenas 7f49d6csrc/freenas/etc/ix.rc.d ix-pre-samba, src/middlewared/middlewared/plugins etc.py sysdataset.py

Ensure that smb_configure only runs after system dataset setup
If samba's private dir does not exist, then smb-related commands will fail
with 'invalid messaging context'. This situation can occur if smb_configure
runs before the system dataset is set up.

FreeBSD/src 350081vendor/sqlite3 sqlite-autoconf-3290000

Tag import of sqlite3-3.29.0 (3290000)

FreeBSD/src 350080vendor/sqlite3/dist sqlite3.c shell.c, vendor/sqlite3/dist/tea configure

Import sqlite3-3.29.0 (3290000)

FreeNAS/freenas 839c554src/middlewared/middlewared/plugins jail.py

Update official repositories choices for plugins

This commit updates the api we expose for retrieving officially supported plugin repos 
including an icon uri and a user friendly name for the official repo.

LLVM/llvm 366330llvm/trunk/test/CodeGen/RISCV dwarf-eh.ll

[RISCV][NFC] Remove outdated TODO from test/CodeGen/RISCV/dwarf-eh.ll

LLVM/llvm 366329llvm/trunk/include/llvm/CodeGen AsmPrinter.h, llvm/trunk/include/llvm/Target TargetLoweringObjectFile.h

[AsmPrinter] Make the encoding of call sites in .gcc_except_table configurable and use for 
RISC-V

The original behavior was to always emit the offsets to each call site in the
call site table as uleb128 values, however on some architectures (eg RISCV)
these uleb128 offsets into the code cannot always be resolved until link time
(because relaxation will invalidate any calculated offsets), and there are no
appropriate relocations for uleb128 values. As a consequence it needs to be
possible to specify an alternative.

This also switches RISCV to use DW_EH_PE_udata4 for call side encodings in
.gcc_except_table

Differential Revision: https://reviews.llvm.org/D63415
Patch by Edward Jones.

LLVM/llvm 366328llvm/trunk/include/llvm/IR IntrinsicsMips.td

Mips: Remove immarg from copy and insert intrinsics

These intrinsics do in fact work with non-constant index arguments.

These are lowered to either the generic
ISD::INSERT_VECTOR_ELT/ISD::EXTRACT_VECTOR_ELT, or to
VEXTRACT_SEXT_ELT. The handling of these all accept variable
indexes. Turning these into generic instructions which do allow
variables introduces complications in a future change to immarg
handling.

Since these just turn into generic instructions, these are kind of
pointless and should probably just be autoupgraded to
extractelement/insertelement.

LLVM/llvm 366327llvm/trunk/lib/CodeGen TargetLoweringObjectFileImpl.cpp, llvm/trunk/test/CodeGen/RISCV dwarf-eh.ll

[RISCV] Set correct encodings for DWARF exception handling

This patch sets correct encodings for DWARF exception handling for RISC-V
(other than call site encoding, which must be udata4 rather than uleb128 and
is handled by D63415).

This has the same intend as D63409, except this version matches GCC/binutils
behaviour which uses the same encodings regardless of PIC/non-PIC and
medlow/medany code model.

FreeNAS/freenas 354e884src/middlewared/middlewared/plugins zfs.py

Update query_for_quota_alert

This commit updates query_for_quota_alert to use zfs.dataset query method to retrieve data 
about datasets as it's way faster then the legacy approach.

LLVM/llvm 366326llvm/trunk/test/CodeGen/RISCV dwarf-eh.ll, llvm/trunk/test/DebugInfo/RISCV eh-frame.s

[RISCV][NFC] Add tests that capture current encodings for DWARF EH

Items which are known to be wrong/different vs GCC are marked as TODO and will
be address in follow-up patches.

LLVM/llvm 366325cfe/trunk/lib/AST ASTImporter.cpp, cfe/trunk/unittests/AST ASTImporterTest.cpp

[ASTImporter] Fix LLDB lookup in transparent ctx and with ext src

Summary:
With LLDB we use localUncachedLookup(), however, that fails to find
Decls when a transparent context is involved and the given DC has
external lexical storage.  The solution is to use noload_lookup, which
works well with transparent contexts.  But, we cannot use only the
noload_lookup since the slow case of localUncachedLookup is still needed
in some other cases.

These other cases are handled in ASTImporterLookupTable, but we cannot
use that with LLDB since that traverses through the AST which initiates
the load of external decls again via DC::decls().

We must avoid loading external decls during the import becuase
ExternalASTSource is implemented with ASTImporter, so external loads
during import results in uncontrolled and faulty import.

Reviewers: shafik, teemperor, jingham, clayborg, a_sidorin, a.sidorin

Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits, lldb-commits

Tags: #clang, #lldb

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

FreeNAS/freenas ac49a6esrc/middlewared/middlewared/plugins zfs.py

Expose one attribute to disallow all props retrieval

This commit exposes a single boolean attribute which can be supplied when no property is 
required.

FreeNAS/freenas 356637dsrc/middlewared/middlewared/plugins cloud_sync.py pool.py, src/middlewared/middlewared/pytest/unit/plugins test_cloud_sync.py

Update zfs.dataset.query usages

This commit updates zfs.dataset.query usages which means not retrieving any property with 
the new knobs exposed in the middlewared api. It also updates cloudsync flatten_datasets 
usage making sure we don't use it now as the zfs.dataset.query already returns a flattened 
structure for the datasets.

LLVM/llvm 366324llvm/trunk/test/tools/llvm-ar replace-update.test replace.test

[llvm-ar][test] \r\n -> \n

Also simplify some empty output tests with 'count 0'

LLVM/llvm 366323llvm/trunk/lib/Target/AMDGPU AMDGPUAtomicOptimizer.cpp, llvm/trunk/test/CodeGen/AMDGPU atomic_optimizations_local_pointer.ll

[AMDGPU] Optimize atomic AND/OR/XOR

Summary: Extend the atomic optimizer to handle AND, OR and XOR.

Reviewers: arsenm, sheredom

Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, 
jfb, llvm-commits

Tags: #llvm

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

FreeNAS/freenas d53df2esrc/middlewared/middlewared/plugins cloud_sync.py pool.py, src/middlewared/middlewared/pytest/unit/plugins test_cloud_sync.py

Update zfs.dataset.query usages

This commit updates zfs.dataset.query usages which means not retrieving any property with 
the new knobs exposed in the middlewared api. It also updates cloudsync flatten_datasets 
usage making sure we don't use it now as the zfs.dataset.query already returns a flattened 
structure for the datasets.

NetBSD/pkgsrc hOsdioRdoc CHANGES-2019 TODO

   doc: Updated mail/postfix to 3.4.6
VersionDeltaFile
1.2940+2-1doc/CHANGES-2019
1.19131+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc czyC6gbmail/postfix PLIST distinfo, mail/postfix/patches patch-ai patch-ag

   postfix: update to 3.4.6

   pkgsrc changes:
   ---------------
     * change COMMENT to make pkglint happy (inspired by http://www.postfix.org/)
     * update PLIST using make print-PLIST (missing @pkgdir)

   upstream changes:
   -----------------
   20181125

        Cleanup: dict_file_to_xxx() takes a list of file names
        separated by CHARS_COMMA_SP. Shoe-horned into the existing
        API, make it nicer when there is time. File: util/dict_file.c.

   20181127

        Cleanup: encapsulated clumsy 'read into VSTRING' code with
        easier-to-use vstream_fread_buf() and vstream_fread_app()
        primitives. Files: global/memcache_proto.c, global/record.c,
        global/smtp_stream.c, global/smtp_stream.h, global/uxtext.c,
        global/xtext.c, milter/milter8.c, util/dict_file.c,
        util/hex_quote.c, util/netstring.c, util/vstream.c,
        util/vstream.h. Verified with "make tests".


    [365 lines not shown]

FreeNAS/freenas 3cf0373src/middlewared/middlewared/plugins zfs.py

Expose one attribute to disallow all props retrieval

This commit exposes a single boolean attribute which can be supplied when no property is 
required.

LLVM/llvm 366322cfe/trunk/lib/Headers arm_acle.h, cfe/trunk/test/CodeGen aarch64-tme.c

[AArch64] Add support for Transactional Memory Extension (TME)

TME is a future architecture technology, documented in

https://developer.arm.com/architectures/cpu-architecture/a-profile/exploration-tools
https://developer.arm.com/docs/ddi0601/a

More about the future architectures:

https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/new-technologies-for-the-arm-a-profile-architecture

This patch adds support for the TME instructions TSTART, TTEST, TCOMMIT, and
TCANCEL and the target feature/arch extension "tme".

It also implements TME builtin functions, defined in ACLE Q2 2019
(https://developer.arm.com/docs/101028/latest)

Patch by Javed Absar and Momchil Velikov

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

FreeNAS/freenas ddac369src/middlewared/middlewared/plugins zfs.py

Remove zfs cli usage

This commit removes zfs cli usage as py-libzfs is giving us better/same results when we 
opt out of retrieving any property for a dataset. It also exposes a knob to disallow/allow 
retrieving custom user props for datasets.

LLVM/llvm 366321clang-tools-extra/trunk/clangd/unittests TestTU.cpp

[clangd] Force the required interpretation of #import on windows tests.

Summary: NFC but should fix a bunch of tests.

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, llvm-commits

Tags: #llvm

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

FreeNAS/freenas d2ee592src/middlewared/middlewared/plugins zfs.py

Ability to retrieve no prop at all when querying datasets

This commit adds ability to not retrieve any prop when querying datasets which increases 
speed dramatically.

FreeNAS/freenas 850e1edsrc/middlewared/middlewared/plugins pool.py

Update pool.dataset namespace to pass extra options to zfs plugin

This commit updates pool.dataset namespace to pass on extra attributes to zfs plugin when 
querying for datasets.

OPNSense/core 5dca5ccsrc/opnsense/mvc/app/library/OPNsense/Routing Gateways.php

Gateways, empty gateway_group tag in config.xml being parsed in getGroups() results. fix a 
bit of spacing while here. closes https://github.com/opnsense/core/issues/3576

LLVM/llvm 366320clang-tools-extra/trunk/clangd QueryDriverDatabase.cpp, clang-tools-extra/trunk/clangd/test system-include-extractor.test

[clangd] Handle windows line endings in QueryDriver

Summary: fixes second case of https://github.com/clangd/clangd/issues/93

Reviewers: sammccall

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

Tags: #clang

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

OpenBSD/ports fvjYJDXwww/youtube-dl Makefile distinfo, www/youtube-dl/pkg PLIST

   youtube-dl: update to 2019.07.16 to unbreak youtube live
   Changelog:
   https://github.com/ytdl-org/youtube-dl/releases

FreeBSD/ports 506799head/graphics/gdk-pixbuf2 pkg-plist distinfo

graphics/gdk-pixbuf2: update to 2.38.1

PR:            239164
Exp-run by:     antoine

NetBSD/pkgsrc g0gmKrsmeta-pkgs/mate Makefile

   mate: Re-add pluma.
VersionDeltaFile
1.25+3-3meta-pkgs/mate/Makefile
+3-31 files

LLVM/llvm 366319llvm/trunk/lib/Target/PowerPC PPCRegisterInfo.cpp PPCCallingConv.td

PowerPC: Fix register spilling for SPE registers

Summary:
Missed in the original commit, use the correct callee-saved register
list for spilling, instead of the standard SVR432 list.  This avoids
needlessly spilling the SPE non-volatile registers when they're not used.

As part of this, also add where missing, and sort, the spill opcode
checks for SPE and SPE4 register classes.

Reviewers: nemanjai, hfinkel, joerg

Subscribers: kbarton, jsji, llvm-commits

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

LLVM/llvm 366318llvm/trunk/lib/Target/PowerPC PPCISelLowering.cpp PPCRegisterInfo.cpp, llvm/trunk/test/CodeGen/PowerPC spe.ll

PowerPC/SPE: Fix load/store handling for SPE

Summary:
Pointed out in a comment for D49754, register spilling will currently
spill SPE registers at almost any offset.  However, the instructions
`evstdd` and `evldd` require a) 8-byte alignment, and b) a limit of 256
(unsigned) bytes from the base register, as the offset must fix into a
5-bit offset, which ranges from 0-31 (indexed in double-words).

The update to the register spill test is taken partially from the test
case shown in D49754.

Additionally, pointed out by Kei Thomsen, globals will currently use
evldd/evstdd, though the offset isn't known at compile time, so may
exceed the 8-bit (unsigned) offset permitted.  This fixes that as well,
by forcing it to always use evlddx/evstddx when accessing globals.

Part of the patch contributed by Kei Thomsen.

Reviewers: nemanjai, hfinkel, joerg

Subscribers: kbarton, jsji, llvm-commits

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

FreeBSD/ports 506798branches 2019Q3, branches/2019Q3/devel/py-colorama distinfo Makefile

MFH: r506795

devel/py-colorama: update 0.3.9 to 0.4.1

PR:            238260
Approved by:    portmgr (miwi)

NetBSD/pkgsrc 3Eodt34chat/weechat Makefile

   weechat: Remove -Werror-implicit-function-declaration

   This should help out older NetBSD versions.
VersionDeltaFile
1.97+3-1chat/weechat/Makefile
+3-11 files

LLVM/llvm 366317llvm/trunk/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/trunk/lib/Target/Mips MipsLegalizerInfo.cpp

[MIPS GlobalISel] ClampScalar and select pointer G_ICMP

Add narrowScalar to half of original size for G_ICMP.
ClampScalar G_ICMP's operands 2 and 3 to to s32.
Select G_ICMP for pointers for MIPS32. Pointer compare is same
as for integers, it is enough to declare them as legal type.

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