Add myself as a developer
Add bapt@ and kwm@ as mentors

Approved by:	kwm@ (co-mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261209 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
fix args to mtx_init

Note that this commit hasn't been compile tested because these files
are not hooked up to the build...

PR:		186129
Submitted by:	Takanori Sawada
Approved by:	rpaulo


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261211 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge bmake-20140101 from vendor


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261212 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for 'clac' and 'stac' to DDB's disassembler on amd64.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261213 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove extra parens to silence clang warning.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261214 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Merge from vendor branch importing dtc git rev 6a15eb2350426d285130e4c9d84c0bdb6575547a


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261215 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Explicitly enable I/O and memory decoding in the bridge's command register
when activating an I/O or memory window on the CardBus bridge.

Tested by:	Olivier Cochard-Labbe <olivier@cochard.me>
Reviewed by:	imp
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261216 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove support for legacy PCI devices.  These haven't been needed since
support for LPC uart devices was added and it conflicts with upcoming
patches to add PCI INTx support.

Reviewed by:	neel


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261217 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Allow sigwait(2) in capabilities mode.

It's common for multi-threaded processes to create a thread for
the purpose of synchronously processing signals. Allow such processes to
utilize a capabilities sandbox.

Discussed with:	rwatson, pjd
MFC after:	2 weeks


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261220 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Comply to the official LibUSB v1.0 API:
"It is legal to attempt to claim an already-claimed interface."

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261224 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revert r260622:
To be implemented a bit differently.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261226 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with
memory at the end of the kernel.

This helps reduce the SoC and board specific configuration required.

Reviewed by:	bsdimp
Tested by:	jmg (armeb), br


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261227 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
When detaching a [USB] keyboard, keys might still be pressed. Ensure
that all pressed keys are released before completing the USB keyboard
detach. This will prevent so-called "ghost-keys" from appearing after
that the USB device generating the key event(s) has been detached.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261228 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
o Fix typo, sort .Xrs.

PR:		docs/186191
Submitted by:	Andrew (typo fix)
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261229 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Solve http buffering issues and hangs once and for all (hopefully!) by
simply not trying to return exactly what the caller asked for - just
return whatever we got and let the caller be the judge of whether it
was enough.  If an error occurs or the connection times out after we
already received some data, return a short read, under the assumption
that the next call will fail or time out before we read anything.

As it turns out, none of the code that calls fetch_read() assumes an
all-or-nothing result anyway, except for a couple of lines where we
read the CR LF at the end of a hunk in HTTP hunked encoding, so the
changes outside of fetch_read() and http_readfn() are minimal.

While there, replace select(2) with poll(2).

MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261230 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add missing 'n' after '\'

Reported by:	gavin
Approved by:	hrs (mentor)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261232 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
whitespace and bump copyright


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261233 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Increase the default (and minimum) buffer size from 4 kB to 16 kB.  Also,
propagate the buffer size to libc, which uses a 1 kB buffer by default,
negating any hypothetical benefit of increasing fetch(1)'s buffer size.

MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261234 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
ext2fs: Use i_flag instead of i_flags for Ext4 inode flags.

The ext4 inode flags do not have equivalents for chflags (1)
and hold information that is private to the implementation.
The i_flag field in the inode is a better place to hold the Ext4
inode flags as it saves us from masking flags while setting or
getting attributes.  It should also make things cleaner if we
implement write support for Ext4.

Suggested by:	bde
Tested by:	Mike Ma
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@261235 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
fix spelling of lock_initialized..  jhb approved..

MFC after:	1 week


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