patch-2.3.32 linux/include/asm-alpha/resource.h

Next file: linux/include/asm-arm/arch-arc/io.h
Previous file: linux/include/asm-alpha/posix_types.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.31/linux/include/asm-alpha/resource.h linux/include/asm-alpha/resource.h
@@ -18,6 +18,13 @@
 
 #define RLIM_NLIMITS	10
 
+/*
+ * SuS says limits have to be unsigned.  Fine, it's unsigned, but
+ * we retain the old value for compatibility, especially with DU. 
+ * When you run into the 2^63 barrier, you call me.
+ */
+#define RLIM_INFINITY	0x7ffffffffffffffful
+
 #ifdef __KERNEL__
 
 #define INIT_RLIMITS							\

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)