*/
#define _STK_LIM (8*1024*1024)
+/*
+ * GPG wants 32kB of mlocked memory, to make sure pass phrases
+ * and other sensitive information are never written to disk.
+ */
+#define MLOCK_LIMIT (8 * PAGE_SIZE)
+
/*
* Due to binary compatibility, the actual resource numbers
* may be different for different linux versions..