success on the sun

This commit is contained in:
rsc 2005-01-07 08:02:54 +00:00
parent c345061e8d
commit 005a85f3a2
3 changed files with 24 additions and 1 deletions

View file

@ -17,13 +17,29 @@ static int rlx[] = {
RLIMIT_CORE,
RLIMIT_DATA,
RLIMIT_FSIZE,
#ifdef RLIMIT_MEMLOCK
RLIMIT_MEMLOCK,
#else
0,
#endif
#ifdef RLIMIT_RSS
RLIMIT_RSS,
#else
0,
#endif
RLIMIT_NOFILE,
RLIMIT_STACK,
RLIMIT_CPU,
#ifdef RLIMIT_NPROC
RLIMIT_NPROC,
#else
0,
#endif
#ifdef RLIMIT_RSS
RLIMIT_RSS,
#else
0,
#endif
};
static void