SharedUnixLibrary and the System Heap

Alex Waugh alex at
Mon Mar 27 13:50:02 PST 2006

Matt Edgar <matt at> wrote:

> We are looking at some tightening up of the memory protection in RISC OS 
>   and one of the possibilities is to protect the system heap against 
> user  mode accesses.

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.


Alex Waugh                                           alex at

PHP, Roots, Subversion, WebJames and more from

More information about the gcc mailing list