[Haskell-cafe] Re: A suggestion for the next high profile Haskell project

Tomasz Zielonka tomasz.zielonka at gmail.com
Mon Dec 18 18:13:20 EST 2006


On Mon, Dec 18, 2006 at 11:57:59PM +0100, ls-haskell-developer-2006 at m-e-leypold.de wrote:
> ... but I wonder: GPG, AFAIK undertakes some special measures to
> ensure that neither clear text nor private keys are paged out to the
> disk (since it might be recovered from there by "the enemy"). How
> would you lock data in memory in Haskell? Would that be possible? 
> 
> It seems to me that all participants in this thread have missed this
> point so far.

You could just mlock() everything allocated by the RTS...

Best regards
Tomasz


More information about the Haskell-Cafe mailing list