HardenedBSD/hardenedbsd 5fab55ashare/man/man4 ses.4, share/man/man9 pmap_enter.9

Merge branch 'freebsd/11-stable/master' into hardened/11-stable/master

* freebsd/11-stable/master:
  MFC r342144: Document new required MI behaviour of pmap_enter(9) for CoW.
  MFC r342150:
  MFC r339909: Allow changing lagg(4) MTU.

FreeBSD/src 342214head/sys/conf files kern.mk, head/sys/dev/fxp if_fxpreg.h if_fxp.c

Remove a use of a negative array index from fxp(4).

This fixes a warning seen when compiling amd64 GENERIC with clang 7.
Also remove the workaround added in r337324.  clang 7 and gcc 4.2
generate the same code with or without the code change.

Reviewed by:    imp (previous version)
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D18603

LLVM/llvm 349604cfe/trunk/lib/Sema SemaStmtAsm.cpp

Use "EvaluateAsRValue" instead of as a known int, because if it's not a known
integer we want to emit a diagnostic instead of asserting.

LLVM/llvm 349603cfe/trunk/lib/Sema SemaStmtAsm.cpp

Revert accidentally included code.

LLVM/llvm 349602llvm/trunk/include/llvm/CodeGen AsmPrinter.h

[DebugInfo] Make AsmPrinter struct HandlerInfo and Handlers protected

In AsmPrinter, make struct HandlerInfo and SmallVector
Handlers protected, so target extended AsmPrinter will
be able to add their own handlers.

Signed-off-by: Yonghong Song <yhs at fb.com>

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

LLVM/llvm 349601llvm/trunk/test/BugPoint func-attrs-keyval.ll func-attrs.ll, llvm/trunk/tools/bugpoint CrashDebugger.cpp

[bugpoint][PR29027] Reduce function attributes

Summary:
In addition to reducing the functions in an LLVM module, bugpoint now
reduces the function attributes associated with each of the remaining
functions.

To test this, add a -bugpoint-crashfuncattr test pass, which crashes if
a function in the module has a "bugpoint-crash" attribute. A test case
demonstrates that the IR is reduced to just that one attribute.

Reviewers: MatzeB, silvas, davide, reames

Reviewed By: reames

Subscribers: reames, llvm-commits

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

LLVM/llvm 349600llvm/trunk/include/llvm/ProfileData SampleProfReader.h, llvm/trunk/unittests/ProfileData SampleProfTest.cpp

Fix use-after-free with profile remapping.

We need to keep the underlying profile reader alive as long as the
profile data, because the profile data may contain StringRefs referring
to strings in the reader's name table.

FreeBSD/src 342213stable 11, stable/11/share/man/man9 pmap_enter.9

MFC r342144:
Document new required MI behaviour of pmap_enter(9) for CoW.

HardenedBSD/hardenedbsd 02c906cshare/man/man9 pmap_enter.9

MFC r342144:
Document new required MI behaviour of pmap_enter(9) for CoW.

FreeBSD/src 342212stable 12, stable/12/share/man/man9 pmap_enter.9

MFC r342144:
Document new required MI behaviour of pmap_enter(9) for CoW.

FreeBSD/src 342211head/sys/net80211 ieee80211_node.c

net80211: fix out-of-bounds read in ieee80211_amrr(9).

ieee80211_alloc_node() does not initialize rateset tables; that's not
expected by rate control modules and will result in array access at
index -1 - where ni_essid[] array is located (zeroed at allocation, so
there are no user-visible consequences).

Just delay rate control initialization to the moment, when rateset
tables are initiaziled; nothing will use rates here anyway.

MFC after:      4 days

LLVM/llvm 349599llvm/trunk/lib/Target/PowerPC PPCISelLowering.cpp PPCISelLowering.h, llvm/trunk/test/CodeGen/PowerPC ppc64-P9-vabsd.ll

[PowerPC]Exploit P9 vabsdu for unsigned vselect patterns

For type v4i32/v8ii16/v16i8, do following transforms:
  (vselect (setcc a, b, setugt), (sub a, b), (sub b, a)) -> (vabsd a, b)
  (vselect (setcc a, b, setuge), (sub a, b), (sub b, a)) -> (vabsd a, b)
  (vselect (setcc a, b, setult), (sub b, a), (sub a, b)) -> (vabsd a, b)
  (vselect (setcc a, b, setule), (sub b, a), (sub a, b)) -> (vabsd a, b)

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

OpenBSD/ports nWaeDZSarchivers/ripole Makefile

   Fix HOMEPAGE

   The www. domain has an IP as a CNAME and it doesn't work
VersionDeltaFile
1.10+3-3archivers/ripole/Makefile
+3-31 files

LLVM/llvm 349598llvm/trunk/utils/gn/secondary BUILD.gn, llvm/trunk/utils/gn/secondary/llvm/tools llvm-objcopy

[gn build] Add build file for llvm-objcopy

Needed by check-lld.

This should've been part of r349486 but I messed up.

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

PC-BSD/trueos e551925. Makefile.inc1

Pass through WORLD_FLAGS and KERNEL_FLAGS to package staging targets
DeltaFile
+2-2Makefile.inc1
+2-21 files

FreeBSD/src 342210stable 11 12, stable/11/share/man/man4 ses.4

MFC r342150:

Add a missing leading / in a filename.

HardenedBSD/hardenedbsd 596cce0share/man/man4 ses.4

MFC r342150:

Add a missing leading / in a filename.

LLVM/llvm 349597cfe/branches/google stable, cfe/tags/google/stable 2018-12-18

Creating branches/google/stable and tags/google/stable/2018-12-18 from r349201

FreeBSD/src 342209stable 12, stable/12/sys/dev/rtwn/usb rtwn_usb_attach.h

MFC r342124:
Add new USB id in rtwn_usb(4) (RTL8812AU)

PR:            234029
Submitted by:   <hakotani000 at gmail.com>

FreeBSD/ports 487783head/science Makefile, head/science/h5z-zfp Makefile pkg-descr

New port: science/h5z-zfp: Registered ZFP compression plugin for HDF5

FreeBSD/ports 487782head/archivers/py-lz4 distinfo Makefile

- Update to 2.1.5

FreeBSD/src 342208head/sys/dev/cxgbe/tom t4_listen.c t4_cpl_io.c

cxgbe/t4_tom: fixes for issues on the passive open side.

- Fix PR 227760 by getting the TOE to respond to the SYN after the call
  to toe_syncache_add, not during it.  The kernel syncache code calls
  syncache_respond just before syncache_insert.  If the ACK to the
  syncache_respond is processed in another thread it may run before the
  syncache_insert and won't find the entry.  Note that this affects only
  t4_tom because it's the only driver trying to insert and expand
  syncache entries from different threads.

- Do not leak resources if an embryonic connection terminates at
  SYN_RCVD because of L2 lookup failures.

- Retire lctx->synq and associated code because there is never a need to
  walk the list of embryonic connections associated with a listener.
  The per-tid state is still called a synq entry in the driver even
  though the synq itself is now gone.

PR:            227760
MFC after:      2 weeks
Sponsored by:   Chelsio Communications

FreeBSD/ports 487781head/net Makefile aluminum, head/net/aluminum Makefile pkg-plist

New port: net/aluminum: Generic interface to high-performance communication libraries

PC-BSD/trueos 7432d4erelease/manifests trueos-snapshot.json

Fix a syntax error in Jon and include zol on installer

LLVM/llvm 349596llvm/trunk/cmake/modules TableGen.cmake

Re-land "Fix MSVC dependency issue between Clang-tablegen and LLVM-tablegen"

Previously, when compiling Visual Studio targets, one could see random build errors. This 
was caused by tablegen projects using the same build folders.
This workaround simply chains tablegen projects.

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

LLVM/llvm 349595llvm/trunk/docs llvm-objdump.1

Add llvm-objdump man page

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

FreeBSD/ports 487780head/devel/cc65 pkg-plist Makefile

- Update to 2.17
- Update COMMENT
- Add LICENSE_FILE
- Remove unneeded pkg-message
- Take maintainership

LLVM/llvm 349593lnt/trunk/tests/SharedInputs/FakeCompilers fakecompiler.py

Unused import

LLVM/llvm 349594lnt/trunk/tests/SharedInputs/FakeCompilers fakecompiler.py

Whitespace fixups

LLVM/llvm 349591lnt/trunk/tests/testing/Inputs fake-objdump.py

whitespace fixup, unused import

LLVM/llvm 349592lnt/trunk/tests/testing/Inputs fake-nm.py

Unused import

LLVM/llvm 349589lnt/trunk/lnt/testing/util machineinfo.py

fatal was not imported, and fix formatting

LLVM/llvm 349590lnt/trunk/tests/SharedInputs create_temp_instance.py

whitespace fixup

FreeBSD/src 342207head/sys/kern kern_malloc.c

Fix DDB's "show malloc" after r338899.

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

FreeBSD/ports 487779head/devel Makefile zfp, head/devel/zfp pkg-plist Makefile

New port: devel/zfp: High throughput library for compressed floating-point arrays

HardenedBSD/hardenedbsd 233661bshare/man/man4 isl.4 cyapa.4, sys/dev/ichwd ichwd.c

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

* origin/hardened/current/master:
  cyapa.4, isl.4: cross-reference and document use of chromebook_platform(4)
  Use mbufq instead of ifqueue to queue mbufs.
  Fix typo and formatting...
  add pre-commit review request for drm*. Move dev/usb/wlan to sys/dev/usb/wlan as it was 
the odd-man-out.
  ichwd: add a few assertions about tco_version
  Use caph_enter_casper() in ping(8).
  const poison the `new` pointer of __sysctl.

LLVM/llvm 349588lnt/trunk/lnt/server/db testsuite.py, lnt/trunk/lnt/server/db/migrations upgrade_0_to_1.py

Remove another * import, and put back the import that is needed.

LLVM/llvm 349587lnt/trunk/lnt/server/db testsuite.py

Help mypy understand this

LLVM/llvm 349586lnt/trunk/lnt/server/db testsuite.py testsuitedb.py

Get rid of nasty * imports

LLVM/llvm 349585compiler-rt/trunk/test/asan/TestCases/Linux odr-vtable.cc

[asan] Disable ODR test on Android

NetBSD/pkgsrc-wip e4aef0crust-bin PLIST.common distinfo

rust-bin: Update to 1.31.0

Notable changes:

* Procedural macros
* `use` keyword for macros
* Module system improvements
* Raw identifiers
* New lifetime elision rules
* `const` functions
* Parantheses in pattern matches

HardenedBSD/hardenedbsd dbbbb9e. MAINTAINERS, share/man/man4 isl.4 cyapa.4

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

* freebsd/current/master:
  cyapa.4, isl.4: cross-reference and document use of chromebook_platform(4)
  Use mbufq instead of ifqueue to queue mbufs.
  Fix typo and formatting...
  add pre-commit review request for drm*. Move dev/usb/wlan to sys/dev/usb/wlan as it was 
the odd-man-out.
  ichwd: add a few assertions about tco_version
  Use caph_enter_casper() in ping(8).
  const poison the `new` pointer of __sysctl.

LLVM/llvm 349584lnt/trunk/lnt/tests test_suite.py

I think this is unused

LLVM/llvm 349583lnt/trunk/lnt/testing/util compilers.py

Fixup invalid imports

LLVM/llvm 349582lnt/trunk/lnt/server/db rules_manager.py, lnt/trunk/lnt/server/db/rules rule_update_fixed_regressions.py

Some type annotations to make Mypy happier

LLVM/llvm 349581lld/trunk/ELF Driver.cpp InputFiles.cpp

Use unique_ptr to manage a TarWriter instance. NFC.

Linux/linux 62393dbinclude/uapi/linux blkzoned.h

Merge tag 'for-linus-20181218' of git://git.kernel.dk/linux-block

Pull block fix from Jens Axboe:
 "Correct an ioctl direction for the zoned ioctls"

* tag 'for-linus-20181218' of git://git.kernel.dk/linux-block:
  uapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions

OpenZFS on OS X/spl 9fb091econfig spl-meta.m4

fix git hash not showing up in kext_version

git describe only sees annotated tags by default, and as we match the name anyway, we can 
as well drop the requirement of annotation
DeltaFile
+1-1config/spl-meta.m4
+1-11 files

OpenZFS on OS X/zfs 677e3e1config zfs-meta.m4

fix git hash not showing up in kext_version

git describe only sees annotated tags by default, and as we match the name anyway, we can 
as well drop the requirement of annotation
DeltaFile
+1-1config/zfs-meta.m4
+1-11 files

LLVM/llvm 349580lldb/trunk/source/Plugins/Process/gdb-remote GDBRemoteCommunication.cpp

Don't forget to free the libcompression scratch buffer in the dtor.