lkml.org 
[lkml]   [1997]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Non-executable stack patch
From
Date
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_
\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans