anonymous mmap() and random heap allocation

From: Xianghua Xiao
Date: Thu Jul 15 2010 - 17:48:54 EST


It seems mmap() can not do random allocation for malloc()/heap on
Linux, anyone used pax's 'mmap randonness' option for that? what's the
price for that?

I want to port openbsd's malloc() to linux to avoid heap
crashes(overrun/underrun), openbsd's malloc() can do random allocation
for security reasons, meanwhile it helps to avoid some
overrun/underrun crashes with no extra cost, the latter is what I'm
looking for.

thanks,
xianghua
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/