truncate: Detect integer overflow, fix relative sizes, add tests.

The change to expand_number (r204654) broke detection of too large sizes and
relative sizes ('+'/'-').

Also add some tests.

PR:		190735
Submitted by:	Kirk Russell
MFC after:	1 week
Removed stale comment about multi-vdev root pool config not working

MFC after:	1 week
Ensure files are created during the build when using bsd.subdir.mk.

When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the
build of the files (if any) was not properly triggered during the build
stage.  This was because bsd.files.mk did not define the buildfiles target
if it was already defined... and bsd.subdir.mk defined this target on its
own, thus causing a conflict.

Fix this by unconditionally defining buildfiles from bsd.files.mk; this is
safe because nothing else in the tree needs to redefine this and because the
target itself contains no commands: all it does is define dependencies.
Also ensure that bsd.files.mk is always pulled in by bsd.test.mk regardless
of what bsd.prog.mk does.

These fixes allow "make installworld" to run cleanly on a system with
read-only src and obj trees.

This is "make tinderbox" clean.

Reviewed by:	imp
Obtained from:	jilles
Fix race in r267221.

MFC after:	2 weeks
sync the code with the one in stable/10
(wrap the if_t compatibilty function into a __FreeBSD_version
conditional block)
Fixes from Fanco Ficthner on transparent mode

* The way rings are updated changed with the last API bump.
  Also sync ->head when moving slots in netmap_sw_to_nic().

* Remove a crashing selrecord() call.

* Unclog the logic surrounding netmap_rxsync_from_host().

* Add timestamping to RX host ring.

* Remove a couple of obsolete comments.

Submitted by:	Franco Fichtner
MFC after:	3 days
Sponsored by:	Packetwerk
Make the hpt27xx(4) driver MPSAFE.
- Use the existing vbus locks instead of Giant for the CAM sim lock.
- Use callout(9) instead of timeout(9).
- Mark the interrupt handler as MPSAFE.
- Don't attempt to pass data in the softc from probe() to attach().

Reviewed by:	Steve Chang <ychang@highpoint-tech.com>
Assisted by:	delphij
Use strcasecmp() instead of strcmp() when checking user-supplied encoding
names so that encoding names are treated as case-insensitive.  This allows
the use of 'utf-8' instead of 'UTF-8' for example and matches the behavior
of iconv(1).

PR:		167977
Submitted by:	buganini@gmail.com
MFC after:	1 week
Remove blank lines.
mdoc: fix AUTHORS section.
r267169 should apply to 64-bit BARs as well.

Reviewed by:	neel
Re-enable -Werror for these modules.  It is already enabled for the same
files when built as part of a kernel.
vt fontcvt: Hide stats by default and improve error handling

The font stats are interesting, but rather verbose.
Move the Sendmail update to keep revision numbers incremental.

Sponsored by:	The FreeBSD Foundation
Add reserved bit checking when doing %CR8 emulation and inject #GP if required.

Pointed out by:	grehan
Reviewed by:	tychon
vt fontcvt: Speed up bold glyph map deduplication

Perform an O(n) deduplication pass over the bold maps at the end, rather
than walking the normal map list to look for a duplicate glyph each time
a bold mapping entry is added.

Sponsored by:	The FreeBSD Foundation
Document r267256, OpenSSL 1.0.1h update.

Sponsored by:	The FreeBSD Foundation
Add vgarom font source

These are in 'GNU Unifont' format, and are converted from syscons(4)
cp437 fonts.
siglongjmp(): Preserve floating point exception flags on i386 and amd64.

Per POSIX, siglongjmp() shall be equivalent to longjmp() except that it must
match sigsetjmp() instead of setjmp() and except for the effect on the
signal mask. Therefore, it should preserve the floating point exception
flags.

This was fixed for longjmp() and _longjmp() in r180080 and r180081 for amd64
and i386 respectively.
Correct unicode map for VGA ROM character 0x0e

The character is a beamed pair of sixteenth notes, so should be U+266C
not U+266B (beamed eighth notes).