- Make hhook_run_socket() vnet-aware instead of adding CURVNET_SET() around
  the function calls.
- Fix a memory leak and stats in the case that hhook_run_socket() fails
  in soalloc().

PR:	193265


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271254 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix support for IPv6 nameservers.

PR:		188931
Submitted by:	Takefu <takefu@airport.fm>
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@271255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fail rather than segfault if neither PAM_TTY nor PAM_RHOST is set.

PR:		83099
MFC after:	3 days


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