Re: Non-executable stack patch

Aaron M. Ucko (amu@MIT.EDU)
09 Jun 1997 15:12:04 -0400


Ingo Molnar <mingo@pc7537.hil.siemens.at> writes:

> What about mapping libc always onto addresses that have a 0xab******
> pattern, and then forbidding character '0xab' in argv[] and envp[] strings
> [done by the kernel].

That's an incredibly bad idea, in part because 0xab is a legitimate
character in many sets, including ISO 8859-1 (in which it's a left
guillemot).

-- 
Aaron M. Ucko (amu@mit.edu) | For Geek Code, PGP public key, and other info,
finger amu@monk.mit.edu. | "Kids! Bringing about Armageddon can be dangerous.
Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_