[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070321181730.GV22797@outflux.net>
Date: Wed, 21 Mar 2007 11:17:30 -0700
From: Kees Cook <kees@...flux.net>
To: Hugh Dickins <hugh@...itas.com>
Cc: Andrew Morton <akpm@...l.org>, Linus Torvalds <torvalds@...l.org>,
Marcus Meissner <meissner@...e.de>, Andi Kleen <ak@...e.de>,
Ingo Molnar <mingo@...e.hu>,
Dave Jones <davej@...emonkey.org.uk>,
Arjan van de Ven <arjan@...ux.intel.com>,
linux-kernel@...r.kernel.org
Subject: Re: revert PIE randomization?
Hi Hugh,
Hugh Dickins said:
> Inconsistency detected by ld.so: rtld.c: 1217: dl_main:
> Assertion `_rtld_local._dl_rtld_map.l_libname' failed!
I'm trying to reproduce the problem you saw (so that I can then test
your proposed fix). However, I haven't had any luck. I've got a
pie-compiled version of bash, and I've been running it in a loop for a
while now with the original randomization patch. (I can clearly see the
base address bouncing around.)
I'm at just over 10 million exec's, and I haven't hit the problem. :(
Do you have any clues on how to trigger this more reliably?
Also, does anyone have any thoughts on why x86 uses a ELF_ET_DYN_BASE
below the libraries, where as x86_64 uses one above them? From this,
I'd expect x86_64 to collide with the libraries at times. I need more
help understanding the memory layouts, I guess. :)
Thanks,
--
Kees Cook @outflux.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists