Re: Non-executable stack patch

Ingo Molnar (mingo@pc7537.hil.siemens.at)
Tue, 10 Jun 1997 07:31:29 +0200 (MET DST)


On 9 Jun 1997, Aaron M. Ucko wrote:

> 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).

just think one step forward, most (one-byte ...) character sets have
'illegal' characters, get the point? Anyways, Solar Designer's zero
character idea is really elegant and much simpler ;)

-- mingo