Direct Commit of mountroot> prompt fix r259748 (since there's no sane
branching relationship between that branch and this one and since the
more general fix in head may be too risky for a stbale branch this
mature):

 Fix mountroot> prompt eating most of the characters by not enabling
 RXRDY interrupts in the attach routine. Instead, defer this until the
 first interrupt we see after the device is opened. Given the console
 use case, we're guaranteed to get a TXRDY interrupt before any reads
 are posted due to boot messages, which makes this work.

 The real fix is to use cngrab/cnungrab function pointers to disable
 RXRDY interrupts while grabbed. However, that touches the MI uart
 code, so was disallowed for 10.0 due to the lateness of the hour this
 fix was proposed. It works for mountroot, the most common atmel kernel
 prompt use cases, but wouldn't work for GELI since it prompts later in
 the boot process.
MFC r256060,r256650: kldxref: Do not depend on the directory order.

Sort the filenames to get a consistent result between machines of the same
architecture.

Also, sort FTS_D entries after other entries so kldxref -R works properly in
the uncommon case that a directory contains both subdirectories and modules.
Previously, this may have happened to work, depending on the order of files
in the directory.

PR:		bin/182098
Submitted by:	Derek Schrock (original version)
Tested by:	Derek Schrock
MFC r259521:
Do not allow O_EXEC opens for fifo, return EINVAL.
MFC r259473:

Enable llvm's integrated assembler for PowerPC, since it should now be
good enough for typical usage.

Requested by:	rdivacky
MFC 255493:
- Decode the idtype argument passed to wait6() in kdump and truss.
- Don't treat an options argument of 0 to wait4() as an error in
  kdump.
- Decode the wait options passed to wait4() and wait6() in truss
  and decode the returned rusage and exit status.
MFC 258177:
Remove an incorrectly copied and pasted clause from these license
statements.
MFC 258869:
Fix an off-by-one error in r228960.  The maximum priority delta provided
by SCHED_PRI_TICKS should be SCHED_PRI_RANGE - 1 so that the resulting
priority value (before nice adjustment) is between SCHED_PRI_MIN and
SCHED_PRI_MAX, inclusive.
MFC r259520:
  Fix copy/paste typo.
MFC r259720:

For gnu/lib/csu, only use gcc-specific flags when compiling with gcc.
MFC r259724:

Apply upstream commit 33312fd828e59c78ae4ee30fd70d0ca109748cf0 (by
zoulasc) to contrib/file:

  don't write a char to a pointer.
MFC r259729:
  Bootstrap etcupdate(8) as part of the release build, similar
  to what is done for mergemaster(8).  This allows etcupdate(8)
  to work out-of-box after the first upgrade of a system.

Sponsored by:	The FreeBSD Foundation
MFC	r258826, r259555, r 259558:

libcpp: Merge fixes from upstream
Fixes:
GCC preprocessor/29966:
GCC preprocessor/28709:
GCC c/31924
GCC preprocessor/14331

gcc: add Apple-compatible -Wnewline-eof

Obtained from:	gcc per-4.3 (rev. 121340, 124356, 124358, 124730,
				  125212, 125255 ; GPLv2)
		Apple Inc. (Apple GCC 4.2 - 5531)
MFC r256661 r257222 r257235 r257248 r257298.

MFC r256661:
Fix the libproc build when DEBUG is defined.

MFC r257222:
Clean up the debug printing in libproc a bit. In particular:

* Don't print any error messages to stderr unless DEBUG is defined.
* Add a DPRINTFX macro for use when errno isn't set.
* Print the error string from libelf when appropriate.

MFC r257235:
Remove an incorrect debug printf.

MFC r257248:
Fix the build with gcc.

MFC r257298:
Revert r257248 and fix the problem in a way that doesn't violate style(9).
MFC r255792:

  Update comment from draft to RFC number.

  Submitted by: Loganaden Velvindron (logan elandsys.com)
MFC r254571:

  Correct a typo in the event mask mnemonic.
MFC	r252397, r258904, r259780:
Small ext2fs updates.

Use the unsigned random() range in i_gen.
Add two new reserved inodes.
Make the hashing algorithm match the linux code.

PR:		kern/183230
Generate client sample code which compiles without warnings.
For 'rpcgen -a', generate a makefile where 'make clean all' works.
MFC 259014: There is no sysctl with the MIB { CTL_KERN, KERN_MAXID }.
Back out r259912 - it shouldn't have been committed to this branch.
gcc: Merge upstream changes.

Include types in error message for build_binary_op.

Mostly cosmetic changes, to reduce differences with Apple's gcc.

Obtained from:	gcc 4.3 (rev. 120611, 124839, 125239; GPLv2)