MFH (r248617): retire the mislabeled ENABLE_SUID_SSH knob.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Pull in OpenSSH 6.2p2 from head.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251135 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r248282, in a modified fashion.  From the original changelog:

	Add currently unused flag argument to the cluster_read(),
	cluster_write() and cluster_wbuild() functions.  The flags to be
	allowed are a subset of the GB_* flags for getblk().

This merge adds a cluster_*_gb() API variant instead of changing the ABI
with an added argument to the existing API.  Most API consumers that were
changed in the original rev have been left un-changed in this merge to
reduce churn.  The mergeinfo is recorded though for future merging
convenience.  This is effectively a no-op for the moment.

Submitted by:	kib, FF
Obtained from:	Netflix


git-svn-id: svn://svn.freebsd.org/base/stable/9@251144 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r248504:

	Add a convenience macro bread_gb() to wrap a call to
	breadn_flags(). Comparing with bread(), it adds an argument to pass
	the flags to getblk().

The API implementation of bread() and friends is different in FreeBSD 9,
so this merge is a little more complicated than the original commit.

Submitted by:	kib, FF
Obtained from:	Netflix


git-svn-id: svn://svn.freebsd.org/base/stable/9@251145 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 246417,247116,248584:
Rework the handling of stop signals in the NFS client.  The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Instead of setting PBDRY on individual sleeps, change
the VFS_*() and VOP_*() methods to defer stop signals for filesystems which
request this behavior via a new VFCF_SBDRY flag.  Note that this has to be
a VFC flag rather than a MNTK flag so that it works properly with
VFS_MOUNT() when the mount is not yet fully constructed.  For now, only the
NFS clients set this new flag in VFS_SET().

A few other related changes:
- Add an assertion to ensure that TDF_SBDRY doesn't leak to userland.
- When a lookup request uses VOP_READLINK() to follow a symlink, mark
  the request as being on behalf of the thread performing the lookup
  (cnp_thread) rather than using a NULL thread pointer.  This causes
  NFS to properly handle signals during this VOP on an interruptible
  mount.
- Ignore thread suspend requests due to SIGSTOP if stop signals are
  currently deferred.  This can occur if a process is stopped via
  SIGSTOP while a thread is running or runnable but before it has set
  TDF_SBDRY.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251147 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 249567: mdoc: remove superfluous paragraph macro.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251152 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: less v458.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251154 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r250666:

Constify parameters, no functional or binary change.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251156 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r250718:

Constify string pointers.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251157 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r250050:

Add missing braces.

Submitted by:	Sascha Wildner <saw online de>
Obtained from:	DragonFly


git-svn-id: svn://svn.freebsd.org/base/stable/9@251162 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC 241492, 241588, 241589, 241590, 241592, 241593, 241603, 241605

Modernize and lock the aha, ahb, adv, adw, bt, and dpt drivers.

Submitted by:	jhb
Obtained from:	Netflix


git-svn-id: svn://svn.freebsd.org/base/stable/9@251164 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r241031 (des):

Slight stylification.


git-svn-id: svn://svn.freebsd.org/base/stable/9@251165 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r249035:

Replace access to /dev/random with the kernel pseudo-random number
source sysctl(KERN_ARND) and remove the fallback code.

Obtained from:	OpenBSD


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