Disabling paging/swapping without being root?

Joseph Bruni jbruni@mac.com
Fri Jul 25 05:16:02 2003


On OS X, gnupg can use the mlock() function without needing to be root. 
There is a hard limit to the number of pages that a non-root process 
can lock. This might also be true in FreeBSD...

On Thursday, July 24, 2003, at 01:57 PM, kynn@panix.com wrote:

> Does Gnupg disable paging/swapping, and if so, can it do it when it is
> run by a regular (non-root) user?  If the answer to the second
> question is yes, how does Gnupg do it without using mlockall?