patch-2.4.0-test9 linux/include/asm-m68k/resource.h

Next file: linux/include/asm-mips/fcntl.h
Previous file: linux/include/asm-m68k/fcntl.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/include/asm-m68k/resource.h linux/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.
@@ -36,6 +37,7 @@
   {LONG_MAX, LONG_MAX}, \
   {0, 0},		\
   {INR_OPEN, INR_OPEN}, \
+  {LONG_MAX, LONG_MAX}, \
   {LONG_MAX, LONG_MAX}, \
   {LONG_MAX, LONG_MAX}  \
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)