Run ldconfig(8) rc script before building ports so
ld-elf.so.hints exists for pkg(8).

This is a direct commit to stable/9 as generate-release.sh
does not exist in head/.

PR:		186554
Sponsored by:	The FreeBSD Foundation
MFC r261400:
  Take exclusive lock only when lle isn't NULL. We don't need write access
  to lle in most cases.

MFC r261583:
  Unlock entry before retry.

Sponsored by:	Yandex LLC
MFC r261522:

Describe the use of a freebsd-boot GPT partition, brought up by Scot
Hetzel <swhetzel@gmail.com> on the -doc mailing list.

Also modify the Author section to be clear that I wrote the man page,
not gptboot.
MFC r261609:

Pull in upstream libcxxrt commit 8006101, which makes its cxxabi.h file
compilable just by itself.

PR:		kern/184019
MFC: r261447

Fix a typo.
MFC: r261339

MLINK ixgbe.4 to {if_ix.4, ix.4}.  An update for ixgbe.4
which deals with the "ix prefix being shared by two drivers"
situation is forthcoming.
MFC: r261487

Add qlxgbe(4) and glxge(4) to the hardware notes.
MFC r261507:
Add more quirks for making builtin audio speakers work with more
MacBookPro's. Only tested with MacBookPro 9,2.

Obtained from:	Linux
MFC r261680:

Pull in r200899 from upstream clang trunk:

  Allow transformation of VariableArray to ConstantArray.

  In the following code:

     struct A { static const int sz; };
     template<class T> void f() { T arr[A::sz]; }

  the array 'arr' is represented as a variable size array in the template.
  If 'A::sz' gets value below in the translation unit, the array in
  instantiation can turn into constant size array.

  This change fixes PR18633.

  Differential Revision: http://llvm-reviews.chandlerc.com/D2688

This fixes "Assertion failed: (T::isKind(*this)), function castAs"
errors, which can occur when building the security/quantis port.

Reported by:	ale
MFC r241046: libc: Use O_CLOEXEC for various internal file descriptors.

This fixes a race condition where another thread may fork(), unintentionally
passing the descriptor to the child process.

This commit only adds O_CLOEXEC flags to open() or openat() calls where no
fcntl(fd, F_SETFD, FD_CLOEXEC) follows.
MFC r257600:
Initialize the struct tm before handing it to strptime(3).
MFC r261861
  check for defrag only when bus_dmamap_load_mbuf_sg() returns EFBIG. Comment in
  qla_hw_send is moot.
MFC r259544, r259545, r259546, r259547, r259812, r259939, r260219, r260542,
    r261118, r261124, r261330:

- Add support for the MediaTek/Ralink RT3593 chipset.
- Various minor USB WLAN fixes and improvements.
MFC r257957:

Mention the RT5370/RT5372 chipset.
MFC r261597, r261598 and r261599:

Apple touchpad manual page fixes:
- Add manual page for wsp driver
- Update atp driver manual page
- Install atp manual page for all platforms
MFC: r261584

In IPv6 code examples, use the correct v6 socket.
MFC: r261611

Add some context for the "kldload sem" command; minor other improvements.

PR:		183650
Submitted by:	Bjorn Heidotting
MFC r255238:

Add support for DLINK DWA-127 Wireless Adapter.
MFC r242482: kdump: Also decode fcntl commands containing underscores and
digits.

The commands F_SETLK_REMOTE, F_DUPFD_CLOEXEC and F_DUP2FD_CLOEXEC were not
decoded.
MFC: r261655

Refer newfs and growfs users to fsck_ffs instead of
fsck, the latter does not accept the referred to "-b" flag.

The part of the change pertaining newfs has already been merged
to stable/9 in r237505, so only record that part of the merge.

PR:		82720
Submitted by:	David D.W. Downey