Re: [PATCH] [RESEND] PIE executable randomization

From: Kees Cook
Date: Wed Aug 15 2007 - 13:30:20 EST


Hi,

On Wed, Aug 15, 2007 at 01:21:37AM +0200, Jiri Kosina wrote:
> The following patch fixes the brk-allocation problems on x86_64 with code
> randomization patch on PIE-compiled binaries. Is anyone aware of any
> potential disaster it might cause somewhere please?

(Adding myself to this thread...)

I've tested this on x86_64 now (the prior patch failed on brk, as
mentioned). This version passes my regression tests. I'd like to
double-check this on i386 with unlimited stack (the situation that ran
into problems back with 2.6.20's version of text ASLR).

For anyone interested, I have a few ASLR and VM checking tools here:
http://outflux.net/aslr/

Thanks,

-Kees

--
Kees Cook @outflux.net
-
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/