On 5/17/07, Alessandro Vesely <[EMAIL PROTECTED]> wrote:
> Not quite. That may happen as an undocumented side effect on some
> (or all) OS versions, and is not what the function is meant to do.
> The function keeps the page in memory. The OS is still free to back
> it up whenever it thinks it is convenient to do so.

The documentation clearly states:
"These pages are guaranteed not to be written to the pagefile while
they are locked."

Assuming the documentation is accurate, VirtualLock() should be safe
for security applications.
-- 
   RPM

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to