SharedUnixLibrary and the System Heap

Matt Edgar matt at stdevel.co.uk
Mon Mar 27 16:11:59 PST 2006


Alex Waugh wrote:

> I'm glad to see such improvements are being considered.
>
>>Unfortunately SUL does this, so protecting the heap would break a lot of 
>>things.
> 
> 
> Do you mean memory allocated by OS_Module 6, executing module code
> from user mode, the module private word, or something else? Those are
> the only things I can think of that may be accessed from user mode in
> the SUL.

I have not spent much time tracking this down, but probably all of the 
above are issues.

The example I gave of |delink| seems to cover at least executing module 
code and writing to the module private word in user mode (the later as a 
consequence of the former).

Matt




More information about the gcc mailing list