patch-2.4.19 linux-2.4.19/include/asm-m68k/resource.h
Next file: linux-2.4.19/include/asm-m68k/rtc.h
Previous file: linux-2.4.19/include/asm-m68k/q40ints.h
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-m68k/resource.h
- Orig date:
Fri Sep 22 14:21:20 2000
diff -urN linux-2.4.18/include/asm-m68k/resource.h linux-2.4.19/include/asm-m68k/resource.h
@@ -13,7 +13,7 @@
#define RLIMIT_RSS 5 /* max resident set size */
#define RLIMIT_NPROC 6 /* max number of processes */
#define RLIMIT_NOFILE 7 /* max number of open files */
-#define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space*/
+#define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space */
#define RLIMIT_AS 9 /* address space limit */
#define RLIMIT_LOCKS 10 /* maximum file locks held */
@@ -27,19 +27,19 @@
#ifdef __KERNEL__
-#define INIT_RLIMITS \
-{ \
- {LONG_MAX, LONG_MAX}, \
- {LONG_MAX, LONG_MAX}, \
- {LONG_MAX, LONG_MAX}, \
- {_STK_LIM, LONG_MAX}, \
- { 0, LONG_MAX}, \
- {LONG_MAX, LONG_MAX}, \
- {0, 0}, \
- {INR_OPEN, INR_OPEN}, \
- {LONG_MAX, LONG_MAX}, \
- {LONG_MAX, LONG_MAX}, \
- {LONG_MAX, LONG_MAX} \
+#define INIT_RLIMITS \
+{ \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { _STK_LIM, RLIM_INFINITY }, \
+ { 0, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { 0, 0 }, \
+ { INR_OPEN, INR_OPEN }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
}
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)