Add a new "-h" option to the gssd daemon that enables support for
host based (kerberos service principal) initiator credentials in
the default keytab file. This option won't actually be useful until
the corresponding kernel changes are committed.

Reviewed by:	jhb


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253015 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Document the new "-h" option for the gssd daemon.
This is a content change.

Reviewed by:	jhb


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253016 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make sure the krb5 status variables are correctly initialized.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253017 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Oops, initialize the krb5 ret values correctly (to anything non-zero).


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253018 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix some Kerberos related terminology.
This is a content change.

Requested by:	bjk


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253020 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Also define SDT_PROBE_DEFINE0 for the !KDTRACE_HOOKS case.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253022 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- AM335x requires updated soft-reset logic too


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253023 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
- MMC1 (internal eMMC) pins should be configured as input-pullup, except
    for reset pin


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253024 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add IDs for TPS65217C and TPS65217D


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253025 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
mdoc: remove superfluous paragraph macros.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add AR9341, AR9342, AR9344 SoC types.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253027 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Import the initial SoC register definitions for the AR934x MIPS74k SoC.

Obtained from:	Linux/OpenWRT


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253028 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add quirk to configure headphones redirection on ASUS UX31A laptop.

MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253036 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Move to MSG_DEBUG to print it via syslog only when requested.

Reviewed by:	rpaulo, adrian
Approved by:	sbruno (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253040 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Pull in r185616 from llvm trunk:

  FastISel can only append to basic blocks.

  Compute the insertion point from the end of the basic block instead of
  skipping labels from the front.

  This caused failures in landing pads when live-in copies where inserted
  before instruction selection.

I missed this change in r252720; without it, certain compilation flags
can cause exception labels to not be generated, but still referenced,
leading to link errors.

Reported by:	zeising
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253042 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Avoid a panic and return EINVAL instead.

Merge from UFS r232692:
syscall() fuzzing can trigger this panic.

MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253045 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Correct the printf format specifier for total_events.
Add __printflike argument checking for devdlog().

Reported by: pjd
Approved by: gibbs (co-mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253046 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix build with INVARIANT_SUPPORT enabled but not INVARIANTS.

Reported by:	"Matthew D. Fuller" <fullermd@over-yonder.net>


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Allow mlx4 devices to switch from Ethernet to Infiniband (and vice versa):
- Fix sysctl wrapper for sysfs attributes to properly handle new string
  values similar to sysctl_handle_string() (only copyin the user's
  supplied length and nul-terminate the string).
- Don't check for a trailing newline when evaluating the desired operating
  mode of a mlx4 device.

PR:		kern/179999
Submitted by:	Shahar Klein <shahark@mellanox.com>
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253048 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for host-based (Kerberos 5 service principal) initiator
credentials to the kernel rpc. Modify the NFSv4 client to add
support for the gssname and allgssname mount options to use this
capability. Requires the gssd daemon to be running with the "-h" option.

Reviewed by:	jhb


git-svn-id: svn+ssh://svn.freebsd.org/base/head@253049 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f