patch-2.3.32 linux/include/asm-sparc/resource.h
Next file: linux/include/asm-sparc64/resource.h
Previous file: linux/include/asm-sh/resource.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Thu Dec 9 13:29:06 1999
- Orig file:
v2.3.31/linux/include/asm-sparc/resource.h
- Orig date:
Tue Aug 31 17:29:14 1999
diff -u --recursive --new-file v2.3.31/linux/include/asm-sparc/resource.h linux/include/asm-sparc/resource.h
@@ -24,6 +24,12 @@
#define RLIM_NLIMITS 10
+/*
+ * SuS says limits have to be unsigned.
+ * Which makes a ton more sense anyway.
+ */
+#define RLIM_INFINITY (~0UL)
+
#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)