freebsd-nq/sys/powerpc/aim
Ryan Stone f2c2231e0c Fix integer truncation bug in malloc(9)
A couple of internal functions used by malloc(9) and uma truncated
a size_t down to an int.  This could cause any number of issues
(e.g. indefinite sleeps, memory corruption) if any kernel
subsystem tried to allocate 2GB or more through malloc.  zfs would
attempt such an allocation when run on a system with 2TB or more
of RAM.

Note to self: When this is MFCed, sparc64 needs the same fix.

Differential revision:	https://reviews.freebsd.org/D2106
Reviewed by:	kib
Reported by:	Michael Fuckner <michael@fuckner.net>
Tested by:	Michael Fuckner <michael@fuckner.net>
MFC after:	2 weeks
2015-04-01 12:42:26 +00:00
..
interrupt.c Fix the Wii build, and remove an extraneous critical_enter(). 2013-10-16 04:11:42 +00:00
locore32.S Make 32-bit PowerPC kernels, like 64-bit PowerPC kernels, position-independent 2015-03-07 20:14:46 +00:00
locore64.S Make sure to relocate tmpstk with everything else and avoid processing 2015-01-21 19:09:15 +00:00
locore.S
machdep.c Make 32-bit PowerPC kernels, like 64-bit PowerPC kernels, position-independent 2015-03-07 20:14:46 +00:00
mmu_oea64.c Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
mmu_oea64.h New pmap implementation for 64-bit PowerPC processors. The main focus of 2015-02-24 21:37:20 +00:00
mmu_oea.c Move Book-E/AIM dependent bits for setting user PMAP during thread switch 2015-03-04 16:45:31 +00:00
moea64_if.m New pmap implementation for 64-bit PowerPC processors. The main focus of 2015-02-24 21:37:20 +00:00
moea64_native.c Fix unitialized variable. 2015-02-27 20:32:09 +00:00
mp_cpudep.c On 64-bit PowerPC, use more native forms of the PPC 970 HID restore 2015-01-21 02:57:54 +00:00
slb.c Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00
trap_subr32.S Make 32-bit PowerPC kernels, like 64-bit PowerPC kernels, position-independent 2015-03-07 20:14:46 +00:00
trap_subr64.S Make assembly slightly more idiomatic (and able to be handled by clang's 2015-03-07 20:27:00 +00:00
trap.c The AIM DAR (data access fault address register) and Book-E DEAR registers 2015-03-04 21:06:57 +00:00
uma_machdep.c Fix integer truncation bug in malloc(9) 2015-04-01 12:42:26 +00:00