MFC r243869:
Fix a race between kern_setitimer() and realitexpire(),
by using the process mutex to interlock the callout start.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244373 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r244238:
Line up the continuation backslashes.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244374 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r244239:
Fix a typo, resulting in the NULL pointer dereference.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244375 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243835:
The vnode_free_list_mtx is required unconditionally when iterating
over the active list.

MFC r244095:
Do not yield while owning a mutex, by stopping acquiring mount interlock.

MFC r244240:
Use user priority for the yield, do not spin on UP. Restructure the
iteration initializer and the iterator to remove code duplication.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244376 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- Trim old entries.
- Update errata items.
- Bump &release.*;


git-svn-id: svn://svn.freebsd.org/base/stable/9@244379 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge OpenBSM 1.2-alpha3 from head to stable/9, upgrading from the previous
OpenBSM 1.1p2:

OpenBSM 1.2 alpha 3

- Various minor tweaks to the auditdistd build to make it fit the FreeBSD
  build environment better.
- AUE_WAIT6 merged from FreeBSD 9.

OpenBSM 1.2 alpha 2

- auditdistd, a distributed audit trail management daemon, has now been
  merged.  This allows trail files to be securely and reliably synced from
  audited hosts to an audit server, and employs TLS encryption.  Where
  available, it uses Capsicum to sandbox the service.  This work was
  contributed by Pawel Jakub Dawidek under sponsorship from the FreeBSD
  Foundation.

OpenBSM 1.2 alpha 1

- Add Capsicum-related error numbers for FreeBSD: ENOTCAPABLE, ECAPMODE.
- Add Capsicum, process descriptor audit events for FreeBSD.
- Allow 0% minspace.
- Fixes from the clang static analyser.
- Fix expiration of trail files when the host parameter is used.
- Various typo fixes.
- Support for Solaris privilege and privilege set tokens.
- Documentation for getachost(), improvements for getacfilesz().
- Fix a directory descriptor leak that happened when audit trail partitions
  filled.
- Support for more Linux distributions with a partial contemporary endian.h.
- Improved escaping of XML-encapsulated BSM.
- A variety of minor documentation, style, and functional.

A separate commit will merge build changes to enable auditdistd, etc.

Obtained from:	TrustedBSD Project
Sponsored by:	The FreeBSD Foundation (auditdistd)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r243751 from head to stable/9:

  Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to
  src/sys/{bsm,security/audit}.  There are a few tweaks to help with the
  FreeBSD build environment that will be merged back to OpenBSM.  No
  significant functional changes appear on the kernel side.

  Obtained from:  TrustedBSD Project
  Sponsored by:   The FreeBSD Foundation (auditdistd)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244391 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r243798 from head to stable/9:

  Add auditdistd to the pre-install required uid check list.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244392 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge r243800 from head to stable/9:

  Specifically point at the Handbook instructions for world updates in
  UPDATING by URL.

  As there has been some confusion over the need to run "mergemaster -p",
  part of our standard upgrade procedure, following the recent addition of
  an "auditdistd" user, add a note about it to UPDATING explicitly.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge remote-tracking branch 'upstream/svn_stable_9' into svn_stable_9