git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
linux
/
resource.h
diff --git
a/include/linux/resource.h
b/include/linux/resource.h
index
9449478
..
21a86cb
100644
(file)
--- a/
include/linux/resource.h
+++ b/
include/linux/resource.h
@@
-55,6
+55,12
@@
struct rlimit {
*/
#define _STK_LIM (8*1024*1024)
*/
#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..
/*
* Due to binary compatibility, the actual resource numbers
* may be different for different linux versions..