patch-2.4.0-test9 linux/include/asm-alpha/resource.h
Next file: linux/include/asm-alpha/semaphore-helper.h
Previous file: linux/include/asm-alpha/fcntl.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Wed Sep 27 13:39:23 2000
- Orig file:
v2.4.0-test8/linux/include/asm-alpha/resource.h
- Orig date:
Thu Feb 17 09:35:07 2000
diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-alpha/resource.h linux/include/asm-alpha/resource.h
@@ -15,8 +15,9 @@
#define RLIMIT_AS 7 /* address space limit(?) */
#define RLIMIT_NPROC 8 /* max number of processes */
#define RLIMIT_MEMLOCK 9 /* max locked-in-memory address space */
+#define RLIMIT_LOCKS 10 /* maximum file locks held */
-#define RLIM_NLIMITS 10
+#define RLIM_NLIMITS 11
/*
* SuS says limits have to be unsigned. Fine, it's unsigned, but
@@ -39,6 +40,7 @@
{LONG_MAX, LONG_MAX}, /* RLIMIT_AS */ \
{LONG_MAX, LONG_MAX}, /* RLIMIT_NPROC */ \
{LONG_MAX, LONG_MAX}, /* RLIMIT_MEMLOCK */ \
+ {LONG_MAX, LONG_MAX}, /* RLIMIT_LOCKS */ \
}
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)