MFC	r239359:

Remove unused member of struct indir (in_exists) from UFS and EXT2 code.

Discussed with:		mjg


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247053 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC	r246347, r246348, r246349, r246350, r246351, r246352:

ext2fs: Miscellaneous cleanups and fixes.

Use EXT2_LINK_MAX instead of LINK_MAX.
Use nitems().
Correct off-by-one errors in FFTODT() and DDTOFT().
Remove useless rootino local variable.
Remove unused em_e2fsb definition.
Move assignment where it is not dead.

Submitted by:		Christoph Mallon


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247055 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246507: sh: Fix a comment.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247057 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246371: sh: Do not test for digit_contig in mksyntax.

ISO/IEC 9899:1999 (E) 5.2.1p3 guarantees that the values of the characters
0123456789 are contiguous.

The generated syntax.c and syntax.h remain the same.

Submitted by:	Christoph Mallon


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247058 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246472:
Stop translating the ERESTART error from the open(2) into EINTR.
Posix requires that open(2) is restartable for SA_RESTART.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247076 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246484:
Allow ptrace(2) operation on the child created by vfork(2), if the
debugger is not the parent.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247077 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246801:
Assert that user address is never qremoved.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247078 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246802:
Print slightly more useful information on the 'bad pte' panic.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247079 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246476:
Document the ERESTART translation to EINTR for devfs nodes.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247080 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246485:
Document the detail of interaction between vfork and PT_TRACEME.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247081 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246486:
Document P_PPTRACE.


git-svn-id: svn+ssh://svn.freebsd.org/base/stable/9@247082 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
MFC r246616 and r246759:

- Move scratch data from the USB bus structure to the USB device
structure so that simultaneous access cannot happen. Protect scratch
area using the enumeration lock.
- Reduce stack usage in usbd_transfer_setup() by moving some big stack
members to the scratch area. This saves around 200 bytes of stack.
- Fix a whitespace.
- Protect control requests using the USB device enumeration lock.
- Make sure all callers of usbd_enum_lock() check the return value.
- Remove the control transfer specific lock.
- Bump the FreeBSD version number, hence external USB modules may need
to be recompiled due to a USB device structure change.


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