f2c2231e0c
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 |
||
---|---|---|
.. | ||
ata_machdep.c | ||
autoconf.c | ||
bus_machdep.c | ||
cache.c | ||
cam_machdep.c | ||
cheetah.c | ||
clock.c | ||
counter.c | ||
db_disasm.c | ||
db_hwwatch.c | ||
db_interface.c | ||
db_trace.c | ||
dump_machdep.c | ||
eeprom.c | ||
elf_machdep.c | ||
exception.S | ||
gdb_machdep.c | ||
genassym.c | ||
identcpu.c | ||
in_cksum.c | ||
interrupt.S | ||
intr_machdep.c | ||
iommu.c | ||
jbusppm.c | ||
locore.S | ||
machdep.c | ||
mem.c | ||
mp_exception.S | ||
mp_locore.S | ||
mp_machdep.c | ||
nexus.c | ||
ofw_machdep.c | ||
pmap.c | ||
prof_machdep.c | ||
rtc.c | ||
rwindow.c | ||
sc_machdep.c | ||
schppm.c | ||
spitfire.c | ||
ssm.c | ||
stack_machdep.c | ||
support.S | ||
swtch.S | ||
sys_machdep.c | ||
tick.c | ||
tlb.c | ||
trap.c | ||
tsb.c | ||
uio_machdep.c | ||
upa.c | ||
vm_machdep.c | ||
zeus.c |