patch-2.4.0-test9 linux/include/asm-sparc/resource.h
Next file: linux/include/asm-sparc/system.h
Previous file: linux/include/asm-sparc/io.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Fri Sep 22 14:21:21 2000
- Orig file:
v2.4.0-test8/linux/include/asm-sparc/resource.h
- Orig date:
Thu Feb 17 09:35:07 2000
diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-sparc/resource.h linux/include/asm-sparc/resource.h
@@ -21,8 +21,9 @@
#define RLIMIT_NPROC 7 /* max number of processes */
#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 */
-#define RLIM_NLIMITS 10
+#define RLIM_NLIMITS 11
/*
* SuS says limits have to be unsigned.
@@ -41,6 +42,7 @@
{ 0, RLIM_INFINITY}, \
{RLIM_INFINITY, RLIM_INFINITY}, \
{INR_OPEN, INR_OPEN}, {0, 0}, \
+ {RLIM_INFINITY, RLIM_INFINITY}, \
{RLIM_INFINITY, RLIM_INFINITY}, \
{RLIM_INFINITY, RLIM_INFINITY} \
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)