Commit 0e209536 authored by Roman Zippel's avatar Roman Zippel Committed by Linus Torvalds

[PATCH] m68k: rlimits update [16/20]

Update INIT_RLIMITS.
parent 4ee4400d
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#define RLIMIT_RSS 5 /* max resident set size */ #define RLIMIT_RSS 5 /* max resident set size */
#define RLIMIT_NPROC 6 /* max number of processes */ #define RLIMIT_NPROC 6 /* max number of processes */
#define RLIMIT_NOFILE 7 /* max number of open files */ #define RLIMIT_NOFILE 7 /* max number of open files */
#define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space*/ #define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space */
#define RLIMIT_AS 9 /* address space limit */ #define RLIMIT_AS 9 /* address space limit */
#define RLIMIT_LOCKS 10 /* maximum file locks held */ #define RLIMIT_LOCKS 10 /* maximum file locks held */
...@@ -27,19 +27,19 @@ ...@@ -27,19 +27,19 @@
#ifdef __KERNEL__ #ifdef __KERNEL__
#define INIT_RLIMITS \ #define INIT_RLIMITS \
{ \ { \
{LONG_MAX, LONG_MAX}, \ { RLIM_INFINITY, RLIM_INFINITY }, \
{LONG_MAX, LONG_MAX}, \ { RLIM_INFINITY, RLIM_INFINITY }, \
{LONG_MAX, LONG_MAX}, \ { RLIM_INFINITY, RLIM_INFINITY }, \
{_STK_LIM, LONG_MAX}, \ { _STK_LIM, RLIM_INFINITY }, \
{ 0, LONG_MAX}, \ { 0, RLIM_INFINITY }, \
{LONG_MAX, LONG_MAX}, \ { RLIM_INFINITY, RLIM_INFINITY }, \
{0, 0}, \ { 0, 0 }, \
{INR_OPEN, INR_OPEN}, \ { INR_OPEN, INR_OPEN }, \
{LONG_MAX, LONG_MAX}, \ { RLIM_INFINITY, RLIM_INFINITY }, \
{LONG_MAX, LONG_MAX}, \ { RLIM_INFINITY, RLIM_INFINITY }, \
{LONG_MAX, LONG_MAX} \ { RLIM_INFINITY, RLIM_INFINITY }, \
} }
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment