[lkml]   [1998]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Unswappable memory needed is user space
And lo, saith unto me:
> My problem is that if the crypting process is swapped out during
> crypting, one could be able to recover parts of uncrypted file
> in swap partition.
> Is there a way to malloc a non swappable part of memory ?
Use mlock or mlockall. They have man pages.


"Well, look at that. The sun's | Linux: |"Zooty,
coming up." -- John Sheridan, | KDE: | zoot
"Sleeping in Light", Babylon 5 | Keith: | zoot!" | | --Rebo

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [W:0.076 / U:0.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site