Re: Non-executable stack
Re: Non-executable stack
- Subject: Re: Non-executable stack
- From: Ragnar Sundblad <email@hidden>
- Date: Tue, 01 Apr 2003 03:11:14 +0200
--On den 31 mars 2003 19:52 -0500 Jim Magee <email@hidden> wrote:
Implement what?
We already mark all stacks as read-write-noexecute. But, as I just said,
"the hardware can't honor it." Do you want us to change the PowerPC
architecture?
Yes, wherever it has shortcomings, I would like you to! :-)
Or do you think it is worth taking 256MB of virtual address space from
each task and making it no-execute, and then forcing all stacks to be in
there (requiring many/most programs to be re-built to adapt to it)?
I haven't read up on the ppc mmu, but if I understand you
correctly:
Yes, I do believe I would prefer the loss of 256MB virtual address
space before having the entire memory space executable.
What is the limit today, 2.5G or something? How many apps
fits well in 2.5G but absolutely not in 2.25G? Sure, more
space to apps is good, but if you are that close you will
probably have to take other measures to handle it anyway.
/ragge
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.