diff options
Diffstat (limited to 'include/asm-sh/resource.h')
-rw-r--r-- | include/asm-sh/resource.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-sh/resource.h b/include/asm-sh/resource.h index 084ad61ec..574b64488 100644 --- a/include/asm-sh/resource.h +++ b/include/asm-sh/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 #ifdef __KERNEL__ @@ -38,6 +39,7 @@ { INR_OPEN, INR_OPEN }, \ { RLIM_INFINITY, RLIM_INFINITY }, \ { RLIM_INFINITY, RLIM_INFINITY }, \ + { RLIM_INFINITY, RLIM_INFINITY }, \ } #endif /* __KERNEL__ */ |