How to return GC-d memory back to OS
Sean Kelly
sean at f4.ca
Fri Aug 4 09:18:43 PDT 2006
Karen Lanrap wrote:
> Oskar Linde wrote:
>> But apart from needing much swap space, there are no draw backs
>> of using much virtual memory. The memory you don't use (but
>> exists in your virtual address range) will not map to physical
>> memory and will not affect your computers performance.
>
> That is not true in general:
> | "For the attack to succeed, one needs to find a reliable way to
> | force interesting kernel code to be paged out, then find that
> | code inside a page file and modify it. And finally, the kernel
> | needs to load that code (now modified) again into physical
> | memory and execute it,"
Wouldn't this also require the attacker to have root access to modify
the page file? Or are these always written with the same permissions as
the program is executing in?
Sean
More information about the Digitalmars-d-learn
mailing list