HardenedBSD/hardenedbsd 51c46fecddl/lib/libbe Makefile, include pthread.h

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

* origin/hardened/current/master:
  libbe(3): Move build goop back out of cddl/
  libbe(3): Remove -v from LDFLAGS
  bectl(8): Allow running a custom command in the 'jail' subcommand
  POSIX compliance improvements in the pthread(3) functions.
  HBSD: Allow running a custom command in the new ZFS boot enrivonment jail

FreeBSD/ports 477477branches 2018Q3, branches/2018Q3/lang/php71 distinfo

MFH: r477443

revert php-7.1.x-mail-header.patch into distinfo

Point hat: joneum

Approved by:    ports-secteam (miwi)

FreeBSD/ports 477476branches 2018Q3, branches/2018Q3/lang/php71 distinfo Makefile

MFH: r477442

Update to 7.1.21

Changelog: http://www.php.net/ChangeLog-7.php#7.1.21

Approved by:    tz (implicit)

Approved by:    ports-secteam (miwi)

HardenedBSD/hardenedbsd d7f0d9dcddl/lib/libbe Makefile, include pthread.h

Merge branch 'freebsd/current/master' into hardened/current/master

* freebsd/current/master:
  libbe(3): Move build goop back out of cddl/
  libbe(3): Remove -v from LDFLAGS
  bectl(8): Allow running a custom command in the 'jail' subcommand
  POSIX compliance improvements in the pthread(3) functions.

FreeBSD/src 337996head/sys/dev/cxgbe t4_sge.c t4_main.c, head/sys/modules/cxgbe/if_cxgbe Makefile

cxgbe(4): Replace T4_PKT_TIMESTAMP with something slightly less hackish.

LLVM/llvm 340119debuginfo-tests/trunk smart-ptr-1.cpp

Revert "Add a basic integration test for C++ smart pointers"

This reverts commit 73786631984289b3d601034b2bf4ba2b8f5845eb.

Revert r339961 since its causing debuginfo-tests to fail:
http://green.lab.llvm.org/green/job/clang-stage1-configure-RA/48514/

rdar://problem/43449629

LLVM/llvm 340118llvm/trunk/include/llvm/DebugInfo/CodeView CodeViewRegisters.def, llvm/trunk/lib/Target/X86/MCTargetDesc X86MCTargetDesc.cpp

Add the extended XMM registers mappings for AVX-512.

After this we should have the entire AVX-512 register set
mapping in place.

FreeBSD/ports 477475head/textproc/p5-Text-CSV distinfo Makefile

FreeBSD/ports 477474head/devel/p5-Params-ValidationCompiler distinfo Makefile

FreeBSD/ports 477473head/net/py-ripe.atlas.tools distinfo Makefile

- Update to 2.2.3

PR:            230312
Submitted by:   ndowens at yahoo.com
Approved by:    maintainer(timeout, > 14 days)

LLVM/llvm 340117cfe/trunk/include/clang/Analysis RetainSummaryManager.h ObjCRetainCount.h, cfe/trunk/lib/Analysis RetainSummaryManager.cpp

Revert "[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker"

This reverts commit a786521fa66c72edd308baff0c08961b6d964fb1.

Bots haven't caught up yet, but broke modules build with:

../tools/clang/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h:18:10:
fatal error: cyclic dependency in module 'Clang_StaticAnalyzer_Core':
Clang_StaticAnalyzer_Core -> Clang_Analysis ->
Clang_StaticAnalyzer_Checkers -> Clang_StaticAnalyzer_Core
         ^

FreeBSD/src 337995head Makefile.inc1, head/cddl/lib Makefile libbe

libbe(3): Move build goop back out of cddl/

Some background: in the GSoC project, libbe/Makefile lived in lib/libbe. I
created projects/bectl branch, maintained the above for all of five
minutes before I misread Makefile.inc1 and decided that it couldn't possibly
build outside of cddl/, so I kicked the Makefile out into the cddl/ build
and all was good. The misreading was of the bit where .WAIT is added to
SUBDIR after lib, libexec but prior to building bin and cddl *only during
the install targets*, which is the critical part.

Fast forward- buildworld was still broken in my branch unbeknownst to me
because I didn't nuke my OBJDIR. Combing through Makefile.inc1 eventually
revealed the necessary magic to make sure that libbe's dependencies are
specified well enough, and it becomes clear what needs done to make a
non-cddl/ build work. This is an interesting prospect, because the build
split is kind of annoying to work with.

IGNORE_PRAGMA is added to avoid dropping WARNS by one more. This was
previously pulled in via cddl/Makefile.inc.

HardenedBSD/hardenedbsd 68ec745. Makefile.inc1, cddl/lib Makefile

libbe(3): Move build goop back out of cddl/

Some background: in the GSoC project, libbe/Makefile lived in lib/libbe. I
created projects/bectl branch, maintained the above for all of five
minutes before I misread Makefile.inc1 and decided that it couldn't possibly
build outside of cddl/, so I kicked the Makefile out into the cddl/ build
and all was good. The misreading was of the bit where .WAIT is added to
SUBDIR after lib, libexec but prior to building bin and cddl *only during
the install targets*, which is the critical part.

Fast forward- buildworld was still broken in my branch unbeknownst to me
because I didn't nuke my OBJDIR. Combing through Makefile.inc1 eventually
revealed the necessary magic to make sure that libbe's dependencies are
specified well enough, and it becomes clear what needs done to make a
non-cddl/ build work. This is an interesting prospect, because the build
split is kind of annoying to work with.

IGNORE_PRAGMA is added to avoid dropping WARNS by one more. This was
previously pulled in via cddl/Makefile.inc.

NetBSD/src OClW6Djbin/sh mknodenames.sh

   In the older debug code (not using the new macros added in the
   previous rev) the two values (node name, and node number) were
   arbitrarily printed in different formats and orders (depending
   upon my mood at the time I guess...)   The new macros will standardise
   that usage (in the debug output) once some use of them actually begins.

   When the macros were added, I arbitrarily copied the format of one
   use I was looking at at that instant (the one which inspired the change),
   but after gazing at DEBUG mode output over the intervening time, I
   have concluded that I did not pick the easiest to read/follow format.

   So, even before they are used, change the style...    Also, conform
   to standard PRIxxxx macro style by omitting the leading '%'.

   NFC (since they aren't used at all, anywhere, yet, not even the
   possibility of anything changing!)
VersionDeltaFile
1.6+4-4bin/sh/mknodenames.sh
+4-41 files

HardenedBSD/hardenedbsd b51bdffcddl/lib/libbe Makefile

libbe(3): Remove -v from LDFLAGS

-v is clearly not needed for linking, and it adds extra verbose information
that is not necessary.

FreeBSD/src 337994head/cddl/lib/libbe Makefile

libbe(3): Remove -v from LDFLAGS

-v is clearly not needed for linking, and it adds extra verbose information
that is not necessary.

FreeBSD/ports 477472head/net/py-dugong Makefile distinfo

- Update to 3.7.3

PR:            230317
Submitted by:   ndowens at yahoo.com
Approved by:    maintainer(timeout, > 14 days)

DragonFlyBSD/src f66cf37sys/vfs/hammer2 hammer2_io.c hammer2_vfsops.c

hammer2 - Add the vfs.hammer2.cluster_write sysctl back in

* Value may be 0 or 1, defaults to 0 (disabled).  Was previously
  enabled.

* By default H2 no longer sets B_CLUSTEROK on dirty buffers being
  written.  Theoretically this shouldn't be a problem because H2
  already uses a large 64KB buffer size.

* Should improve I/O throughput on high-performance SSDs by removing
  kernel overhead and should also work better with vfsync's dirty
  buffer scan which is already sorted.

DragonFlyBSD/src a8bb935sys/kern vfs_subr.c

kernel - remove BUF_TIMELOCK use in fast flush pass

* Remove the BUF_TIMELOCK call in the fast flush pass.  This call can
  cause unnecessary flush stalls due to clustered writes getting ahead
  of the vfsync scan.

* Significantly improves filesystem flush performance to SSDs.
DeltaFile
+13-4sys/kern/vfs_subr.c
+13-41 files

LLVM/llvm 340116llvm/trunk/include/llvm/ExecutionEngine/Orc Layer.h

[ORC] Fix some parameter names. NFC.

LLVM/llvm 340115llvm/trunk/include/llvm/ExecutionEngine/Orc Core.h RTDyldObjectLinkingLayer.h, llvm/trunk/lib/ExecutionEngine/Orc Core.cpp RTDyldObjectLinkingLayer.cpp

[ORC] Rename 'finalize' to 'emit' to avoid potential confusion.

An emitted symbol has had its contents written and its memory protections
applied, but it is not automatically ready to execute.

Prior to ORC supporting concurrent compilation, the term "finalized" could be
interpreted two different (but effectively equivalent) ways: (1) The finalized
symbol's contents have been written and its memory protections applied, and (2)
the symbol is ready to run. Now that ORC supports concurrent compilation, sense
(1) no longer implies sense (2). We have already introduced a new term, 'ready',
to capture sense (2), so rename sense (1) to 'emitted' to avoid any lingering
confusion.

OpenBSD/src 410kUMSshare/man/man7 man.7, usr.bin/mandoc man_term.c man_html.c

   implement the GNU man-ext .SY/.YS (synopsis block) macro in man,
   used in most manual pages of the groff package

LLVM/llvm 340114cfe/trunk/include/clang/Analysis RetainSummaryManager.h ObjCRetainCount.h, cfe/trunk/lib/Analysis RetainSummaryManager.cpp

[analyzer] [NFC] Split up RetainSummaryManager from RetainCountChecker

ARCMigrator is using code from RetainCountChecker, which is a layering
violation (and it also does it badly, by using a different header, and
then relying on implementation being present in a header file).

This change splits up RetainSummaryManager into a separate library in
lib/Analysis, which can be used independently of a checker.

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

NetBSD/pkgsrc VAFIV3Ex11/mlterm options.mk PLIST

   Add fcitx option
VersionDeltaFile
1.15+11-3x11/mlterm/options.mk
1.40+3-1x11/mlterm/PLIST
+14-42 files

NetBSD/pkgsrc 2bMJM3Ymk/defaults options.description

   Add fcitx option
VersionDeltaFile
1.561+1-0mk/defaults/options.description
+1-01 files

NetBSD/pkgsrc TcV9NhYinputmethod Makefile

   Add fcitx-skk
VersionDeltaFile
1.76+2-1inputmethod/Makefile
+2-11 files

NetBSD/pkgsrc lMfxFRrdoc CHANGES-2018

   Added inputmethod/fcitx-skk version 0.1.4
VersionDeltaFile
1.3654+2-1doc/CHANGES-2018
+2-11 files

NetBSD/pkgsrc xy7iMjzinputmethod/fcitx-skk Makefile PLIST

   inputmethod/fcitx-skk: import fcitx-skk-0.1.4

   SKK input module for Fcitx inputmethod based on libskk

NetBSD/pkgsrc tgx4XGqinputmethod Makefile

   Add fcitx-qt5
VersionDeltaFile
1.75+2-1inputmethod/Makefile
+2-11 files

NetBSD/pkgsrc 8dchfcndoc CHANGES-2018

   Added inputmethod/fcitx-qt5 version 1.2.3
VersionDeltaFile
1.3653+2-1doc/CHANGES-2018
+2-11 files

FreeBSD/ports 477471head/devel Makefile zanata-cli, head/devel/zanata-cli pkg-plist Makefile

Add devel/zanata-cli: Zanata Java command line client

The Zanata Command line client (CLI) is the perfect way to connect to a Zanata
server to push and pull content.

Features:
  - Initialize a Translation project from the command line.
  - Push source content to the Zanata server.
  - Pull translated content from the Zanata server.

WWW: http://docs.zanata.org/en/release/client/

NetBSD/pkgsrc K3afeWRinputmethod/fcitx-qt5 PLIST Makefile

   inputmethod/fcitx-qt5: import fcitx-qt5-1.2.3

   Fcitx Qt5 Input Context

NetBSD/pkgsrc qAYqjEbinputmethod Makefile

   Add fcitx-configtool
VersionDeltaFile
1.74+2-1inputmethod/Makefile
+2-11 files

NetBSD/pkgsrc kusLcFCdoc CHANGES-2018

   Added inputmethod/fcitx-configtool version 0.4.9
VersionDeltaFile
1.3652+2-1doc/CHANGES-2018
+2-11 files

NetBSD/pkgsrc ACcmhw2inputmethod/fcitx-configtool Makefile distinfo

   inputmethod/fcitx-configtool: import fcitx-configtool-0.4.9

   GTK 3 based configuration tool for inputmethod/fcitx.

HardenedBSD/hardenedbsd 3719708sbin/bectl bectl.8 bectl_jail.c

bectl(8): Allow running a custom command in the 'jail' subcommand

Instead of always running /bin/sh, allow the user to specify the command
to run. The jail is not removed when the command finishes. Meaning,
`bectl unjail` will still need to be run.

For example:

```
bectl jail newBE pkg upgrade
bectl ujail newBE
```

Submitted by:   Shawn Webb
Obtained from:  HardenedBSD (8b451014ab)

FreeBSD/src 337993head/sbin/bectl bectl.8 bectl_jail.c

bectl(8): Allow running a custom command in the 'jail' subcommand

Instead of always running /bin/sh, allow the user to specify the command
to run. The jail is not removed when the command finishes. Meaning,
`bectl unjail` will still need to be run.

For example:

```
bectl jail newBE pkg upgrade
bectl ujail newBE
```

Submitted by:   Shawn Webb
Obtained from:  HardenedBSD (8b451014ab)

OpenBSD/ports nesXpIJsysutils/dep distinfo Makefile

   Bump to latest. Changelog here:
   https://golang.github.io/dep/blog/2018/07/25/announce-v0.5.0.html

   OK juanfra@
VersionDeltaFile
1.2+2-2sysutils/dep/distinfo
1.2+2-2sysutils/dep/Makefile
+4-42 files

NetBSD/pkgsrc 7roEHAAdoc CHANGES-2018 TODO

   Updated inputmethod/fcitx to 4.2.9.6
VersionDeltaFile
1.3651+2-1doc/CHANGES-2018
1.18510+1-2doc/TODO
+3-32 files

NetBSD/pkgsrc OSPJKgRinputmethod/fcitx PLIST Makefile, inputmethod/fcitx/patches patch-cmake_FcitxMacro.cmake patch-src_lib_fcitx-utils_utils.c

   Update to 4.2.9.6

   Changelog:
   Bug fixes and improvements

HardenedBSD/hardenedbsd af33553include pthread.h, lib/libthr/thread thr_mutex.c thr_attr.c

POSIX compliance improvements in the pthread(3) functions.

This basically adds makes use of the C99 restrict keyword, and also
adds some 'const's to four threading functions: pthread_mutexattr_gettype(),
pthread_mutexattr_getprioceiling(), pthread_mutexattr_getprotocol(), and
pthread_mutex_getprioceiling. The changes are in accordance to POSIX/SUSv4-2018.

Hinted by:      DragonFlyBSD

Relnotes:       yes
MFC after:      1 month
Differential Revision:  D16722

FreeBSD/src 337992head/include pthread.h, head/lib/libthr/thread thr_mutex.c thr_attr.c

POSIX compliance improvements in the pthread(3) functions.

This basically adds makes use of the C99 restrict keyword, and also
adds some 'const's to four threading functions: pthread_mutexattr_gettype(),
pthread_mutexattr_getprioceiling(), pthread_mutexattr_getprotocol(), and
pthread_mutex_getprioceiling. The changes are in accordance to POSIX/SUSv4-2018.

Hinted by:      DragonFlyBSD

Relnotes:       yes
MFC after:      1 month
Differential Revision:  D16722

FreeBSD/ports 477470head/devel/py-jupyterlab_launcher distinfo Makefile

devel/py-jupyterlab_launcher: Update 0.12.0 -> 0.13.1

Reported by:    portscout

FreeBSD/ports 477469head/devel Makefile, head/devel/xeus-cling Makefile pkg-plist

New port: devel/xeus-cling: C++ Jupyter Kernel

FreeBSD/ports 477468head/devel/xeus Makefile, head/devel/xeus/files patch-xeusConfig.cmake.in

devel/xeus: Patch installed cmake files: ZeroMQ doesn't provide *.cmake files.

LLVM/llvm 340113llvm/trunk/lib/MC WinCOFFObjectWriter.cpp

MC: Remove dead code from WinCOFFObjectWriter.cpp. NFCI.

Remove code for writing auxiliary symbols of type function definition
and begin function. These types of symbols are associated with
pre-CodeView debug info and we never emit them.

HardenedBSD/hardenedbsd 8b45101sbin/bectl bectl_jail.c

HBSD: Allow running a custom command in the new ZFS boot enrivonment jail

Instead of always running /bin/sh, allow the user to specify the command
to run. The jail is not removed when the command finishes. Meaning,
`bectl unjail` will still need to be run.

For example:

```
bectl jail newBE pkg upgrade
bectl ujail newBE
```

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
Discussed-with: Kyle Evans <kevans at freebsd.org>
Sponsored-by:   SoldierX

FreeBSD/ports 477467head/databases/p5-BSON-XS Makefile

Fix order

Notified by:    mat

LLVM/llvm 340112lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/attach TestVSCode_attach.py, lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-vscode/breakpoint TestVSCode_setBreakpoints.py TestVSCode_setFunctionBreakpoints.py

Skip tests on Darwin for now. The build bots are not passing due to heavy load and poor 
machines.

Linux/linux 1f7a4c7fs/9p xattr.c, include/net/9p client.h

Merge tag '9p-for-4.19-2' of git://github.com/martinetd/linux

Pull 9p updates from Dominique Martinet:
 "This contains mostly fixes (6 to be backported to stable) and a few
  changes, here is the breakdown:

   - rework how fids are attributed by replacing some custom tracking in
     a list by an idr

   - for packet-based transports (virtio/rdma) validate that the packet
     length matches what the header says

   - a few race condition fixes found by syzkaller

   - missing argument check when NULL device is passed in sys_mount

   - a few virtio fixes

   - some spelling and style fixes"

* tag '9p-for-4.19-2' of git://github.com/martinetd/linux: (21 commits)
  net/9p/trans_virtio.c: add null terminal for mount tag
  9p/virtio: fix off-by-one error in sg list bounds check
  9p: fix whitespace issues
  9p: fix multiple NULL-pointer-dereferences

    [17 lines not shown]