MFC r224865: tail: Fix crash if -F'ed file's filesystem disappears.

If tail notices that a file it is following no longer exists (because stat()
fails), it will output any final lines and then close the file. If the read
operation also causes an error, such as when the filesystem is forcefully
unmounted, it closes the file as well, leading to fclose(NULL) and a
segmentation fault.

PR:		bin/159750
MFC 224986:
One of the general principles of the sysctl(3) API is that a user can
query the needed size for a sysctl result by passing in a NULL old
pointer and a valid oldsize.  The kern.proc.args sysctl handler broke
this assumption by not calling SYSCTL_OUT() if the old pointer was NULL.
MFC 224898: Add device id for the Moxa CP-112UL dual-port serial adapters.
MFC 224495:
Properly initialize an error variable to avoid returning uninitialized
data when 'show drives' succeeds, often resulting in a failing exit code
even though the command worked fine.
MFC r224791:

Eliminate the zfsdev_state_lock entirely and replace it with the
spa_namespace_lock. This fixes LOR between the spa_namespace_lock and
spa_config lock. LOR can cause deadlock on vdevs removal/insertion.

Reported by:	gibbs, delphij
Tested by:	delphij
MFC r224903, r224917, r225035, r225090, r225091:
- Add missing API function to the LibUSB v1.0 API.
- Update LibUSB v1.0 manual page.

PR:	docs/159898
MFC r225038:
Fix for recursive locking in usb_close() after r224777 (9-current) and r224960 (8-stable).
MFC r225009:
Bump coretemp tollerable limit to 110 degrees.

Sponsored by:	Sandvine Incorporated
MFC: r223688

Add detection for the Marvel 88E1149R and treat it just like the
88E1149.
MFC: r225014

r221812 (MFC'ed to stable/8 in r222159) reveals that at least some Broadcom
PHYs default to being not only isolated but also powered down after a reset
and while they just work fine [sic] when both is the case they don't if they
are only deisolate but still powered down. So in order to put PHYs in an
overall normal operation mode for the common case, ensure in mii_phy_reset()
that they are not powered down after a reset. Unfortunately, this only helps
in case of BCM5421, while BCM5709S apparently only work when they remain
isolated and powered down after a reset. So don't call mii_phy_reset() in
brgphy_reset() and implement the reset locally leaving the problematic bits
alone. Effectively this bypasses r221812 for brgphy(4).
Thanks to Justin Hibbits for doing a binary search in order to identify
the problematic commit.

PR:		157405, 158156
Reviewed by:	yongari (mii_phy_reset() part)
MFC: r225015

Revert r224157 (MFC'ed to stable/8 in r224401), re-enabling r222135 (MFC'ed
to stable/8 in r222371). The underlying problem keeping the latter from
working as expected was fixed in r225014 (MFC'ed to stable/8 in r225116).
MFC r225003:
  Add new section "BOOTSTRAPPING" to the gpart(8), that describes
  bootstrap code images used to boot from MBR, GPT, BSD and VTOC8
  schemes.

MFC r225023:
  o Fix mdoc formatting for the '.Fx' macro. [1]
  o Add information about APM scheme and fix typos. [2]

  Submitted by:	gjb [1], nwhitehorn [2]
MFC r225000:
USB clear stall fix for VM's.
MFC r225018:
Fix WWN printing in `camcontrol identify` output.
MFC r225037 and r225041:
Add new USB IDs.

PR:	usb/159919, usb/159836
MFC r221096 (by obrien):
Reap old SPL comments.

MFC r225089:
Update some comments in swap_pager.c.
MFC r225121:

Fix buffer overflow and possible ISO image corruption in wrong
handling of "." character case in makefs ISO level 1 and 2 filename
conversion.

Filed as NetBSD PR #45285
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=45285

Reviewed by:	Christos Zoulas <christos@netbsd.org>
MFC r225120:

Honor WITHOUT_IPX when installing etc/rc.d/ipxrouted.
MFC r225122:

 Add kern.cam.boot_delay description (with reasonable default) to
 default/loader.conf

 This should help people installing ${OS} to USB devices, where there are
 frequently cases where kernel tries to mount root before actual umass sensing
 is finished.

Reviewed by:	mav
Approved by:	kib
MFC r224915:
Do not return success and a string "unknown" when vn_fullpath() was unable
to resolve the path of the text vnode of the process. The behaviour is
very confusing for any consumer of the procfs, in particular, java.