On Mon, 2008-07-07 at 22:46 -0500, Jaime Ochoa Malagon wrote: > I have a couple of files encrypted and whe I need to decrypt the programs > file misserably... > FATAL: Cannot obtain memory lock: Cannot allocate memory. > That seems strange any ideas?
Hi, This is from seccure, and not gcrypt. I can trivially reproduce it, apologies for not trying that straight away. if (mlockall(MCL_CURRENT | MCL_FUTURE) < 0) fatal_errno("Cannot obtain memory lock", errno); According to the man page ENOMEM from mlockall means that the process attempted to lock more than the number of pages that are allowed to be locked by one process. I'm not sure if the limit of this has reduced at some point. Thanks, James -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]