Assume RLIMIT_DATA is defined
It is required by POSIX.1-2001. Cc: Christian Göttsche <cgzones@googlemail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
committed by
Serge Hallyn
parent
891d8dbedd
commit
91adf3b8bb
@@ -35,9 +35,7 @@ void pwd_init (void)
|
||||
setrlimit (RLIMIT_AS, &rlim);
|
||||
|
||||
setrlimit (RLIMIT_CPU, &rlim);
|
||||
#ifdef RLIMIT_DATA
|
||||
setrlimit (RLIMIT_DATA, &rlim);
|
||||
#endif
|
||||
#ifdef RLIMIT_FSIZE
|
||||
setrlimit (RLIMIT_FSIZE, &rlim);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user