a47632d4 jhb Aug. 22, 2016, 9:23 p.m.
Move msix_disable_migration under #ifdef SMP since it doesn't make sense
for !SMP kernels.

PR:		212014
Reported by:	Glyn Grinstead <glyn@grinstead.org>
MFC after:	3 days
cgit ViewVC
43e4bca7 jkim Aug. 22, 2016, 8:59 p.m.
MFC after:	1 week
cgit ViewVC
6eb79b47 roberto Aug. 22, 2016, 8:48 p.m.
Submitted by:	vangyzen
MFC after:	2 weeks
cgit ViewVC
f81d0b43 hselasky Aug. 22, 2016, 7:32 p.m.
its own job because this breaks the simplified QEMU XHCI TRB parser,
which expects the complete USB control transfer as a series of back to
back TRBs. The old behaviour is kept under #ifdef in case this change
breaks enumeration of any USB devices.

PR:		212021
MFC after:	1 week
cgit ViewVC
6533da45 roberto Aug. 22, 2016, 7:27 p.m.
Reported by:	mwlucas
MFH:		2 weeks
cgit ViewVC
724c3e47 andrew Aug. 22, 2016, 7:05 p.m.
a uintmax_t.

Obtained from:	ABT Systems Ltd
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
4620ba2e emaste Aug. 22, 2016, 6:50 p.m.
Upstream commit r21331 (7758a5d0) added semiprivate function
_hx509_request_to_pkcs10 twice. This change has been committed upstream
as 8ef0071d.
cgit ViewVC
ad1913f4 manu Aug. 22, 2016, 6:33 p.m.
Pointy Hat: myself

Reported by:	bz
cgit ViewVC
1d479540 andrew Aug. 22, 2016, 6:19 p.m.
register points to an address in the userland range.

Obtained from:	ABT Systems Ltd
MFC after:	1 week
Sponsored by:	the FreeBSD Foundation
cgit ViewVC
702d2626 jhb Aug. 22, 2016, 6:17 p.m.
8e7fcbc3 andrew Aug. 22, 2016, 6:12 p.m.
the size.

Obtained from:	ABT Systems Ltd
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
051ea717 emaste Aug. 22, 2016, 5:53 p.m.
8a9745b5 emaste Aug. 22, 2016, 5:45 p.m.
Several atf components require C++, and the test suite is not usable
if building WITHOUT_CXX.

Reviewed by:	bdrewery, jmmv
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7597
cgit ViewVC
8b0a83cc ed Aug. 22, 2016, 5:37 p.m.
Copy over amd64's cloudabi64_sysvec.c into i386 and tailor it to work.
Again, we use a system call convention similar to FreeBSD, except that
there is no support for indirect system calls (%eax == 0).

Where i386 differs from amd64 is that we have to store thread/process
entry arguments on the stack instead of using registers. We also have to
put an extra pointer on the stack for TLS (for GSBASE). Place that
pointer in the empty slot that is normally used to hold return
addresses. That seems to keep the code simple.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D7590
cgit ViewVC
23827a4c behlendorf1 Aug. 22, 2016, 5:23 p.m.
If the loop index i comes to (ZFS_GET_NCOLS - 1), the cbp->cb_columns[i + 1]
actually read the data of cbp->cb_colwidths[0], which means the array
subscript is above array bounds.

Luckily the cbp->cb_colwidths[0] is always 0 and it seems we haven't
looped enough times to exceed the array bounds so far, but it's really
a secluded risk someday.

Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5003