|
From: Dirk M. <dm...@gm...> - 2004-03-02 01:20:10
|
On Tuesday 02 March 2004 01:52, Jeremy Fitzhardinge wrote: > Yes. At the very least, stage1 needs to reserve the chunks of the > address space needed for the client, before running the dynamic linker. > Since the dynamic linker is unmodified glibc code, we can't control > where it will place things, so we need to force its hand. Hmm, and why do we have to force it to place things in a certain way? > The other large mappings (like the shadow memory region) aren't really > necessary, but they make inspecting things with /proc/<pid>/maps much > easier. inspecting which kind of things ? > What's the purpose of your virtual limits. Is it to stop runaways, or > actual malicious resource use? Well, both. it also helps debugging since you get a segfault instead of a machine that swapped to death before you were able to attach a debugger. Dirk |