summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-m68k/resource.h')
-rw-r--r--include/asm-m68k/resource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-m68k/resource.h b/include/asm-m68k/resource.h
index f2a6f0f41..29cc6e973 100644
--- a/include/asm-m68k/resource.h
+++ b/include/asm-m68k/resource.h
@@ -15,8 +15,9 @@
#define RLIMIT_NOFILE 7 /* max number of open files */
#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.
@@ -37,6 +38,7 @@
{0, 0}, \
{INR_OPEN, INR_OPEN}, \
{LONG_MAX, LONG_MAX}, \
+ {LONG_MAX, LONG_MAX}, \
{LONG_MAX, LONG_MAX} \
}