Disabling paging/swapping without being root?

kynn@panix.com kynn@panix.com
Thu Jul 24 22:56:01 2003



On Linux, at least, one can disable paging/swapping (to keep
privileged data off the disk) by calling mlockall(2), but only within
a root process.

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?

Thanks,

KJ