Merge from head r244157:
    Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it,
  but later after processing and freeing the tag, we need to jump back again
  to the findpcb label. Since the fwd_tag pointer wasn't NULL we tried to
  process and free the tag for second time.

  Reported & tested by: Pawel Tyll <ptyll nitronet.pl>


git-svn-id: svn://svn.freebsd.org/base/stable/9@244242 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r244027:
Add support for various Yamaha keyboards.

MFC after:	1 week
PR:		usb/174254


git-svn-id: svn://svn.freebsd.org/base/stable/9@244247 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243899:
	Use Bernard Baruch's full name.

	The words "old than" seem to be quoted as "older than" by some sources,
	so use the more likely and grammatically correct text.

PR:		docs/173868
Approved by:	cperciva (implicit)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244260 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r244017:
	Sync with Library of Congress list.

Approved by:	cperciva (implicit)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244263 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243079:
	Add option to suppress just the plot in ministat while still retaining
	the relative comparison (i.e., useful part).

Approved by:	cperciva (implicit)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r243782
Add an nfssvc() option to the kernel for the new NFS client
which dumps out the actual options being used by an NFS mount.
This will be used to add a "-m" option to nfsstat(1).


git-svn-id: svn://svn.freebsd.org/base/stable/9@244289 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r243783
Add a "-m" option to nfsstat, which dumps out the
actual options used by all NFS mounts. Works for
the new/default NFS client only.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244291 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC: r243784
Document the "-m" option added by r243783.
This is a content change.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244292 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r236866,r236867:
	- Consistenly mention columns and fields
	- Add -b to short error messages

Approved by:	kevlo
Approved by:	cperciva (implicit)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244297 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r227162:
	Add missing static keywords to cut(1)

Approved by:	ed
Approved by:	cperciva (implicit)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244300 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243320,r243474:

Add 'w' flag to:

	Use whitespace (spaces and tabs) as the delimiter.
	Consecutive spaces and tabs count as one single field
	separator.
Approved by:	cperciva (implicit)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244303 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243719,r243720,r243722,r243723,r243726,r243727,r243746:

r243719:

IFp4 @208450:

Remove redundant call to AUDIT_ARG_UPATH1().
Path will be remembered by the following NDINIT(AUDITVNODE1) call.

Sponsored by:	The FreeBSD Foundation (auditdistd)

r243720:

IFp4 @208381:

For VOP_GETATTR() we just need vnode to be shared-locked.

Sponsored by:	The FreeBSD Foundation (auditdistd)

r243722:

IFp4 @208382:

Currently on each record write we call VFS_STATFS() to get available space
on the file system as well as VOP_GETATTR() to get trail file size.

We can assume that trail file is only updated by the audit worker, so instead
of asking for file size on every write, get file size on trail switch only
(it should be zero, but it's not expensive) and use global variable audit_size
protected by the audit worker lock to keep track of trail file's size.

This eliminates VOP_GETATTR() call for every write. VFS_STATFS() is satisfied
from in-memory data (mount->mnt_stat), so shouldn't be expensive.

Sponsored by:	The FreeBSD Foundation (auditdistd)

r243723:

IFp4 @208383:

Currently when we discover that trail file is greater than configured
limit we send AUDIT_TRIGGER_ROTATE_KERNEL trigger to the auditd daemon
once. If for some reason auditd didn't rotate trail file it will never
be rotated.

Change it by sending the trigger when trail file size grows by the
configured limit. For example if the limit is 1MB, we will send trigger
on 1MB, 2MB, 3MB, etc.

This is also needed for the auditd change that will be committed soon
where auditd may ignore the trigger - it might be ignored if kernel
requests the trail file to be rotated too quickly (often than once a second)
which would result in overwriting previous trail file.

Sponsored by:	The FreeBSD Foundation (auditdistd)

r243726:

IFp4 @208451:

Fix path handling for *at() syscalls.

Before the change directory descriptor was totally ignored,
so the relative path argument was appended to current working
directory path and not to the path provided by descriptor, thus
wrong paths were stored in audit logs.

Now that we use directory descriptor in vfs_lookup, move
AUDIT_ARG_UPATH1() and AUDIT_ARG_UPATH2() calls to the place where
we hold file descriptors table lock, so we are sure paths will
be resolved according to the same directory in audit record and
in actual operation.

Sponsored by:	The FreeBSD Foundation (auditdistd)
Reviewed by:	rwatson

r243727:

IFp4 @208452:

Audit handling for missing events:
- AUE_READLINKAT
- AUE_FACCESSAT
- AUE_MKDIRAT
- AUE_MKFIFOAT
- AUE_MKNODAT
- AUE_SYMLINKAT

Sponsored by:	FreeBSD Foundation (auditdistd)

r243746:

Fix one more compilation issue.

Sponsored by:	FreeBSD Foundation (auditdistd)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244324 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r243836:
Print the frame addresses for the backtraces on i386 and amd64.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244337 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r244076:
Do not ignore zero address, possibly returned by the vm_map_find() call.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244338 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r244077:
Add amd64-specific ddb command "show pte".  The command displays the
hierarchy of the page table entries which map the specified address.


git-svn-id: svn://svn.freebsd.org/base/stable/9@244339 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r241836:
	Remove {harp,hfa,idt} man pages as they were removed in r179308.

PR:		docs/171234
Approved by:	cperciva (implicit)


git-svn-id: svn://svn.freebsd.org/base/stable/9@244340 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Note that the manual page of less(1) says:

  Note  that  a preprocessor cannot output an empty file, since that
  is interpreted as meaning there is no replacement, and the  origi-
  nal file is used.  To avoid this, if LESSOPEN starts with two ver-
  tical bars, the exit status of the script becomes meaningful.   If
  the  exit  status is zero, the output is considered to be replace-
  ment text, even if it empty.  If the exit status is  nonzero,  any
  output  is ignored and the original file is used.  For compatibil-
  ity with previous versions of less, if LESSOPEN starts  with  only
  one vertical bar, the exit status of the preprocessor is ignored.

Use two pipe symbols for zless, so that zless'ing a compressed empty
file will give output rather than being interpreted as its compressed
form, which is typically a binary.

Thanks Mark Nudelman for pointing out this difference and the
suggested solution.

Reported by:  Matthias Meyser <meyser xenet.de>
PR:           bin/168839


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

Use SA_ZPL_CRTIME instead of SA_ZPL_CTIME for creation time.

Submitted by:	phil.stone at gmx.com


git-svn-id: svn://svn.freebsd.org/base/stable/9@244344 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r239150: nftw(): Do not check the maxfds argument against OPEN_MAX.

Apart from the fact that nothing should have OPEN_MAX as a limit (as opposed
to RLIMIT_NOFILE from getrlimit() or _SC_OPEN_MAX from sysconf()), POSIX
does not require us to check this.

PR:		95239
Submitted by:	Todd Miller


git-svn-id: svn://svn.freebsd.org/base/stable/9@244356 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r241864:
	Remove MLINK for if_idt.

Approved by:	cperciva (implicit)


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